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.001519/0.001519, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001011/0.001011, allocations: 163.9 kB / 25.61 MB, free: 8.582 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.9842/0.9842, allocations: 177.1 MB / 206.1 MB, free: 4.48 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.1539/0.1539, allocations: 29.42 MB / 292 MB, free: 2.625 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 1.423e-06/1.423e-06, allocations: 0 / 370.9 MB, free: 32.31 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.952e-05/2.094e-05, allocations: 2.312 kB / 370.9 MB, free: 32.3 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.01231/0.01233, allocations: 3.468 MB / 374.3 MB, free: 28.83 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009625/0.02196, allocations: 1.211 MB / 375.6 MB, free: 27.61 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002375/0.0222, allocations: 11.94 kB / 375.6 MB, free: 27.6 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006123/0.02281, allocations: 203.1 kB / 375.8 MB, free: 27.4 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005537/0.02336, allocations: 290.5 kB / 376 MB, free: 27.11 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002538/0.02362, allocations: 127.5 kB / 376.2 MB, free: 26.99 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002616/0.02388, allocations: 334.9 kB / 376.5 MB, free: 26.66 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001941/0.02407, allocations: 118.1 kB / 376.6 MB, free: 26.54 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002418/0.02431, allocations: 207.3 kB / 376.8 MB, free: 26.34 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001773/0.02449, allocations: 147.5 kB / 377 MB, free: 26.2 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.153e-05/0.02451, allocations: 16 kB / 377 MB, free: 26.18 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002829/0.0248, allocations: 283.1 kB / 377.3 MB, free: 25.9 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.624e-05/0.02488, allocations: 103.7 kB / 377.4 MB, free: 25.8 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.764e-05/0.02495, allocations: 71.84 kB / 377.4 MB, free: 25.73 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003208/0.02527, allocations: 307.1 kB / 377.7 MB, free: 25.43 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.02527, allocations: 4 kB / 377.7 MB, free: 25.43 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.02528, allocations: 0 / 377.7 MB, free: 25.43 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.02528, allocations: 0 / 377.7 MB, free: 25.43 MB / 314.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.0004362/0.02572, allocations: 0.5461 MB / 378.3 MB, free: 24.84 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.968e-05/0.02575, allocations: 11.97 kB / 378.3 MB, free: 24.83 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006413/0.02639, allocations: 132.6 kB / 378.4 MB, free: 24.7 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002081/0.0266, allocations: 208.8 kB / 378.6 MB, free: 24.47 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.02661, allocations: 12.38 kB / 378.6 MB, free: 24.46 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/0.02663, allocations: 20.38 kB / 378.7 MB, free: 24.44 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002125/0.02685, allocations: 220.2 kB / 378.9 MB, free: 24.2 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.02686, allocations: 3.938 kB / 378.9 MB, free: 24.2 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/0.02687, allocations: 8 kB / 378.9 MB, free: 24.19 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.679e-05/0.0269, allocations: 20 kB / 378.9 MB, free: 24.17 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001491/0.02705, allocations: 103.8 kB / 379 MB, free: 24.07 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000795/0.02785, allocations: 1.266 MB / 380.3 MB, free: 22.72 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001492/0.02799, allocations: 118.3 kB / 380.4 MB, free: 22.58 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.795e-05/0.02802, allocations: 27.42 kB / 380.4 MB, free: 22.54 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/0.02804, allocations: 4 kB / 380.4 MB, free: 22.54 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.786e-05/0.02805, allocations: 37.39 kB / 380.4 MB, free: 22.49 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 1.362e-06/0.02805, allocations: 0 / 380.4 MB, free: 22.49 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001741/0.02823, allocations: 101.3 kB / 380.5 MB, free: 22.39 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.409e-05/0.02825, allocations: 85.11 kB / 380.6 MB, free: 22.29 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.02836, allocations: 239.1 kB / 380.9 MB, free: 22.04 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.364e-06/0.02836, allocations: 25.7 kB / 380.9 MB, free: 22 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.306e-05/0.02843, allocations: 230.7 kB / 381.1 MB, free: 21.77 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.769e-05/0.02844, allocations: 35.73 kB / 381.2 MB, free: 21.74 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.286e-05/0.0285, allocations: 55.3 kB / 381.2 MB, free: 21.68 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.069e-05/0.02855, allocations: 0.5001 MB / 381.7 MB, free: 21.16 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.273e-05/0.02857, allocations: 11.98 kB / 381.7 MB, free: 21.15 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.366e-05/0.02863, allocations: 156.6 kB / 381.9 MB, free: 20.94 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/0.02875, allocations: 187.1 kB / 382.1 MB, free: 20.69 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.02875, allocations: 4 kB / 382.1 MB, free: 20.69 MB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001711/0.02892, allocations: 165.2 kB / 382.2 MB, free: 20.52 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.02893, allocations: 4 kB / 382.2 MB, free: 20.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.02894, allocations: 4 kB / 382.2 MB, free: 20.51 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.02895, allocations: 7.938 kB / 382.2 MB, free: 20.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.02906, allocations: 47.91 kB / 382.3 MB, free: 20.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.02907, allocations: 8 kB / 382.3 MB, free: 20.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.84e-05/0.02914, allocations: 20.28 kB / 382.3 MB, free: 20.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.02915, allocations: 12 kB / 382.3 MB, free: 20.42 MB / 314.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 5.487e-05/0.02921, allocations: 172.5 kB / 382.5 MB, free: 20.24 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.916e-05/0.02924, allocations: 15.95 kB / 382.5 MB, free: 20.22 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001044/0.02934, allocations: 91 kB / 382.6 MB, free: 20.12 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.02934, allocations: 7.938 kB / 382.6 MB, free: 20.12 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.02935, allocations: 0 / 382.6 MB, free: 20.12 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.02935, allocations: 0 / 382.6 MB, free: 20.12 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003444/0.02969, allocations: 478.8 kB / 383.1 MB, free: 19.58 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.0297, allocations: 4 kB / 383.1 MB, free: 19.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.036e-05/0.02974, allocations: 16.06 kB / 383.1 MB, free: 19.56 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.02974, allocations: 11.88 kB / 383.1 MB, free: 19.55 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.02975, allocations: 7.984 kB / 383.1 MB, free: 19.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.02975, allocations: 4 kB / 383.1 MB, free: 19.54 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.02975, allocations: 4 kB / 383.1 MB, free: 19.53 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001192/0.02987, allocations: 334.1 kB / 383.4 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.938e-05/0.02989, allocations: 19.84 kB / 383.5 MB, free: 19.12 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.02991, allocations: 8 kB / 383.5 MB, free: 19.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.112e-05/0.02999, allocations: 4 kB / 383.5 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.809e-05/0.03001, allocations: 15.86 kB / 383.5 MB, free: 19.1 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.03002, allocations: 12 kB / 383.5 MB, free: 19.09 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.417e-05/0.03006, allocations: 155.1 kB / 383.6 MB, free: 18.93 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.03006, allocations: 0 / 383.6 MB, free: 18.93 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002908/0.03035, allocations: 55.89 kB / 383.7 MB, free: 18.88 MB / 314.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 7.551e-05/0.03043, allocations: 99.25 kB / 383.8 MB, free: 18.77 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001227/0.03055, allocations: 96.12 kB / 383.9 MB, free: 18.67 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.03055, allocations: 4 kB / 383.9 MB, free: 18.67 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.917e-05/0.03059, allocations: 36.67 kB / 383.9 MB, free: 18.63 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003258/0.03092, allocations: 31.44 kB / 384 MB, free: 18.61 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007424/0.03166, allocations: 471.3 kB / 384.4 MB, free: 18.07 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.16e-05/0.03171, allocations: 95.95 kB / 384.5 MB, free: 17.96 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.572e-05/0.03177, allocations: 17.48 kB / 384.5 MB, free: 17.94 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.643e-05/0.03182, allocations: 90.2 kB / 384.6 MB, free: 17.85 MB / 314.7 MB Notification: Performance of SimCode: time 5.91e-07/0.03182, allocations: 0 / 384.6 MB, free: 17.85 MB / 314.7 MB Notification: Performance of Templates: time 0.003013/0.03484, allocations: 1.206 MB / 385.8 MB, free: 16.67 MB / 314.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 -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: 3.2011165525764227]