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.00103/0.00103, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001238/0.001238, allocations: 162 kB / 24.99 MB, free: 8.297 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.023/1.023, allocations: 177.1 MB / 205.3 MB, free: 5.594 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.2284/0.2284, allocations: 29.42 MB / 291.2 MB, free: 2.508 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 1.753e-06/1.753e-06, allocations: 0 / 369.6 MB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.588e-05/2.763e-05, allocations: 2.312 kB / 369.6 MB, free: 11.34 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.003762/0.00379, allocations: 3.585 MB / 373.2 MB, free: 7.734 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001638/0.005428, allocations: 1.516 MB / 374.7 MB, free: 6.211 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001723/0.0056, allocations: 11.94 kB / 374.7 MB, free: 6.199 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006671/0.006267, allocations: 258.9 kB / 375 MB, free: 5.945 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004962/0.006764, allocations: 290.5 kB / 375.3 MB, free: 5.66 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002265/0.00699, allocations: 123.5 kB / 375.4 MB, free: 5.539 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003133/0.007303, allocations: 350.9 kB / 375.7 MB, free: 5.195 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002344/0.007538, allocations: 106.2 kB / 375.8 MB, free: 5.094 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002827/0.007821, allocations: 207.3 kB / 376 MB, free: 4.891 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001967/0.008017, allocations: 147.5 kB / 376.2 MB, free: 4.746 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.262e-05/0.00804, allocations: 12 kB / 376.2 MB, free: 4.734 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003479/0.008388, allocations: 291 kB / 376.5 MB, free: 4.449 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001066/0.008494, allocations: 111.7 kB / 376.6 MB, free: 4.34 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.492e-05/0.008579, allocations: 71.84 kB / 376.6 MB, free: 4.27 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003775/0.008957, allocations: 307 kB / 376.9 MB, free: 3.969 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.00896, allocations: 4 kB / 376.9 MB, free: 3.965 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.008961, allocations: 0 / 376.9 MB, free: 3.965 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.008966, allocations: 0 / 376.9 MB, free: 3.965 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.0005131/0.009479, allocations: 0.5423 MB / 377.5 MB, free: 3.387 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.00952, allocations: 19.91 kB / 377.5 MB, free: 3.367 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006499/0.01017, allocations: 144.6 kB / 377.6 MB, free: 3.227 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002479/0.01042, allocations: 223.7 kB / 377.9 MB, free: 2.984 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.01044, allocations: 12.38 kB / 377.9 MB, free: 2.973 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.281e-05/0.01046, allocations: 20.38 kB / 377.9 MB, free: 2.953 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002974/0.01076, allocations: 236.3 kB / 378.1 MB, free: 2.695 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.01077, allocations: 3.938 kB / 378.1 MB, free: 2.691 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.117e-05/0.01079, allocations: 8 kB / 378.1 MB, free: 2.684 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.194e-05/0.01082, allocations: 12 kB / 378.2 MB, free: 2.672 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002072/0.01103, allocations: 131.8 kB / 378.3 MB, free: 2.543 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001099/0.01213, allocations: 1.324 MB / 379.6 MB, free: 1.129 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000188/0.01231, allocations: 102.2 kB / 379.7 MB, free: 1.004 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.481e-05/0.01236, allocations: 39.55 kB / 379.7 MB, free: 0.957 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.01238, allocations: 0 / 379.7 MB, free: 0.957 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.0124, allocations: 37.39 kB / 379.8 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 2.515e-06/0.01241, allocations: 4 kB / 379.8 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002324/0.01264, allocations: 109.7 kB / 379.9 MB, free: 0.793 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.01268, allocations: 81.05 kB / 380 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.01282, allocations: 253.5 kB / 380.2 MB, free: 440 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.102e-05/0.01283, allocations: 25.7 kB / 380.2 MB, free: 408 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.569e-05/0.01291, allocations: 226.6 kB / 380.5 MB, free: 176 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.17e-05/0.01294, allocations: 43.67 kB / 380.5 MB, free: 132 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-05/0.01298, allocations: 51.3 kB / 380.6 MB, free: 72 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.01311, allocations: 0.4962 MB / 381.1 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.889e-05/0.01315, allocations: 15.98 kB / 381.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.06e-05/0.01324, allocations: 155.4 kB / 381.2 MB, free: 15.33 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001489/0.01339, allocations: 203 kB / 381.4 MB, free: 15.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.01339, allocations: 4 kB / 381.4 MB, free: 15.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001892/0.01358, allocations: 173.6 kB / 381.6 MB, free: 14.89 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.0136, allocations: 11.97 kB / 381.6 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.0136, allocations: 4 kB / 381.6 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.01362, allocations: 4 kB / 381.6 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.988e-05/0.01372, allocations: 47.91 kB / 381.7 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.01373, allocations: 8.062 kB / 381.7 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.238e-05/0.01379, allocations: 27.84 kB / 381.7 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.0138, allocations: 8 kB / 381.7 MB, free: 14.78 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 8.639e-05/0.01389, allocations: 172.5 kB / 381.9 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.566e-05/0.01391, allocations: 15.91 kB / 381.9 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000157/0.01407, allocations: 99 kB / 382 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.01407, allocations: 4 kB / 382 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.01408, allocations: 0 / 382 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.01408, allocations: 0 / 382 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004443/0.01452, allocations: 0.5022 MB / 382.5 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.01453, allocations: 4 kB / 382.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.426e-05/0.01458, allocations: 20.3 kB / 382.5 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.01459, allocations: 8 kB / 382.5 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.0146, allocations: 0 / 382.5 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.0146, allocations: 7.938 kB / 382.5 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.0146, allocations: 4 kB / 382.5 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001878/0.01479, allocations: 340.5 kB / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.684e-05/0.01482, allocations: 23.83 kB / 382.9 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.01484, allocations: 8 kB / 382.9 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.47e-05/0.01489, allocations: 4 kB / 382.9 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.243e-05/0.01491, allocations: 15.86 kB / 382.9 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-06/0.01492, allocations: 16 kB / 382.9 MB, free: 13.39 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.929e-05/0.01499, allocations: 163.1 kB / 383.1 MB, free: 13.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01499, allocations: 0 / 383.1 MB, free: 13.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002375/0.01523, allocations: 55.84 kB / 383.1 MB, free: 13.18 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.0001032/0.01533, allocations: 99.25 kB / 383.2 MB, free: 13.07 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000164/0.0155, allocations: 102.8 kB / 383.3 MB, free: 12.97 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.0155, allocations: 4.062 kB / 383.3 MB, free: 12.97 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.852e-05/0.01555, allocations: 39.55 kB / 383.4 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/0.01583, allocations: 30.48 kB / 383.4 MB, free: 12.9 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008757/0.0167, allocations: 464.2 kB / 383.9 MB, free: 12.37 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.393e-05/0.01677, allocations: 99.81 kB / 384 MB, free: 12.25 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.051e-05/0.01684, allocations: 37.48 kB / 384 MB, free: 12.21 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.236e-05/0.01687, allocations: 16.5 kB / 384 MB, free: 12.2 MB / 362.7 MB Notification: Performance of SimCode: time 1.212e-06/0.01687, allocations: 0 / 384 MB, free: 12.2 MB / 362.7 MB Notification: Performance of Templates: time 0.003087/0.01996, allocations: 1.09 MB / 385.1 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.0454355680849403]