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.001857/0.001857, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.002232/0.002232, allocations: 213 kB / 23.73 MB, free: 4.16 MB / 14.72 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.604/1.604, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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.3054/0.3054, allocations: 38.56 MB / 352.5 MB, free: 12.32 MB / 286.1 MB " [Timeout remaining time 179] 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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00213/0.00213, allocations: 68.17 kB / 493 MB, free: 4.227 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3904/0.3926, allocations: 62.47 MB / 0.5424 GB, free: 448 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.006263/0.3988, allocations: 3.43 MB / 0.5458 GB, free: 13.78 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002484/0.4013, allocations: 1.434 MB / 0.5472 GB, free: 12.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001396/0.4015, allocations: 12.91 kB / 0.5472 GB, free: 12.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000966/0.4024, allocations: 247.5 kB / 0.5474 GB, free: 12.49 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007264/0.4032, allocations: 280 kB / 0.5477 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003679/0.4035, allocations: 134.9 kB / 0.5478 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004482/0.404, allocations: 332.3 kB / 0.5481 GB, free: 12 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000296/0.4043, allocations: 119.2 kB / 0.5482 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003257/0.4046, allocations: 162.7 kB / 0.5484 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002758/0.4049, allocations: 156.9 kB / 0.5486 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.017e-05/0.4049, allocations: 13.12 kB / 0.5486 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004841/0.4054, allocations: 278.3 kB / 0.5488 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000138/0.4055, allocations: 97.7 kB / 0.5489 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001298/0.4057, allocations: 93.64 kB / 0.549 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005373/0.4062, allocations: 354.9 kB / 0.5494 GB, free: 11.28 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.4062, allocations: 0 / 0.5494 GB, free: 11.28 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4062, allocations: 0 / 0.5494 GB, free: 11.28 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.4062, allocations: 7.938 kB / 0.5494 GB, free: 11.27 MB / 398.1 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.0007353/0.4069, allocations: 455.4 kB / 0.5498 GB, free: 10.87 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.407, allocations: 14.11 kB / 0.5498 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009462/0.4079, allocations: 103.1 kB / 0.5499 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004018/0.4083, allocations: 216.4 kB / 0.5501 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.425e-05/0.4084, allocations: 16 kB / 0.5501 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.49e-05/0.4084, allocations: 24.41 kB / 0.5502 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005827/0.409, allocations: 324 kB / 0.5505 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.409, allocations: 1.094 kB / 0.5505 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.711e-05/0.409, allocations: 6.375 kB / 0.5505 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.641e-05/0.4091, allocations: 16.61 kB / 0.5505 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005065/0.4096, allocations: 304.3 kB / 0.5508 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001817/0.4114, allocations: 1.158 MB / 0.5519 GB, free: 9.227 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003213/0.4117, allocations: 117.5 kB / 0.552 GB, free: 9.141 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.946e-05/0.4118, allocations: 41.2 kB / 0.5521 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.4118, allocations: 1.969 kB / 0.5521 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.656e-05/0.4119, allocations: 40.83 kB / 0.5521 GB, free: 9.062 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/0.4119, allocations: 192 / 0.5521 GB, free: 9.062 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.000333/0.4122, allocations: 136 kB / 0.5522 GB, free: 8.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.779e-05/0.4123, allocations: 83.48 kB / 0.5523 GB, free: 8.883 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002205/0.4125, allocations: 201.8 kB / 0.5525 GB, free: 8.727 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.4125, allocations: 26.86 kB / 0.5525 GB, free: 8.695 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.4126, allocations: 168.9 kB / 0.5527 GB, free: 8.539 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.998e-05/0.4127, allocations: 44.27 kB / 0.5527 GB, free: 8.5 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.974e-05/0.4127, allocations: 45.06 kB / 0.5528 GB, free: 8.465 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.4129, allocations: 326.5 kB / 0.5531 GB, free: 8.141 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.397e-05/0.413, allocations: 38.16 kB / 0.5531 GB, free: 8.125 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001651/0.4131, allocations: 135.5 kB / 0.5532 GB, free: 7.98 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002669/0.4134, allocations: 194.7 kB / 0.5534 GB, free: 7.801 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.4134, allocations: 6.125 kB / 0.5534 GB, free: 7.797 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003544/0.4138, allocations: 209.6 kB / 0.5536 GB, free: 7.676 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.4138, allocations: 5.812 kB / 0.5536 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.4138, allocations: 8.094 kB / 0.5537 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.369e-05/0.4138, allocations: 9.812 kB / 0.5537 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/0.414, allocations: 47.92 kB / 0.5537 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.414, allocations: 7.984 kB / 0.5537 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001182/0.4141, allocations: 24.38 kB / 0.5537 GB, free: 7.637 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.4141, allocations: 12.28 kB / 0.5537 GB, free: 7.633 MB / 398.1 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 0.0001679/0.4143, allocations: 156.3 kB / 0.5539 GB, free: 7.488 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.211e-05/0.4143, allocations: 19.5 kB / 0.5539 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002387/0.4146, allocations: 121.3 kB / 0.554 GB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.4146, allocations: 1.469 kB / 0.554 GB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.4146, allocations: 1.406 kB / 0.554 GB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.4146, allocations: 4 kB / 0.554 GB, free: 7.383 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007572/0.4154, allocations: 0.4941 MB / 0.5545 GB, free: 6.949 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.4154, allocations: 2.219 kB / 0.5545 GB, free: 6.949 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.645e-05/0.4154, allocations: 15.91 kB / 0.5545 GB, free: 6.949 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.9e-06/0.4154, allocations: 3.781 kB / 0.5545 GB, free: 6.949 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.4155, allocations: 8.078 kB / 0.5545 GB, free: 6.945 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/0.4155, allocations: 10.56 kB / 0.5546 GB, free: 6.938 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.493e-06/0.4155, allocations: 7.344 kB / 0.5546 GB, free: 6.934 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003188/0.4158, allocations: 277.4 kB / 0.5548 GB, free: 6.672 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.945e-05/0.4158, allocations: 16.22 kB / 0.5548 GB, free: 6.664 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.047e-05/0.4159, allocations: 7.406 kB / 0.5549 GB, free: 6.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.416, allocations: 3.625 kB / 0.5549 GB, free: 6.66 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.46e-05/0.416, allocations: 21.61 kB / 0.5549 GB, free: 6.645 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.416, allocations: 9.938 kB / 0.5549 GB, free: 6.641 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001206/0.4161, allocations: 139.4 kB / 0.555 GB, free: 6.535 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4161, allocations: 4 kB / 0.555 GB, free: 6.531 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003522/0.4165, allocations: 52.52 kB / 0.5551 GB, free: 6.52 MB / 398.1 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.0001033/0.4166, allocations: 96.42 kB / 0.5552 GB, free: 6.43 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002582/0.4169, allocations: 114.8 kB / 0.5553 GB, free: 6.379 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/0.4169, allocations: 1.062 kB / 0.5553 GB, free: 6.379 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.739e-05/0.4169, allocations: 52.59 kB / 0.5553 GB, free: 6.352 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004273/0.4174, allocations: 30.61 kB / 0.5554 GB, free: 6.336 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007287/0.4181, allocations: 444.7 kB / 0.5558 GB, free: 5.984 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001818/0.4183, allocations: 152.6 kB / 0.5559 GB, free: 5.832 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001027/0.4184, allocations: 33.45 kB / 0.556 GB, free: 5.797 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.457e-05/0.4184, allocations: 27.38 kB / 0.556 GB, free: 5.773 MB / 398.1 MB Notification: Performance of SimCode: time 3.5e-07/0.4184, allocations: 0 / 0.556 GB, free: 5.773 MB / 398.1 MB Notification: Performance of Templates: time 0.004533/0.423, allocations: 1.303 MB / 0.5573 GB, free: 4.488 MB / 398.1 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: 5.60200453363359]