Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 81.86 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 172 kB / 24.82 MB, free: 8.77 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.083/1.083, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2902/0.2902, allocations: 29.42 MB / 291.2 MB, free: 2.473 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meterAC.i.[0-9,]+.|meterAC.p.[0-9,]+.|meterAC.v.[0-9,]+.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Elementary.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meterAC.i.[0-9,]+.|meterAC.p.[0-9,]+.|meterAC.v.[0-9,]+.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.376e-06/3.376e-06, allocations: 0 / 370.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.024e-05/4.361e-05, allocations: 5.828 kB / 370.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.007925/0.007969, allocations: 5.85 MB / 376 MB, free: 4.84 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003331/0.0113, allocations: 2.091 MB / 378.1 MB, free: 2.742 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004498/0.01175, allocations: 35.75 kB / 378.1 MB, free: 2.707 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001092/0.01284, allocations: 381.9 kB / 378.5 MB, free: 2.332 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001023/0.01386, allocations: 0.5556 MB / 379 MB, free: 1.773 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007459/0.01461, allocations: 394.9 kB / 379.4 MB, free: 1.387 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009953/0.01561, allocations: 1.325 MB / 380.7 MB, free: 60 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005694/0.01617, allocations: 0.5332 MB / 381.3 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008457/0.01702, allocations: 0.8106 MB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006348/0.01766, allocations: 0.6235 MB / 382.7 MB, free: 14.07 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001145/0.01777, allocations: 92 kB / 382.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006703/0.01844, allocations: 0.5226 MB / 383.3 MB, free: 13.46 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003331/0.01877, allocations: 482.9 kB / 383.8 MB, free: 12.99 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000284/0.01906, allocations: 371.2 kB / 384.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001279/0.02034, allocations: 1.051 MB / 385.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.02034, allocations: 4 kB / 385.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.02034, allocations: 4 kB / 385.2 MB, free: 11.56 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.101e-05/0.02035, allocations: 0 / 385.2 MB, free: 11.56 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.001434/0.02179, allocations: 1.313 MB / 386.5 MB, free: 10.21 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.02183, allocations: 11.98 kB / 386.5 MB, free: 10.2 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005768/0.02241, allocations: 252.1 kB / 386.8 MB, free: 9.953 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005869/0.02299, allocations: 0.5395 MB / 387.3 MB, free: 9.387 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001933/0.02319, allocations: 329.8 kB / 387.6 MB, free: 9.008 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001504/0.02334, allocations: 96.62 kB / 387.7 MB, free: 8.914 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008528/0.02419, allocations: 0.8295 MB / 388.6 MB, free: 7.996 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.675e-05/0.02422, allocations: 4 kB / 388.6 MB, free: 7.992 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.9e-05/0.02428, allocations: 32 kB / 388.6 MB, free: 7.961 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000104/0.02438, allocations: 65.97 kB / 388.7 MB, free: 7.895 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004993/0.02488, allocations: 389.2 kB / 389 MB, free: 7.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003826/0.0287, allocations: 4.469 MB / 393.5 MB, free: 2.895 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005436/0.02925, allocations: 401.6 kB / 393.9 MB, free: 2.48 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000271/0.02952, allocations: 224 kB / 394.1 MB, free: 2.254 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.711e-05/0.02957, allocations: 16.64 kB / 394.1 MB, free: 2.238 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.0296, allocations: 46.05 kB / 394.2 MB, free: 2.184 MB / 362.7 MB Notification: Performance of pre-optimization done (n=72): time 2.144e-06/0.0296, allocations: 0 / 394.2 MB, free: 2.184 MB / 362.7 MB Notification: Performance of matching and sorting (n=73): time 0.001774/0.03137, allocations: 1.165 MB / 395.3 MB, free: 0.9805 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.03142, allocations: 85.77 kB / 395.4 MB, free: 0.8789 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002761/0.03169, allocations: 442.2 kB / 395.9 MB, free: 436 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.092e-05/0.03173, allocations: 37.7 kB / 395.9 MB, free: 392 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002105/0.03194, allocations: 471.1 kB / 396.4 MB, free: 15.91 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001546/0.0321, allocations: 269.7 kB / 396.6 MB, free: 15.65 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001603/0.03226, allocations: 156.2 kB / 396.8 MB, free: 15.49 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.03242, allocations: 0.5662 MB / 397.3 MB, free: 14.91 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/0.03259, allocations: 129.9 kB / 397.5 MB, free: 14.78 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000301/0.03289, allocations: 406.8 kB / 397.9 MB, free: 14.29 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005329/0.03342, allocations: 0.571 MB / 398.4 MB, free: 13.61 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.03343, allocations: 0 / 398.4 MB, free: 13.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001605/0.03503, allocations: 0.9369 MB / 399.4 MB, free: 12.65 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.03505, allocations: 8 kB / 399.4 MB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001006/0.03606, allocations: 0.6759 MB / 400.1 MB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009633/0.03702, allocations: 490.9 kB / 400.5 MB, free: 11.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002891/0.03731, allocations: 139.8 kB / 400.7 MB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00381/0.04112, allocations: 5.072 MB / 405.7 MB, free: 6.047 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003304/0.04145, allocations: 31.98 kB / 405.8 MB, free: 6.016 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.221e-05/0.04149, allocations: 27.98 kB / 405.8 MB, free: 5.988 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 73 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0002808/0.04177, allocations: 196.4 kB / 406 MB, free: 5.785 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001674/0.04194, allocations: 87.56 kB / 406.1 MB, free: 5.699 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001098/0.04304, allocations: 0.5418 MB / 406.6 MB, free: 5.148 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.045e-05/0.04306, allocations: 19.98 kB / 406.6 MB, free: 5.129 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.04306, allocations: 4 kB / 406.6 MB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.04307, allocations: 4 kB / 406.7 MB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001561/0.04463, allocations: 1.189 MB / 407.8 MB, free: 3.883 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.04464, allocations: 3.938 kB / 407.8 MB, free: 3.879 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009924/0.04563, allocations: 367.6 kB / 408.2 MB, free: 3.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.274e-05/0.04573, allocations: 27.67 kB / 408.2 MB, free: 3.488 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.26e-05/0.04577, allocations: 19.98 kB / 408.2 MB, free: 3.469 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008921/0.04666, allocations: 1.985 MB / 410.2 MB, free: 1.367 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.04666, allocations: 0 / 410.2 MB, free: 1.367 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000976/0.04764, allocations: 0.8442 MB / 411.1 MB, free: 496 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.169e-05/0.04771, allocations: 55.67 kB / 411.1 MB, free: 440 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.113e-05/0.04776, allocations: 20 kB / 411.2 MB, free: 420 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001956/0.04796, allocations: 27.97 kB / 411.2 MB, free: 392 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.04806, allocations: 52.56 kB / 411.2 MB, free: 340 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.668e-05/0.04809, allocations: 12 kB / 411.2 MB, free: 328 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001617/0.04825, allocations: 263 kB / 411.5 MB, free: 64 kB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.04825, allocations: 0 / 411.5 MB, free: 64 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007464/0.04899, allocations: 236 kB / 411.7 MB, free: 15.83 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],meterDC.pav) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 64 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002312/0.04922, allocations: 131.1 kB / 411.9 MB, free: 15.69 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001053/0.05028, allocations: 0.9537 MB / 412.8 MB, free: 14.7 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.05028, allocations: 0 / 412.8 MB, free: 14.7 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000836/0.05112, allocations: 0.5932 MB / 413.4 MB, free: 14.09 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008068/0.05192, allocations: 142.7 kB / 413.5 MB, free: 13.95 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002506/0.05443, allocations: 1.786 MB / 415.3 MB, free: 12.11 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001847/0.05461, allocations: 247.3 kB / 415.6 MB, free: 11.85 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002173/0.05483, allocations: 77.22 kB / 415.6 MB, free: 11.77 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003009/0.05513, allocations: 202.1 kB / 415.8 MB, free: 11.57 MB / 394.7 MB Notification: Performance of SimCode: time 1.021e-06/0.05513, allocations: 0 / 415.8 MB, free: 11.57 MB / 394.7 MB Notification: Performance of Templates: time 0.01638/0.07151, allocations: 12.77 MB / 428.6 MB, free: 14.92 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Rectifier.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.03290209826082]