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.001064/0.001064, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001394/0.002458, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001012/0.001012, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001311/0.002323, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.016/1.016, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0835/1.1, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1189/0.1189, allocations: 29.44 MB / 273.4 MB, free: 1.48 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.114/0.2328, allocations: 9.529 MB / 283 MB, free: 12.85 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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="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="city.p.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.CityTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 284.2 MB, free: 11.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.987e-06/1.027e-05, allocations: 2.969 kB / 284.2 MB, free: 11.94 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.CityTest): time 0.003274/0.003284, allocations: 3.827 MB / 288.1 MB, free: 8.883 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001654/0.004937, allocations: 1.652 MB / 289.7 MB, free: 7.625 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.00504, allocations: 9.312 kB / 289.7 MB, free: 7.621 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004897/0.005529, allocations: 281.6 kB / 290 MB, free: 7.414 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004423/0.005972, allocations: 308.5 kB / 290.3 MB, free: 7.18 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002244/0.006196, allocations: 183.2 kB / 290.5 MB, free: 7.043 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003883/0.006584, allocations: 464.1 kB / 290.9 MB, free: 6.797 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002371/0.006821, allocations: 157.6 kB / 291.1 MB, free: 6.723 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003719/0.007193, allocations: 306.3 kB / 291.4 MB, free: 6.531 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002064/0.0074, allocations: 168.8 kB / 291.5 MB, free: 6.438 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.61e-05/0.007436, allocations: 33.66 kB / 291.6 MB, free: 6.434 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006676/0.008103, allocations: 340.6 kB / 291.9 MB, free: 6.266 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001692/0.008273, allocations: 109.9 kB / 292 MB, free: 6.227 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001318/0.008404, allocations: 83.47 kB / 292.1 MB, free: 6.215 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006626/0.009067, allocations: 435.5 kB / 292.5 MB, free: 6.008 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.552e-05/0.009083, allocations: 1.219 kB / 292.5 MB, free: 6.008 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.009084, allocations: 3.938 kB / 292.5 MB, free: 6.004 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.659e-05/0.0091, allocations: 0 / 292.5 MB, free: 6.004 MB / 282.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.0007939/0.009894, allocations: 0.637 MB / 293.2 MB, free: 5.512 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.054e-05/0.009925, allocations: 9.656 kB / 293.2 MB, free: 5.512 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004851/0.01041, allocations: 202.4 kB / 293.4 MB, free: 5.363 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003153/0.01073, allocations: 261 kB / 293.6 MB, free: 5.145 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.01074, allocations: 17.06 kB / 293.6 MB, free: 5.137 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.275e-05/0.01077, allocations: 16.38 kB / 293.7 MB, free: 5.133 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003051/0.01107, allocations: 276 kB / 293.9 MB, free: 4.902 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.01108, allocations: 8.969 kB / 293.9 MB, free: 4.895 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.979e-05/0.0111, allocations: 10.47 kB / 294 MB, free: 4.887 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.961e-05/0.01113, allocations: 15.77 kB / 294 MB, free: 4.883 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002149/0.01135, allocations: 166.9 kB / 294.1 MB, free: 4.805 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008802/0.01223, allocations: 1.035 MB / 295.2 MB, free: 3.715 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003099/0.01254, allocations: 254.6 kB / 295.4 MB, free: 3.445 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.272e-05/0.01259, allocations: 45.7 kB / 295.5 MB, free: 3.395 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.01261, allocations: 4 kB / 295.5 MB, free: 3.391 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001613/0.01277, allocations: 147 kB / 295.6 MB, free: 3.227 MB / 282.7 MB Notification: Performance of pre-optimization done (n=24): time 1.182e-06/0.01277, allocations: 0 / 295.6 MB, free: 3.227 MB / 282.7 MB Notification: Performance of matching and sorting (n=24): time 0.000239/0.01301, allocations: 160.3 kB / 295.8 MB, free: 3.062 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.01305, allocations: 110.8 kB / 295.9 MB, free: 2.93 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001807/0.01323, allocations: 268.9 kB / 296.1 MB, free: 2.656 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.01325, allocations: 37.7 kB / 296.2 MB, free: 2.613 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.722e-05/0.01332, allocations: 160.7 kB / 296.3 MB, free: 2.453 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.732e-05/0.01337, allocations: 83.34 kB / 296.4 MB, free: 2.371 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.674e-05/0.01342, allocations: 57.86 kB / 296.5 MB, free: 2.305 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.182e-05/0.01352, allocations: 350.7 kB / 296.8 MB, free: 1.953 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.567e-05/0.01356, allocations: 31.38 kB / 296.8 MB, free: 1.922 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.571e-05/0.01365, allocations: 137.8 kB / 297 MB, free: 1.746 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001456/0.01379, allocations: 172.4 kB / 297.1 MB, free: 1.543 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.0138, allocations: 0 / 297.1 MB, free: 1.543 MB / 282.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002185/0.01401, allocations: 183.4 kB / 297.3 MB, free: 1.359 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.01403, allocations: 4 kB / 297.3 MB, free: 1.355 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.01403, allocations: 4 kB / 297.3 MB, free: 1.352 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.01405, allocations: 4 kB / 297.3 MB, free: 1.348 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002202/0.01427, allocations: 79.88 kB / 297.4 MB, free: 1.27 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.01427, allocations: 11.88 kB / 297.4 MB, free: 1.258 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.881e-05/0.01435, allocations: 27.83 kB / 297.4 MB, free: 1.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.01436, allocations: 4 kB / 297.5 MB, free: 1.227 MB / 282.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 9.586e-05/0.01446, allocations: 136.8 kB / 297.6 MB, free: 1.082 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.072e-05/0.01449, allocations: 23.98 kB / 297.6 MB, free: 1.059 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002308/0.01472, allocations: 192.1 kB / 297.8 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.01473, allocations: 4 kB / 297.8 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.676e-06/0.01473, allocations: 3.938 kB / 297.8 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.01473, allocations: 3.984 kB / 297.8 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000662/0.0154, allocations: 474.7 kB / 298.3 MB, free: 368 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.0154, allocations: 4 kB / 298.3 MB, free: 364 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001541/0.01555, allocations: 67.89 kB / 298.3 MB, free: 296 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.135e-05/0.01558, allocations: 35.75 kB / 298.4 MB, free: 260 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.93e-06/0.01559, allocations: 7.938 kB / 298.4 MB, free: 252 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.0156, allocations: 11.98 kB / 298.4 MB, free: 240 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.01561, allocations: 0 / 298.4 MB, free: 240 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.01561, allocations: 4 kB / 298.4 MB, free: 236 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002476/0.01586, allocations: 315.1 kB / 298.7 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.406e-05/0.01589, allocations: 19.81 kB / 298.7 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.141e-05/0.01596, allocations: 8 kB / 298.7 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.861e-05/0.016, allocations: 23.95 kB / 298.8 MB, free: 15.85 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.01601, allocations: 8 kB / 298.8 MB, free: 15.84 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.462e-05/0.0161, allocations: 115.4 kB / 298.9 MB, free: 15.73 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0161, allocations: 0 / 298.9 MB, free: 15.73 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002808/0.01638, allocations: 99.81 kB / 299 MB, free: 15.63 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.001527/0.01791, allocations: 0.7085 MB / 299.7 MB, free: 15.32 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001954/0.0181, allocations: 125.2 kB / 299.8 MB, free: 15.2 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.186e-05/0.01811, allocations: 4.625 kB / 299.8 MB, free: 15.2 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.94e-05/0.01819, allocations: 88.66 kB / 299.9 MB, free: 15.11 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.01852, allocations: 92 kB / 300 MB, free: 15.02 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004437/0.02296, allocations: 0.5974 MB / 300.6 MB, free: 14.39 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.345e-05/0.02303, allocations: 118 kB / 300.7 MB, free: 14.25 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001353/0.02317, allocations: 46.94 kB / 300.7 MB, free: 14.2 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001482/0.02332, allocations: 107.3 kB / 300.9 MB, free: 14.1 MB / 298.7 MB Notification: Performance of SimCode: time 1.072e-06/0.02332, allocations: 4 kB / 300.9 MB, free: 14.09 MB / 298.7 MB Notification: Performance of Templates: time 0.007305/0.03062, allocations: 5.029 MB / 305.9 MB, free: 9.141 MB / 298.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 -ignoreHideResult -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: 2.958209775388241]