Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.CityTest.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.001393/0.001393, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001133/0.001133, allocations: 164.3 kB / 24.99 MB, free: 8.742 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.9534/0.9534, allocations: 177.1 MB / 205.3 MB, free: 5.633 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.2332/0.2332, 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.PowerWorld.Test.CityTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|city.p.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.CityTest") translateModel(PowerSystems.Examples.PowerWorld.Test.CityTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|city.p.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.CityTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 369.6 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.565e-05/2.726e-05, allocations: 9.578 kB / 369.6 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.CityTest): time 0.004192/0.004219, allocations: 3.762 MB / 373.4 MB, free: 7.539 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002035/0.006254, allocations: 1.901 MB / 375.3 MB, free: 5.629 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001336/0.006387, allocations: 7.938 kB / 375.3 MB, free: 5.621 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006404/0.007028, allocations: 230.9 kB / 375.5 MB, free: 5.395 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004934/0.007521, allocations: 322.4 kB / 375.8 MB, free: 5.078 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003057/0.007827, allocations: 179.2 kB / 376 MB, free: 4.902 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004043/0.008231, allocations: 462.7 kB / 376.4 MB, free: 4.449 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000259/0.00849, allocations: 169.8 kB / 376.6 MB, free: 4.289 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003704/0.00886, allocations: 259.3 kB / 376.9 MB, free: 4.035 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002068/0.009067, allocations: 175.5 kB / 377 MB, free: 3.863 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.404e-05/0.009101, allocations: 39.94 kB / 377.1 MB, free: 3.824 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000357/0.009458, allocations: 327.1 kB / 377.4 MB, free: 3.504 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.009563, allocations: 135.6 kB / 377.5 MB, free: 3.371 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.592e-05/0.009659, allocations: 95.77 kB / 377.6 MB, free: 3.277 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004928/0.01015, allocations: 474.4 kB / 378.1 MB, free: 2.812 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.01015, allocations: 0 / 378.1 MB, free: 2.812 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.01016, allocations: 0 / 378.1 MB, free: 2.812 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.01016, allocations: 0 / 378.1 MB, free: 2.812 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007086/0.01087, allocations: 0.6865 MB / 378.8 MB, free: 2.086 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.01091, allocations: 11.98 kB / 378.8 MB, free: 2.074 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005106/0.01142, allocations: 136.5 kB / 378.9 MB, free: 1.941 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003208/0.01174, allocations: 287.4 kB / 379.2 MB, free: 1.633 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.01176, allocations: 16.75 kB / 379.2 MB, free: 1.617 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.634e-05/0.01178, allocations: 16.38 kB / 379.2 MB, free: 1.602 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003486/0.01213, allocations: 303.9 kB / 379.5 MB, free: 1.262 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.01214, allocations: 7.938 kB / 379.5 MB, free: 1.254 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.099e-05/0.01216, allocations: 11.98 kB / 379.5 MB, free: 1.242 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.114e-05/0.01219, allocations: 20.31 kB / 379.6 MB, free: 1.223 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003148/0.01251, allocations: 232.8 kB / 379.8 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001179/0.01369, allocations: 1.487 MB / 381.3 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004064/0.01409, allocations: 266.1 kB / 381.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.457e-05/0.01418, allocations: 63.34 kB / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.01419, allocations: 4 kB / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001934/0.01439, allocations: 154.9 kB / 381.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 1.533e-06/0.01439, allocations: 3.938 kB / 381.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004413/0.01483, allocations: 272.6 kB / 382 MB, free: 14.62 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.282e-05/0.01489, allocations: 132.5 kB / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000256/0.01515, allocations: 338.5 kB / 382.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.01517, allocations: 37.7 kB / 382.5 MB, free: 14.07 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.01529, allocations: 227.1 kB / 382.7 MB, free: 13.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.327e-05/0.01534, allocations: 83.44 kB / 382.8 MB, free: 13.76 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.412e-05/0.01542, allocations: 71.58 kB / 382.9 MB, free: 13.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.01557, allocations: 0.5118 MB / 383.4 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.759e-05/0.01565, allocations: 40.53 kB / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.01579, allocations: 194.9 kB / 383.6 MB, free: 12.87 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002149/0.016, allocations: 220.4 kB / 383.9 MB, free: 12.61 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.016, allocations: 0 / 383.9 MB, free: 12.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004125/0.01642, allocations: 284 kB / 384.1 MB, free: 12.33 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.01644, allocations: 4 kB / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.01645, allocations: 4 kB / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.01647, allocations: 4 kB / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002605/0.01673, allocations: 59.91 kB / 384.2 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.01674, allocations: 7.938 kB / 384.2 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/0.01688, allocations: 31.78 kB / 384.2 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.893e-05/0.01691, allocations: 15.98 kB / 384.3 MB, free: 12.2 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.city.data.nextTimeEvent,$whenCondition1,city.data.nextTimeEventScaled,$PRE.city.data.nextTimeEventScaled,city.data.nextTimeEvent,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0001205/0.01703, allocations: 175.9 kB / 384.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.822e-05/0.01708, allocations: 43.8 kB / 384.5 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003956/0.01747, allocations: 292 kB / 384.8 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.01748, allocations: 7.984 kB / 384.8 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.01748, allocations: 0 / 384.8 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.01749, allocations: 4 kB / 384.8 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006139/0.0181, allocations: 0.6615 MB / 385.4 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.0181, allocations: 0 / 385.4 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001583/0.01826, allocations: 59.91 kB / 385.5 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.105e-06/0.01827, allocations: 4 kB / 385.5 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.483e-05/0.0183, allocations: 12 kB / 385.5 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.0183, allocations: 0 / 385.5 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.0183, allocations: 0 / 385.5 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004421/0.01874, allocations: 433.6 kB / 385.9 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.002e-05/0.01878, allocations: 47.62 kB / 386 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.221e-05/0.01883, allocations: 12 kB / 386 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.213e-05/0.01891, allocations: 8 kB / 386 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.951e-05/0.01897, allocations: 19.95 kB / 386 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.981e-05/0.01899, allocations: 23.92 kB / 386 MB, free: 10.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001504/0.01914, allocations: 231 kB / 386.3 MB, free: 10.11 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01914, allocations: 4 kB / 386.3 MB, free: 10.11 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003104/0.01945, allocations: 103.8 kB / 386.4 MB, free: 10 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (system.initime,$whenCondition1,city.data.nextTimeEvent,city.data.nextTimeEventScaled) * Number of discrete states: 2 (city.data.nextTimeEvent,city.data.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001058/0.02051, allocations: 0.4964 MB / 386.9 MB, free: 9.695 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002808/0.02079, allocations: 168.3 kB / 387 MB, free: 9.527 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.02079, allocations: 0 / 387 MB, free: 9.527 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001204/0.02091, allocations: 107.5 kB / 387.1 MB, free: 9.418 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.02123, allocations: 52.95 kB / 387.2 MB, free: 9.367 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/0.02234, allocations: 0.5858 MB / 387.8 MB, free: 8.742 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.983e-05/0.02243, allocations: 113.8 kB / 387.9 MB, free: 8.609 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001285/0.02256, allocations: 74.89 kB / 388 MB, free: 8.535 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.377e-05/0.02265, allocations: 48.48 kB / 388 MB, free: 8.488 MB / 362.7 MB Notification: Performance of SimCode: time 1.012e-06/0.02265, allocations: 0 / 388 MB, free: 8.488 MB / 362.7 MB Notification: Performance of Templates: time 0.006441/0.02909, allocations: 4.442 MB / 392.4 MB, free: 4.09 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.CityTest.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.CityTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.CityTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.CityTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.CityTest.sim & ./PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.CityTest -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.CityTest.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.CityTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.PowerWorld.Test.CityTest.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.1365352678112686]