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.00186/0.00186, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002336/0.002336, allocations: 161.7 kB / 24.26 MB, free: 176 kB / 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.499/1.499, allocations: 177.2 MB / 204.6 MB, free: 5.605 MB / 186.7 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.316/0.316, allocations: 29.42 MB / 290.5 MB, free: 2.441 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 8.716e-06/8.716e-06, allocations: 4 kB / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.294e-05/4.166e-05, allocations: 2.312 kB / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.006797/0.006838, allocations: 3.423 MB / 372.3 MB, free: 7.875 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002554/0.009392, allocations: 1.434 MB / 373.7 MB, free: 6.434 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.009506, allocations: 7.938 kB / 373.7 MB, free: 6.426 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008776/0.01038, allocations: 254.8 kB / 374 MB, free: 6.176 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006584/0.01104, allocations: 282.6 kB / 374.3 MB, free: 5.898 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003457/0.01139, allocations: 135.4 kB / 374.4 MB, free: 5.766 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004591/0.01185, allocations: 342.9 kB / 374.7 MB, free: 5.43 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002936/0.01214, allocations: 114.1 kB / 374.9 MB, free: 5.32 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003952/0.01254, allocations: 207.3 kB / 375.1 MB, free: 5.117 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000278/0.01281, allocations: 139.5 kB / 375.2 MB, free: 4.98 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.58e-05/0.01285, allocations: 16 kB / 375.2 MB, free: 4.965 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004992/0.01335, allocations: 283 kB / 375.5 MB, free: 4.688 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000145/0.01349, allocations: 115.7 kB / 375.6 MB, free: 4.574 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001189/0.01361, allocations: 75.81 kB / 375.7 MB, free: 4.5 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005666/0.01418, allocations: 362.9 kB / 376 MB, free: 4.145 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.01418, allocations: 4 kB / 376 MB, free: 4.141 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.01418, allocations: 0 / 376 MB, free: 4.141 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.01419, allocations: 0 / 376 MB, free: 4.141 MB / 346.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.000756/0.01495, allocations: 441 kB / 376.5 MB, free: 3.68 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.01498, allocations: 11.98 kB / 376.5 MB, free: 3.668 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00103/0.01602, allocations: 168.4 kB / 376.6 MB, free: 3.504 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003946/0.01641, allocations: 213.9 kB / 376.8 MB, free: 3.27 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/0.01643, allocations: 12.38 kB / 376.9 MB, free: 3.258 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.066e-05/0.01647, allocations: 28.3 kB / 376.9 MB, free: 3.23 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005793/0.01705, allocations: 323.3 kB / 377.2 MB, free: 2.895 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.01707, allocations: 3.938 kB / 377.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.714e-05/0.01709, allocations: 4 kB / 377.2 MB, free: 2.887 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.863e-05/0.01713, allocations: 15.98 kB / 377.2 MB, free: 2.871 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005239/0.01766, allocations: 307.7 kB / 377.5 MB, free: 2.57 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002078/0.01973, allocations: 1.162 MB / 378.7 MB, free: 1.328 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003336/0.02007, allocations: 121.3 kB / 378.8 MB, free: 1.191 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.163e-05/0.02015, allocations: 37.77 kB / 378.8 MB, free: 1.148 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.02017, allocations: 0 / 378.8 MB, free: 1.148 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.0202, allocations: 34.56 kB / 378.9 MB, free: 1.105 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.0202, allocations: 4 kB / 378.9 MB, free: 1.102 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003851/0.02059, allocations: 153.6 kB / 379 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.319e-05/0.02066, allocations: 81.11 kB / 379.1 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002336/0.0209, allocations: 198.2 kB / 379.3 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.02092, allocations: 25.7 kB / 379.3 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/0.02108, allocations: 171.9 kB / 379.5 MB, free: 448 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.025e-05/0.02112, allocations: 35.73 kB / 379.5 MB, free: 412 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.637e-05/0.0212, allocations: 41.67 kB / 379.6 MB, free: 364 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002093/0.02141, allocations: 330.8 kB / 379.9 MB, free: 24 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/0.02151, allocations: 36.06 kB / 379.9 MB, free: 15.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001841/0.0217, allocations: 143.1 kB / 380.1 MB, free: 15.8 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003038/0.022, allocations: 200.5 kB / 380.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.022, allocations: 4 kB / 380.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003679/0.02237, allocations: 209.5 kB / 380.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.709e-05/0.0224, allocations: 19.98 kB / 380.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.02241, allocations: 0 / 380.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.577e-05/0.02243, allocations: 8 kB / 380.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001793/0.02261, allocations: 43.92 kB / 380.5 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.02262, allocations: 4 kB / 380.5 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/0.02275, allocations: 23.88 kB / 380.6 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.783e-05/0.02276, allocations: 8 kB / 380.6 MB, free: 15.24 MB / 362.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 0.0001735/0.02294, allocations: 149.8 kB / 380.7 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.947e-05/0.02299, allocations: 19.91 kB / 380.7 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002456/0.02323, allocations: 131 kB / 380.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.02324, allocations: 0 / 380.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.02324, allocations: 0 / 380.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.02324, allocations: 0 / 380.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008033/0.02405, allocations: 0.5052 MB / 381.4 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.02405, allocations: 0 / 381.4 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.319e-05/0.02413, allocations: 20.3 kB / 381.4 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.02414, allocations: 8 kB / 381.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.02415, allocations: 4 kB / 381.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.02416, allocations: 7.938 kB / 381.4 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.02416, allocations: 0 / 381.4 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003357/0.0245, allocations: 287.8 kB / 381.7 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.147e-05/0.02454, allocations: 23.92 kB / 381.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.998e-05/0.02457, allocations: 8 kB / 381.7 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.02468, allocations: 0 / 381.7 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.901e-05/0.02472, allocations: 19.86 kB / 381.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.956e-05/0.02474, allocations: 12 kB / 381.8 MB, free: 13.94 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001351/0.02487, allocations: 135.2 kB / 381.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.02487, allocations: 0 / 381.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003792/0.02525, allocations: 55.89 kB / 381.9 MB, free: 13.75 MB / 362.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.0001344/0.02538, allocations: 95.19 kB / 382 MB, free: 13.65 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002524/0.02564, allocations: 127.9 kB / 382.2 MB, free: 13.53 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.02564, allocations: 4.062 kB / 382.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.008e-05/0.02573, allocations: 43.86 kB / 382.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004282/0.02616, allocations: 35.06 kB / 382.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007989/0.02696, allocations: 430.2 kB / 382.7 MB, free: 12.97 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001822/0.02714, allocations: 147.8 kB / 382.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001062/0.02725, allocations: 37.45 kB / 382.8 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.193e-05/0.0273, allocations: 16.5 kB / 382.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.0273, allocations: 0 / 382.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of Templates: time 0.004354/0.03165, allocations: 1.096 MB / 384 MB, free: 11.67 MB / 362.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.7359907269710675]