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.0009455/0.0009455, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001045/0.001045, allocations: 169.4 kB / 24.91 MB, free: 8.762 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.009/1.009, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.2316/0.2316, allocations: 29.42 MB / 291.2 MB, free: 2.496 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.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.773e-06/1.773e-06, allocations: 0 / 316.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.868e-05/3.046e-05, allocations: 3.016 kB / 316.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.CityTest): time 0.004799/0.004829, allocations: 3.806 MB / 320.7 MB, free: 12.15 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001977/0.006806, allocations: 1.636 MB / 322.3 MB, free: 10.5 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001536/0.00696, allocations: 11.94 kB / 322.3 MB, free: 10.49 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006596/0.007619, allocations: 222.8 kB / 322.6 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004976/0.008117, allocations: 298.5 kB / 322.9 MB, free: 9.98 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003161/0.008433, allocations: 183.2 kB / 323 MB, free: 9.801 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004183/0.008851, allocations: 459 kB / 323.5 MB, free: 9.352 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002479/0.009099, allocations: 171.9 kB / 323.6 MB, free: 9.184 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003713/0.009471, allocations: 267.2 kB / 323.9 MB, free: 8.922 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000198/0.009669, allocations: 167.5 kB / 324.1 MB, free: 8.758 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.151e-05/0.0097, allocations: 32 kB / 324.1 MB, free: 8.727 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004128/0.01011, allocations: 327.2 kB / 324.4 MB, free: 8.406 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.637e-05/0.01021, allocations: 131.6 kB / 324.6 MB, free: 8.277 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.553e-05/0.01028, allocations: 95.77 kB / 324.6 MB, free: 8.184 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004665/0.01075, allocations: 478.4 kB / 325.1 MB, free: 7.715 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.01075, allocations: 4 kB / 325.1 MB, free: 7.711 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.01076, allocations: 0 / 325.1 MB, free: 7.711 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.01076, allocations: 0 / 325.1 MB, free: 7.711 MB / 298.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.0006955/0.01146, allocations: 0.5536 MB / 325.7 MB, free: 7.133 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.01149, allocations: 15.98 kB / 325.7 MB, free: 7.117 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004821/0.01197, allocations: 124.8 kB / 325.8 MB, free: 6.996 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002934/0.01227, allocations: 264.5 kB / 326.1 MB, free: 6.715 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.01228, allocations: 16.73 kB / 326.1 MB, free: 6.699 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.343e-05/0.01231, allocations: 20.38 kB / 326.1 MB, free: 6.68 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000306/0.01261, allocations: 266.9 kB / 326.4 MB, free: 6.379 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.01263, allocations: 3.938 kB / 326.4 MB, free: 6.375 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.147e-05/0.01265, allocations: 15.98 kB / 326.4 MB, free: 6.359 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.97e-05/0.01268, allocations: 16.36 kB / 326.4 MB, free: 6.344 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002165/0.0129, allocations: 166.4 kB / 326.6 MB, free: 6.18 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009286/0.01383, allocations: 1.027 MB / 327.6 MB, free: 5.098 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003307/0.01416, allocations: 251.2 kB / 327.8 MB, free: 4.832 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.436e-05/0.01421, allocations: 41.7 kB / 327.9 MB, free: 4.785 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.01423, allocations: 4 kB / 327.9 MB, free: 4.781 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001666/0.01439, allocations: 154.9 kB / 328 MB, free: 4.609 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 1.363e-06/0.0144, allocations: 8 kB / 328 MB, free: 4.602 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.000244/0.01464, allocations: 155.3 kB / 328.2 MB, free: 4.445 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.21e-05/0.01469, allocations: 132.5 kB / 328.3 MB, free: 4.285 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002375/0.01493, allocations: 276.6 kB / 328.6 MB, free: 4 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.961e-05/0.01496, allocations: 33.69 kB / 328.6 MB, free: 3.961 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.522e-05/0.01505, allocations: 156.8 kB / 328.8 MB, free: 3.805 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.784e-05/0.01512, allocations: 87.31 kB / 328.9 MB, free: 3.719 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.658e-05/0.01521, allocations: 61.88 kB / 328.9 MB, free: 3.648 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.01532, allocations: 343 kB / 329.3 MB, free: 3.305 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.984e-05/0.0154, allocations: 35.38 kB / 329.3 MB, free: 3.27 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.01553, allocations: 141 kB / 329.4 MB, free: 3.09 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002271/0.01576, allocations: 166.9 kB / 329.6 MB, free: 2.891 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.01576, allocations: 0 / 329.6 MB, free: 2.891 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000296/0.01606, allocations: 179.5 kB / 329.8 MB, free: 2.711 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.01607, allocations: 4 kB / 329.8 MB, free: 2.707 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.01608, allocations: 4 kB / 329.8 MB, free: 2.703 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.0161, allocations: 4 kB / 329.8 MB, free: 2.699 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003118/0.01641, allocations: 84.12 kB / 329.9 MB, free: 2.617 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.01642, allocations: 7.938 kB / 329.9 MB, free: 2.609 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001277/0.01655, allocations: 27.78 kB / 329.9 MB, free: 2.582 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.49e-05/0.01658, allocations: 8 kB / 329.9 MB, free: 2.574 MB / 298.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.0001416/0.01672, allocations: 132.6 kB / 330 MB, free: 2.434 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.692e-05/0.01675, allocations: 19.98 kB / 330 MB, free: 2.414 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000252/0.01701, allocations: 192.1 kB / 330.2 MB, free: 2.219 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.01701, allocations: 4 kB / 330.2 MB, free: 2.215 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.01701, allocations: 7.938 kB / 330.2 MB, free: 2.207 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.01702, allocations: 7.922 kB / 330.3 MB, free: 2.199 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003885/0.01741, allocations: 466.8 kB / 330.7 MB, free: 1.719 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.01741, allocations: 8 kB / 330.7 MB, free: 1.711 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001526/0.01756, allocations: 63.89 kB / 330.8 MB, free: 1.648 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.01757, allocations: 4 kB / 330.8 MB, free: 1.645 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.01758, allocations: 11.94 kB / 330.8 MB, free: 1.633 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.01759, allocations: 0 / 330.8 MB, free: 1.633 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.01759, allocations: 0 / 330.8 MB, free: 1.633 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002012/0.01779, allocations: 318.4 kB / 331.1 MB, free: 1.301 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.707e-05/0.01782, allocations: 35.75 kB / 331.1 MB, free: 1.266 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.197e-05/0.01785, allocations: 15.94 kB / 331.2 MB, free: 1.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.929e-05/0.01792, allocations: 7.984 kB / 331.2 MB, free: 1.242 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.951e-05/0.01796, allocations: 27.95 kB / 331.2 MB, free: 1.215 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.01797, allocations: 8 kB / 331.2 MB, free: 1.207 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.188e-05/0.01805, allocations: 107.4 kB / 331.3 MB, free: 1.094 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01805, allocations: 0 / 331.3 MB, free: 1.094 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002586/0.01831, allocations: 103.8 kB / 331.4 MB, free: 0.9922 MB / 298.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.001335/0.01965, allocations: 0.646 MB / 332.1 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001905/0.01984, allocations: 137.5 kB / 332.2 MB, free: 0.5586 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.01984, allocations: 7.938 kB / 332.2 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.734e-05/0.01992, allocations: 76.75 kB / 332.3 MB, free: 484 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002438/0.02016, allocations: 65.22 kB / 332.3 MB, free: 424 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009084/0.02107, allocations: 0.5836 MB / 332.9 MB, free: 15.79 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.065e-05/0.02114, allocations: 114 kB / 333 MB, free: 15.66 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001047/0.02125, allocations: 62.91 kB / 333.1 MB, free: 15.6 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/0.02139, allocations: 107.3 kB / 333.2 MB, free: 15.49 MB / 314.7 MB Notification: Performance of SimCode: time 7.12e-07/0.02139, allocations: 0 / 333.2 MB, free: 15.49 MB / 314.7 MB Notification: Performance of Templates: time 0.006489/0.02788, allocations: 4.944 MB / 338.1 MB, free: 10.63 MB / 314.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 -s gbode -gbm=radauIIA3 -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.2059217682108283]