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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 186 kB / 22.21 MB, free: 116 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 225.6 MB / 250.8 MB, free: 13.42 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1805/0.1805, allocations: 38.53 MB / 344.5 MB, free: 2.598 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.PowerWorld.Test.CityTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|city.p.1.|city.p.2.",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.1.|city.p.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.CityTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 75.88 kB / 482.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3482/0.3501, allocations: 61.25 MB / 0.5306 GB, free: 5.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.CityTest): time 0.005754/0.3558, allocations: 3.709 MB / 0.5342 GB, free: 2.926 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002502/0.3583, allocations: 1.835 MB / 0.536 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001669/0.3585, allocations: 9.312 kB / 0.536 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009135/0.3594, allocations: 236.5 kB / 0.5362 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005863/0.36, allocations: 260.7 kB / 0.5365 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005832/0.3606, allocations: 223 kB / 0.5367 GB, free: 1.145 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004048/0.361, allocations: 436.4 kB / 0.5371 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002593/0.3613, allocations: 139 kB / 0.5372 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000333/0.3616, allocations: 193.2 kB / 0.5374 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002108/0.3618, allocations: 180.2 kB / 0.5376 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.338e-05/0.3618, allocations: 27.75 kB / 0.5376 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000478/0.3623, allocations: 327.8 kB / 0.5379 GB, free: 424 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001047/0.3624, allocations: 125.3 kB / 0.538 GB, free: 340 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.3625, allocations: 154.9 kB / 0.5382 GB, free: 224 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000673/0.3632, allocations: 0.5121 MB / 0.5387 GB, free: 15.88 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.3632, allocations: 1.281 kB / 0.5387 GB, free: 15.88 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3632, allocations: 0 / 0.5387 GB, free: 15.88 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.485e-06/0.3632, allocations: 3.938 kB / 0.5387 GB, free: 15.88 MB / 398.1 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.0009411/0.3642, allocations: 0.6342 MB / 0.5393 GB, free: 15.29 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.3642, allocations: 12.83 kB / 0.5393 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007614/0.365, allocations: 90 kB / 0.5394 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005362/0.3655, allocations: 377.2 kB / 0.5398 GB, free: 14.9 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.469e-05/0.3655, allocations: 16.78 kB / 0.5398 GB, free: 14.89 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.203e-05/0.3656, allocations: 20.28 kB / 0.5398 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006017/0.3662, allocations: 360.9 kB / 0.5401 GB, free: 14.63 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.3662, allocations: 1.031 kB / 0.5401 GB, free: 14.63 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.568e-05/0.3662, allocations: 14 kB / 0.5402 GB, free: 14.62 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.365e-05/0.3663, allocations: 21.06 kB / 0.5402 GB, free: 14.61 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006043/0.3669, allocations: 386.7 kB / 0.5405 GB, free: 14.43 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001942/0.3688, allocations: 1.553 MB / 0.5421 GB, free: 13.04 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005885/0.3694, allocations: 302.2 kB / 0.5424 GB, free: 12.87 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001803/0.3696, allocations: 96.67 kB / 0.5424 GB, free: 12.81 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.716e-05/0.3696, allocations: 9.656 kB / 0.5425 GB, free: 12.81 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003443/0.37, allocations: 200 kB / 0.5426 GB, free: 12.65 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 2.014e-06/0.37, allocations: 0 / 0.5426 GB, free: 12.65 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.0007974/0.3708, allocations: 384.9 kB / 0.543 GB, free: 12.46 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.606e-05/0.3709, allocations: 131.7 kB / 0.5431 GB, free: 12.31 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003729/0.3712, allocations: 298.9 kB / 0.5434 GB, free: 12.11 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.17e-05/0.3713, allocations: 29.7 kB / 0.5435 GB, free: 12.08 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.3714, allocations: 176.9 kB / 0.5436 GB, free: 11.92 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.576e-05/0.3715, allocations: 92.64 kB / 0.5437 GB, free: 11.84 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.809e-05/0.3716, allocations: 60.25 kB / 0.5438 GB, free: 11.79 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.3717, allocations: 342.7 kB / 0.5441 GB, free: 11.46 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001771/0.3719, allocations: 96.73 kB / 0.5442 GB, free: 11.41 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002423/0.3722, allocations: 182.2 kB / 0.5444 GB, free: 11.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004445/0.3726, allocations: 298 kB / 0.5446 GB, free: 11.05 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.3726, allocations: 5.5 kB / 0.5446 GB, free: 11.04 MB / 398.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005777/0.3732, allocations: 357.5 kB / 0.545 GB, free: 10.86 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.3732, allocations: 5.312 kB / 0.545 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.3732, allocations: 3.188 kB / 0.545 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.3732, allocations: 4.312 kB / 0.545 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002512/0.3735, allocations: 65.34 kB / 0.5451 GB, free: 10.85 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.466e-05/0.3735, allocations: 15.3 kB / 0.5451 GB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001472/0.3736, allocations: 27.78 kB / 0.5451 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.772e-05/0.3737, allocations: 14.97 kB / 0.5451 GB, free: 10.81 MB / 398.1 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.0001907/0.3739, allocations: 178.3 kB / 0.5453 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.08e-05/0.3739, allocations: 34.33 kB / 0.5453 GB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006338/0.3745, allocations: 333.5 kB / 0.5456 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.3746, allocations: 4.375 kB / 0.5456 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.3746, allocations: 0 / 0.5456 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.3746, allocations: 9.5 kB / 0.5457 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001036/0.3756, allocations: 0.7375 MB / 0.5464 GB, free: 9.887 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.3756, allocations: 1.125 kB / 0.5464 GB, free: 9.887 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001582/0.3758, allocations: 42.16 kB / 0.5464 GB, free: 9.879 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.3758, allocations: 8.969 kB / 0.5464 GB, free: 9.871 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.236e-05/0.3758, allocations: 16.16 kB / 0.5464 GB, free: 9.859 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.3758, allocations: 1.406 kB / 0.5464 GB, free: 9.859 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3758, allocations: 1.906 kB / 0.5464 GB, free: 9.859 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005506/0.3763, allocations: 414 kB / 0.5468 GB, free: 9.586 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.458e-05/0.3764, allocations: 106.4 kB / 0.5469 GB, free: 9.473 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.259e-05/0.3765, allocations: 11.75 kB / 0.547 GB, free: 9.465 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.3766, allocations: 11.95 kB / 0.547 GB, free: 9.457 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.371e-05/0.3767, allocations: 12.86 kB / 0.547 GB, free: 9.453 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.787e-05/0.3767, allocations: 19.3 kB / 0.547 GB, free: 9.441 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002287/0.3769, allocations: 218.2 kB / 0.5472 GB, free: 9.293 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3769, allocations: 3.938 kB / 0.5472 GB, free: 9.289 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003947/0.3773, allocations: 73.8 kB / 0.5473 GB, free: 9.273 MB / 398.1 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 (25): * Single equations (assignments): 22 * 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.001594/0.3789, allocations: 465.9 kB / 0.5477 GB, free: 9.051 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004817/0.3794, allocations: 242.8 kB / 0.548 GB, free: 8.945 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3794, allocations: 0 / 0.548 GB, free: 8.945 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001897/0.3796, allocations: 104.3 kB / 0.5481 GB, free: 8.902 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004736/0.3801, allocations: 69.42 kB / 0.5481 GB, free: 8.863 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.3811, allocations: 0.6038 MB / 0.5487 GB, free: 8.453 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004298/0.3815, allocations: 0.7947 MB / 0.5495 GB, free: 7.699 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002041/0.3817, allocations: 85.28 kB / 0.5496 GB, free: 7.668 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.153e-05/0.3818, allocations: 40.55 kB / 0.5496 GB, free: 7.652 MB / 398.1 MB Notification: Performance of SimCode: time 8.41e-07/0.3818, allocations: 0 / 0.5496 GB, free: 7.652 MB / 398.1 MB Notification: Performance of Templates: time 0.008352/0.3902, allocations: 3.704 MB / 0.5532 GB, free: 5.062 MB / 398.1 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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.CityTest.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.CityTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.PowerWorld.Test.CityTest.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.CityTest.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.99541852530092]