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.001173/0.001173, allocations: 77.88 kB / 21.42 MB, free: 3.07 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.001206/0.001206, allocations: 168.3 kB / 24.82 MB, free: 9.262 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.075/1.075, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.3167/0.3167, allocations: 29.42 MB / 291.2 MB, free: 2.461 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 3.346e-06/3.346e-06, allocations: 3.984 kB / 370.1 MB, free: 10.76 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.457e-05/3.791e-05, allocations: 6.312 kB / 370.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.005185/0.005223, allocations: 3.46 MB / 373.6 MB, free: 7.266 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002115/0.007338, allocations: 1.215 MB / 374.8 MB, free: 6.043 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002338/0.007571, allocations: 11.88 kB / 374.8 MB, free: 6.031 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008525/0.008424, allocations: 199.1 kB / 375 MB, free: 5.836 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006989/0.009123, allocations: 278.7 kB / 375.3 MB, free: 5.562 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003644/0.009487, allocations: 139.4 kB / 375.4 MB, free: 5.426 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004031/0.00989, allocations: 331 kB / 375.7 MB, free: 5.102 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002886/0.01018, allocations: 114 kB / 375.8 MB, free: 4.992 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003944/0.01057, allocations: 203.3 kB / 376 MB, free: 4.793 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002923/0.01087, allocations: 143.6 kB / 376.2 MB, free: 4.652 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.599e-05/0.01089, allocations: 12 kB / 376.2 MB, free: 4.641 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000468/0.01136, allocations: 283.1 kB / 376.5 MB, free: 4.363 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001355/0.0115, allocations: 107.7 kB / 376.6 MB, free: 4.258 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.814e-05/0.01158, allocations: 71.84 kB / 376.6 MB, free: 4.188 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004993/0.01208, allocations: 315 kB / 376.9 MB, free: 3.879 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.01209, allocations: 0 / 376.9 MB, free: 3.879 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.01209, allocations: 0 / 376.9 MB, free: 3.879 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.002e-06/0.01209, allocations: 0 / 376.9 MB, free: 3.879 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.0007143/0.01281, allocations: 0.5461 MB / 377.5 MB, free: 3.297 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/0.01286, allocations: 11.98 kB / 377.5 MB, free: 3.285 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005996/0.01346, allocations: 132.6 kB / 377.6 MB, free: 3.156 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003413/0.0138, allocations: 211.9 kB / 377.8 MB, free: 2.926 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.01383, allocations: 16.31 kB / 377.9 MB, free: 2.91 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.717e-05/0.01386, allocations: 16.38 kB / 377.9 MB, free: 2.895 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003231/0.01418, allocations: 224.2 kB / 378.1 MB, free: 2.648 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.01419, allocations: 3.938 kB / 378.1 MB, free: 2.645 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.99e-05/0.01421, allocations: 8 kB / 378.1 MB, free: 2.637 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.146e-05/0.01427, allocations: 19.98 kB / 378.1 MB, free: 2.617 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001658/0.01443, allocations: 103.8 kB / 378.2 MB, free: 2.516 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001362/0.01579, allocations: 1.266 MB / 379.5 MB, free: 1.168 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002526/0.01605, allocations: 106.1 kB / 379.6 MB, free: 1.039 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.205e-05/0.01609, allocations: 31.42 kB / 379.6 MB, free: 1 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.01611, allocations: 4 kB / 379.6 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.6e-05/0.01615, allocations: 41.39 kB / 379.7 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 2.585e-06/0.01615, allocations: 0 / 379.7 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002449/0.0164, allocations: 101.5 kB / 379.8 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.562e-05/0.01645, allocations: 77.11 kB / 379.8 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/0.01662, allocations: 257.4 kB / 380.1 MB, free: 488 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.01664, allocations: 25.7 kB / 380.1 MB, free: 456 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/0.01677, allocations: 222.7 kB / 380.3 MB, free: 228 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.582e-05/0.01679, allocations: 39.67 kB / 380.4 MB, free: 188 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.647e-05/0.01685, allocations: 43.34 kB / 380.4 MB, free: 136 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000193/0.01704, allocations: 0.508 MB / 380.9 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.031e-05/0.01707, allocations: 11.98 kB / 380.9 MB, free: 15.6 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.01719, allocations: 166 kB / 381.1 MB, free: 15.38 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000157/0.01734, allocations: 187.1 kB / 381.3 MB, free: 15.13 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.01735, allocations: 0 / 381.3 MB, free: 15.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001887/0.01753, allocations: 169.4 kB / 381.5 MB, free: 14.96 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.01756, allocations: 8 kB / 381.5 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/0.01757, allocations: 4.062 kB / 381.5 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.423e-05/0.0176, allocations: 11.94 kB / 381.5 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.01771, allocations: 43.92 kB / 381.5 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.01772, allocations: 4 kB / 381.5 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.666e-05/0.01779, allocations: 31.77 kB / 381.6 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.367e-06/0.0178, allocations: 8 kB / 381.6 MB, free: 14.85 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.0001063/0.0179, allocations: 168.7 kB / 381.7 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.649e-05/0.01794, allocations: 27.94 kB / 381.8 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001809/0.01812, allocations: 83.08 kB / 381.8 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.01813, allocations: 7.938 kB / 381.8 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.01813, allocations: 3.984 kB / 381.8 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.01814, allocations: 0 / 381.8 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005047/0.01864, allocations: 479 kB / 382.3 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.01864, allocations: 0 / 382.3 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.492e-05/0.01869, allocations: 23.92 kB / 382.3 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.01869, allocations: 4 kB / 382.3 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.0187, allocations: 4 kB / 382.3 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/0.01871, allocations: 4 kB / 382.3 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.01871, allocations: 4 kB / 382.4 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002324/0.01894, allocations: 332.5 kB / 382.7 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.854e-05/0.01897, allocations: 15.91 kB / 382.7 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.01899, allocations: 12.02 kB / 382.7 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.687e-05/0.01905, allocations: 8 kB / 382.7 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.748e-05/0.01908, allocations: 15.86 kB / 382.7 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.828e-06/0.01909, allocations: 4 kB / 382.7 MB, free: 13.53 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.234e-05/0.01917, allocations: 159.1 kB / 382.9 MB, free: 13.38 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01917, allocations: 0 / 382.9 MB, free: 13.38 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002613/0.01943, allocations: 55.84 kB / 382.9 MB, free: 13.32 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.0001518/0.01958, allocations: 107.2 kB / 383 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000179/0.01976, allocations: 87.45 kB / 383.1 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.01976, allocations: 0 / 383.1 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.717e-05/0.01981, allocations: 39.55 kB / 383.2 MB, free: 13.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.02016, allocations: 37.03 kB / 383.2 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009781/0.02113, allocations: 463.5 kB / 383.7 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.662e-05/0.02121, allocations: 95.83 kB / 383.8 MB, free: 12.4 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.713e-05/0.02129, allocations: 21.48 kB / 383.8 MB, free: 12.38 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.143e-05/0.02138, allocations: 90.19 kB / 383.9 MB, free: 12.29 MB / 362.7 MB Notification: Performance of SimCode: time 1.133e-06/0.02138, allocations: 0 / 383.9 MB, free: 12.29 MB / 362.7 MB Notification: Performance of Templates: time 0.003883/0.02526, allocations: 1.172 MB / 385 MB, free: 11.12 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=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.5369473141618073]