Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest.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.0008067/0.0008067, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.00331/0.00331, allocations: 160.7 kB / 24.7 MB, free: 9.43 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 0.8513/0.8513, allocations: 177.1 MB / 205 MB, free: 5.727 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.2044/0.2044, allocations: 29.42 MB / 290.9 MB, free: 2.43 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.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.Generic.Test.PMeterTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|pMeter.I|pMeter.P|pMeter.phi",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest") translateModel(PowerSystems.Examples.Generic.Test.PMeterTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|pMeter.I|pMeter.P|pMeter.phi",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 431.5 MB, free: 13.11 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.388e-05/2.551e-05, allocations: 2.281 kB / 431.5 MB, free: 13.11 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.003217/0.003242, allocations: 3.404 MB / 434.9 MB, free: 9.68 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001251/0.004493, allocations: 1.449 MB / 436.3 MB, free: 8.223 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.004596, allocations: 15.94 kB / 436.3 MB, free: 8.207 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009626/0.005559, allocations: 246.9 kB / 436.6 MB, free: 7.965 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003317/0.005891, allocations: 286.5 kB / 436.9 MB, free: 7.684 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001604/0.006051, allocations: 135.4 kB / 437 MB, free: 7.551 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002542/0.006305, allocations: 338.9 kB / 437.3 MB, free: 7.219 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002175/0.006523, allocations: 114.1 kB / 437.4 MB, free: 7.109 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002355/0.006758, allocations: 211.3 kB / 437.6 MB, free: 6.902 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001796/0.006938, allocations: 139.6 kB / 437.8 MB, free: 6.766 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/0.006959, allocations: 16 kB / 437.8 MB, free: 6.75 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002422/0.007201, allocations: 287 kB / 438.1 MB, free: 6.469 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.526e-05/0.007287, allocations: 111.7 kB / 438.2 MB, free: 6.359 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.849e-05/0.007355, allocations: 75.83 kB / 438.3 MB, free: 6.285 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003217/0.007677, allocations: 362.9 kB / 438.6 MB, free: 5.93 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.007679, allocations: 0 / 438.6 MB, free: 5.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.00768, allocations: 8 kB / 438.6 MB, free: 5.922 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.007683, allocations: 0 / 438.6 MB, free: 5.922 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0004491/0.008133, allocations: 449 kB / 439.1 MB, free: 5.453 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.008166, allocations: 11.98 kB / 439.1 MB, free: 5.441 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004437/0.00861, allocations: 108.7 kB / 439.2 MB, free: 5.336 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002237/0.008834, allocations: 201.9 kB / 439.4 MB, free: 5.113 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.008847, allocations: 20.36 kB / 439.4 MB, free: 5.094 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/0.008867, allocations: 16.38 kB / 439.4 MB, free: 5.078 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000317/0.009184, allocations: 323.3 kB / 439.7 MB, free: 4.738 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.009195, allocations: 3.938 kB / 439.7 MB, free: 4.734 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.00921, allocations: 8 kB / 439.7 MB, free: 4.727 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.397e-05/0.009234, allocations: 15.98 kB / 439.7 MB, free: 4.711 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002795/0.009513, allocations: 295.8 kB / 440 MB, free: 4.422 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009219/0.01044, allocations: 1.174 MB / 441.2 MB, free: 3.164 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001823/0.01062, allocations: 125.4 kB / 441.3 MB, free: 3.023 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.253e-05/0.01066, allocations: 33.7 kB / 441.4 MB, free: 2.984 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.639e-05/0.01068, allocations: 8 kB / 441.4 MB, free: 2.977 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.736e-05/0.01069, allocations: 30.56 kB / 441.4 MB, free: 2.938 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.0107, allocations: 0 / 441.4 MB, free: 2.938 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002075/0.0109, allocations: 141.8 kB / 441.5 MB, free: 2.793 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.01094, allocations: 93.09 kB / 441.6 MB, free: 2.684 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.01105, allocations: 194.2 kB / 441.8 MB, free: 2.484 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/0.01106, allocations: 25.7 kB / 441.8 MB, free: 2.453 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.158e-05/0.01113, allocations: 175.9 kB / 442 MB, free: 2.277 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.688e-05/0.01115, allocations: 31.7 kB / 442 MB, free: 2.246 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.06e-05/0.01119, allocations: 41.7 kB / 442.1 MB, free: 2.199 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.372e-05/0.01126, allocations: 326.8 kB / 442.4 MB, free: 1.871 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.315e-05/0.0113, allocations: 39.97 kB / 442.4 MB, free: 1.832 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.169e-05/0.01139, allocations: 143.7 kB / 442.6 MB, free: 1.648 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001354/0.01152, allocations: 196.7 kB / 442.8 MB, free: 1.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.01152, allocations: 0 / 442.8 MB, free: 1.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001752/0.0117, allocations: 201.2 kB / 443 MB, free: 1.207 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.01171, allocations: 11.88 kB / 443 MB, free: 1.195 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.01172, allocations: 4.438 kB / 443 MB, free: 1.191 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.01173, allocations: 8 kB / 443 MB, free: 1.184 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.01185, allocations: 47.97 kB / 443 MB, free: 1.137 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.01185, allocations: 7.938 kB / 443.1 MB, free: 1.129 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.285e-05/0.01193, allocations: 19.84 kB / 443.1 MB, free: 1.109 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.01194, allocations: 15.94 kB / 443.1 MB, free: 1.094 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.014e-05/0.01203, allocations: 157.7 kB / 443.2 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.194e-05/0.01205, allocations: 15.91 kB / 443.3 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001528/0.0122, allocations: 131.1 kB / 443.4 MB, free: 0.7734 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.0122, allocations: 0 / 443.4 MB, free: 0.7734 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.01221, allocations: 4 kB / 443.4 MB, free: 0.7695 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.01221, allocations: 0 / 443.4 MB, free: 0.7695 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004045/0.01262, allocations: 0.4975 MB / 443.9 MB, free: 212 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.01262, allocations: 0 / 443.9 MB, free: 212 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.057e-05/0.01266, allocations: 19.98 kB / 443.9 MB, free: 192 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.01266, allocations: 4 kB / 443.9 MB, free: 188 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.01267, allocations: 8.312 kB / 443.9 MB, free: 180 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.01267, allocations: 11.94 kB / 443.9 MB, free: 168 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.01268, allocations: 0 / 443.9 MB, free: 168 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1572/0.1699, allocations: 268.2 kB / 444.2 MB, free: 54.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.018e-05/0.17, allocations: 25.27 kB / 444.2 MB, free: 54.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/0.17, allocations: 7.938 kB / 444.2 MB, free: 54.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.1701, allocations: 6.922 kB / 444.2 MB, free: 54.04 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.565e-05/0.1701, allocations: 22.7 kB / 444.3 MB, free: 54.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-06/0.1701, allocations: 7.125 kB / 444.3 MB, free: 54.04 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.836e-05/0.1702, allocations: 134 kB / 444.4 MB, free: 53.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1702, allocations: 0.5938 kB / 444.4 MB, free: 53.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002589/0.1705, allocations: 54.16 kB / 444.4 MB, free: 53.96 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.398e-05/0.1706, allocations: 102.7 kB / 444.5 MB, free: 53.88 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001762/0.1707, allocations: 124 kB / 444.7 MB, free: 53.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.1707, allocations: 0 / 444.7 MB, free: 53.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.37e-05/0.1708, allocations: 44.7 kB / 444.7 MB, free: 53.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002795/0.1711, allocations: 35.28 kB / 444.7 MB, free: 53.88 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004615/0.1715, allocations: 474.6 kB / 445.2 MB, free: 53.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.3e-05/0.1716, allocations: 141.6 kB / 445.3 MB, free: 53.51 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.402e-05/0.1716, allocations: 21.34 kB / 445.4 MB, free: 53.51 MB / 410.7 MB Notification: Performance of SimCode: time 5.01e-07/0.1716, allocations: 0 / 445.4 MB, free: 53.51 MB / 410.7 MB Notification: Performance of Templates: time 0.002415/0.174, allocations: 2.241 MB / 447.6 MB, free: 53.42 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.PMeterTest.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest.diff",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.694139297120273]