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.001143/0.001143, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001257/0.001257, allocations: 169.9 kB / 24.91 MB, free: 8.723 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.136/1.136, allocations: 177.1 MB / 205.3 MB, free: 5.098 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.2389/0.2389, allocations: 29.42 MB / 291.2 MB, free: 2.352 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.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 2.655e-06/2.655e-06, allocations: 0 / 316.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.173e-05/4.438e-05, allocations: 2.312 kB / 316.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.005484/0.005529, allocations: 3.517 MB / 320.4 MB, free: 12.43 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001955/0.007484, allocations: 1.243 MB / 321.6 MB, free: 11.18 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001544/0.007639, allocations: 15.88 kB / 321.7 MB, free: 11.16 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006408/0.008279, allocations: 195.1 kB / 321.8 MB, free: 10.97 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006181/0.008897, allocations: 278.6 kB / 322.1 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003313/0.009229, allocations: 123.5 kB / 322.2 MB, free: 10.57 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004261/0.009655, allocations: 339.2 kB / 322.6 MB, free: 10.24 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002728/0.009928, allocations: 134.6 kB / 322.7 MB, free: 10.11 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003874/0.01032, allocations: 195.4 kB / 322.9 MB, free: 9.918 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002575/0.01057, allocations: 135.6 kB / 323 MB, free: 9.785 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.964e-05/0.0106, allocations: 16 kB / 323 MB, free: 9.77 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004994/0.0111, allocations: 287.1 kB / 323.3 MB, free: 9.488 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001325/0.01123, allocations: 107.7 kB / 323.4 MB, free: 9.383 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.098e-05/0.01132, allocations: 71.84 kB / 323.5 MB, free: 9.312 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005061/0.01183, allocations: 318.9 kB / 323.8 MB, free: 9 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.01183, allocations: 0 / 323.8 MB, free: 9 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.01184, allocations: 0 / 323.8 MB, free: 9 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.01184, allocations: 0 / 323.8 MB, free: 9 MB / 298.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.0005838/0.01243, allocations: 423.3 kB / 324.2 MB, free: 8.562 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.01246, allocations: 11.98 kB / 324.2 MB, free: 8.551 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009257/0.01339, allocations: 148.6 kB / 324.4 MB, free: 8.406 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003218/0.01371, allocations: 201.9 kB / 324.6 MB, free: 8.184 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.01373, allocations: 16.38 kB / 324.6 MB, free: 8.168 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.804e-05/0.01376, allocations: 16.38 kB / 324.6 MB, free: 8.152 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003174/0.01408, allocations: 210.8 kB / 324.8 MB, free: 7.926 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.0141, allocations: 3.938 kB / 324.8 MB, free: 7.922 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.302e-05/0.01412, allocations: 12 kB / 324.8 MB, free: 7.91 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.685e-05/0.01416, allocations: 12 kB / 324.8 MB, free: 7.898 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002031/0.01436, allocations: 102.6 kB / 324.9 MB, free: 7.797 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001177/0.01554, allocations: 0.9655 MB / 325.9 MB, free: 6.762 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002027/0.01574, allocations: 127.8 kB / 326 MB, free: 6.617 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.999e-05/0.01578, allocations: 29.77 kB / 326.1 MB, free: 6.582 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.0158, allocations: 3.984 kB / 326.1 MB, free: 6.578 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.01583, allocations: 42.5 kB / 326.1 MB, free: 6.527 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 2.234e-06/0.01583, allocations: 0 / 326.1 MB, free: 6.527 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001872/0.01601, allocations: 77.67 kB / 326.2 MB, free: 6.445 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.01606, allocations: 81.11 kB / 326.3 MB, free: 6.348 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.01621, allocations: 186.3 kB / 326.4 MB, free: 6.152 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.01622, allocations: 25.7 kB / 326.5 MB, free: 6.121 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.187e-05/0.01631, allocations: 175.8 kB / 326.6 MB, free: 5.945 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.877e-05/0.01634, allocations: 39.72 kB / 326.7 MB, free: 5.906 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.965e-05/0.0164, allocations: 41.78 kB / 326.7 MB, free: 5.859 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.01651, allocations: 330.8 kB / 327 MB, free: 5.527 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.084e-05/0.01654, allocations: 12 kB / 327 MB, free: 5.516 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.268e-05/0.01663, allocations: 123.5 kB / 327.2 MB, free: 5.352 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.01678, allocations: 151.5 kB / 327.3 MB, free: 5.156 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.01679, allocations: 0 / 327.3 MB, free: 5.156 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002985/0.01708, allocations: 141.3 kB / 327.5 MB, free: 5.012 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.0171, allocations: 4 kB / 327.5 MB, free: 5.008 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.01711, allocations: 4 kB / 327.5 MB, free: 5.004 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.01713, allocations: 7.938 kB / 327.5 MB, free: 4.996 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001968/0.01733, allocations: 56.61 kB / 327.5 MB, free: 4.941 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.01733, allocations: 4 kB / 327.5 MB, free: 4.938 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.485e-05/0.01742, allocations: 19.84 kB / 327.5 MB, free: 4.918 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.01743, allocations: 12.34 kB / 327.6 MB, free: 4.906 MB / 298.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.552e-05/0.01752, allocations: 128.5 kB / 327.7 MB, free: 4.77 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.8e-05/0.01755, allocations: 11.98 kB / 327.7 MB, free: 4.758 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001268/0.01768, allocations: 87 kB / 327.8 MB, free: 4.668 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.01768, allocations: 0 / 327.8 MB, free: 4.668 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.01768, allocations: 0 / 327.8 MB, free: 4.668 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.01769, allocations: 4 kB / 327.8 MB, free: 4.664 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003963/0.01808, allocations: 430.4 kB / 328.2 MB, free: 4.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.01809, allocations: 4 kB / 328.2 MB, free: 4.176 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.883e-05/0.01813, allocations: 15.98 kB / 328.2 MB, free: 4.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.01813, allocations: 4 kB / 328.2 MB, free: 4.156 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.01814, allocations: 8 kB / 328.2 MB, free: 4.148 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.01815, allocations: 7.938 kB / 328.2 MB, free: 4.141 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.01815, allocations: 4 kB / 328.3 MB, free: 4.137 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001688/0.01832, allocations: 307.8 kB / 328.6 MB, free: 3.777 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.442e-05/0.01834, allocations: 27.88 kB / 328.6 MB, free: 3.75 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.01836, allocations: 4 kB / 328.6 MB, free: 3.746 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.412e-05/0.01841, allocations: 4 kB / 328.6 MB, free: 3.742 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.465e-05/0.01843, allocations: 23.86 kB / 328.6 MB, free: 3.719 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.01844, allocations: 4 kB / 328.6 MB, free: 3.715 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.114e-05/0.01848, allocations: 41.41 kB / 328.7 MB, free: 3.672 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01848, allocations: 0 / 328.7 MB, free: 3.672 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002306/0.01871, allocations: 59.84 kB / 328.7 MB, free: 3.613 MB / 298.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 0.0001166/0.01883, allocations: 80.36 kB / 328.8 MB, free: 3.523 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001302/0.01896, allocations: 89.22 kB / 328.9 MB, free: 3.434 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.01897, allocations: 4 kB / 328.9 MB, free: 3.43 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.613e-05/0.019, allocations: 34.03 kB / 328.9 MB, free: 3.395 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000243/0.01925, allocations: 46.64 kB / 329 MB, free: 3.352 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007505/0.02, allocations: 462.2 kB / 329.4 MB, free: 2.836 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.557e-05/0.02005, allocations: 87.97 kB / 329.5 MB, free: 2.73 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.292e-05/0.0201, allocations: 25.47 kB / 329.5 MB, free: 2.703 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.418e-05/0.02017, allocations: 67.38 kB / 329.6 MB, free: 2.637 MB / 298.7 MB Notification: Performance of SimCode: time 8.72e-07/0.02017, allocations: 3.938 kB / 329.6 MB, free: 2.633 MB / 298.7 MB Notification: Performance of Templates: time 0.002908/0.02308, allocations: 1.271 MB / 330.9 MB, free: 1.387 MB / 298.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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.PMeterTest.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: 2.946690801065415]