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.001275/0.001275, allocations: 112.5 kB / 21.19 MB, free: 0.7617 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.001488/0.001488, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.385/1.385, allocations: 230.6 MB / 258.3 MB, free: 7.977 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.1781/0.1781, allocations: 38.52 MB / 353.2 MB, free: 12.52 MB / 286.1 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: 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.001969/0.001969, allocations: 67.91 kB / 493.8 MB, free: 4.375 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3084, allocations: 62.47 MB / 0.5432 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.005141/0.3135, allocations: 3.582 MB / 0.5467 GB, free: 13.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002346/0.3159, allocations: 1.584 MB / 0.5483 GB, free: 12.51 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001247/0.316, allocations: 9.812 kB / 0.5483 GB, free: 12.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008678/0.3168, allocations: 259.2 kB / 0.5485 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006687/0.3175, allocations: 283.2 kB / 0.5488 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003274/0.3178, allocations: 131.3 kB / 0.5489 GB, free: 12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004237/0.3183, allocations: 336.6 kB / 0.5492 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002693/0.3185, allocations: 122.1 kB / 0.5494 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003011/0.3188, allocations: 156.1 kB / 0.5495 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002683/0.3191, allocations: 164.6 kB / 0.5497 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.425e-05/0.3191, allocations: 13.59 kB / 0.5497 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005501/0.3197, allocations: 342 kB / 0.55 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.3198, allocations: 97.2 kB / 0.5501 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001372/0.3199, allocations: 118.1 kB / 0.5502 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005106/0.3204, allocations: 351.9 kB / 0.5505 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3205, allocations: 0 / 0.5505 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3205, allocations: 0 / 0.5505 GB, free: 11.03 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.3205, allocations: 0 / 0.5505 GB, free: 11.03 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.000693/0.3212, allocations: 458.4 kB / 0.551 GB, free: 10.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.3212, allocations: 14.39 kB / 0.551 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009094/0.3221, allocations: 106.7 kB / 0.5511 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003636/0.3225, allocations: 213.6 kB / 0.5513 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.3225, allocations: 11.44 kB / 0.5513 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.125e-05/0.3225, allocations: 19.66 kB / 0.5513 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005331/0.3231, allocations: 327.9 kB / 0.5516 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.3231, allocations: 0 / 0.5516 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.667e-05/0.3231, allocations: 10.25 kB / 0.5517 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.437e-05/0.3231, allocations: 16.52 kB / 0.5517 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004634/0.3236, allocations: 303.2 kB / 0.552 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001735/0.3253, allocations: 1.247 MB / 0.5532 GB, free: 8.895 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002872/0.3256, allocations: 125.8 kB / 0.5533 GB, free: 8.801 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.078e-05/0.3257, allocations: 45.58 kB / 0.5533 GB, free: 8.766 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.3257, allocations: 1.094 kB / 0.5533 GB, free: 8.766 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.3257, allocations: 35.61 kB / 0.5534 GB, free: 8.723 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.453e-06/0.3257, allocations: 5.156 kB / 0.5534 GB, free: 8.719 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003195/0.3261, allocations: 140.4 kB / 0.5535 GB, free: 8.633 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.56e-05/0.3261, allocations: 79.89 kB / 0.5536 GB, free: 8.539 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002146/0.3263, allocations: 207.9 kB / 0.5538 GB, free: 8.383 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.3264, allocations: 26.86 kB / 0.5538 GB, free: 8.352 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/0.3265, allocations: 172.9 kB / 0.554 GB, free: 8.191 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.106e-05/0.3265, allocations: 43.8 kB / 0.554 GB, free: 8.152 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.039e-05/0.3266, allocations: 45.28 kB / 0.5541 GB, free: 8.117 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.3267, allocations: 330.8 kB / 0.5544 GB, free: 7.789 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.933e-05/0.3268, allocations: 37.55 kB / 0.5544 GB, free: 7.773 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001451/0.327, allocations: 138.5 kB / 0.5545 GB, free: 7.621 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002271/0.3272, allocations: 188.6 kB / 0.5547 GB, free: 7.445 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/0.3272, allocations: 9.031 kB / 0.5547 GB, free: 7.438 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003018/0.3275, allocations: 206.7 kB / 0.5549 GB, free: 7.32 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.3275, allocations: 6.594 kB / 0.5549 GB, free: 7.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.3275, allocations: 7.219 kB / 0.5549 GB, free: 7.316 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.3275, allocations: 4.844 kB / 0.5549 GB, free: 7.316 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.3277, allocations: 44.23 kB / 0.555 GB, free: 7.309 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.45e-05/0.3277, allocations: 16.33 kB / 0.555 GB, free: 7.297 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.3278, allocations: 20.36 kB / 0.555 GB, free: 7.285 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.658e-05/0.3279, allocations: 8.562 kB / 0.555 GB, free: 7.285 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.000153/0.328, allocations: 156.2 kB / 0.5552 GB, free: 7.141 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.244e-05/0.328, allocations: 24.53 kB / 0.5552 GB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002131/0.3283, allocations: 117.4 kB / 0.5553 GB, free: 7.043 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.3283, allocations: 2.219 kB / 0.5553 GB, free: 7.043 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3283, allocations: 4 kB / 0.5553 GB, free: 7.039 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.3283, allocations: 1.25 kB / 0.5553 GB, free: 7.039 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008158/0.3291, allocations: 0.54 MB / 0.5559 GB, free: 6.555 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.3291, allocations: 2.656 kB / 0.5559 GB, free: 6.555 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.761e-05/0.3292, allocations: 19.09 kB / 0.5559 GB, free: 6.551 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.135e-06/0.3292, allocations: 7.562 kB / 0.5559 GB, free: 6.547 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/0.3292, allocations: 8.375 kB / 0.5559 GB, free: 6.543 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.198e-06/0.3292, allocations: 14.3 kB / 0.5559 GB, free: 6.531 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.3292, allocations: 3.75 kB / 0.5559 GB, free: 6.531 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000327/0.3295, allocations: 282 kB / 0.5562 GB, free: 6.262 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.828e-05/0.3296, allocations: 24.95 kB / 0.5562 GB, free: 6.246 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.171e-05/0.3296, allocations: 7.281 kB / 0.5562 GB, free: 6.242 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.3297, allocations: 7.406 kB / 0.5562 GB, free: 6.238 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.9e-05/0.3298, allocations: 9.484 kB / 0.5562 GB, free: 6.234 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.3298, allocations: 5.594 kB / 0.5562 GB, free: 6.234 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001321/0.3299, allocations: 159.5 kB / 0.5564 GB, free: 6.117 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3299, allocations: 0.9062 kB / 0.5564 GB, free: 6.117 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003524/0.3303, allocations: 52.33 kB / 0.5564 GB, free: 6.105 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.0001082/0.3304, allocations: 97.3 kB / 0.5565 GB, free: 6.016 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002304/0.3306, allocations: 126.5 kB / 0.5566 GB, free: 5.953 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3306, allocations: 5.156 kB / 0.5566 GB, free: 5.949 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.298e-05/0.3307, allocations: 44.17 kB / 0.5567 GB, free: 5.93 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000397/0.3311, allocations: 31.31 kB / 0.5567 GB, free: 5.914 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008209/0.3319, allocations: 485.3 kB / 0.5572 GB, free: 5.52 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004074/0.3323, allocations: 0.7575 MB / 0.5579 GB, free: 4.777 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.732e-05/0.3323, allocations: 15.44 kB / 0.5579 GB, free: 4.762 MB / 398.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3323, allocations: 3.938 kB / 0.5579 GB, free: 4.758 MB / 398.1 MB Notification: Performance of Templates: time 0.00416/0.3365, allocations: 2.252 MB / 0.5601 GB, free: 2.5 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.PMeterTest.mat","/var/lib/jenkins1/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: 7.1625542438123375]