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.0009702/0.0009702, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00139/0.00236, allocations: 449.8 kB / 10.44 MB, free: 252 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.0009248/0.0009248, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001404/0.002329, allocations: 479.5 kB / 11.82 MB, free: 2.344 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 0.9317/0.9317, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07728/1.009, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.1126/0.1126, allocations: 29.45 MB / 273.6 MB, free: 1.402 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1068/0.2193, allocations: 9.534 MB / 283.1 MB, free: 12.82 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.052e-06/1.052e-06, allocations: 0 / 284.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.985e-06/9.037e-06, allocations: 4.875 kB / 284.5 MB, free: 11.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.CityTest): time 0.003177/0.003186, allocations: 3.838 MB / 288.3 MB, free: 8.797 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001716/0.004902, allocations: 1.649 MB / 289.9 MB, free: 7.539 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001291/0.005031, allocations: 9.438 kB / 289.9 MB, free: 7.535 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005367/0.005568, allocations: 284.8 kB / 290.2 MB, free: 7.324 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004492/0.006017, allocations: 309.9 kB / 290.5 MB, free: 7.09 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002994/0.006317, allocations: 193.7 kB / 290.7 MB, free: 6.941 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004324/0.006749, allocations: 463.8 kB / 291.2 MB, free: 6.695 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002529/0.007002, allocations: 158.4 kB / 291.3 MB, free: 6.621 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004569/0.007459, allocations: 306.6 kB / 291.6 MB, free: 6.43 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002404/0.007699, allocations: 176.2 kB / 291.8 MB, free: 6.328 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.717e-05/0.007736, allocations: 29.78 kB / 291.8 MB, free: 6.328 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004331/0.00817, allocations: 328.2 kB / 292.1 MB, free: 6.172 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001094/0.008279, allocations: 115.8 kB / 292.3 MB, free: 6.129 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.69e-05/0.008366, allocations: 86.44 kB / 292.3 MB, free: 6.113 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004992/0.008865, allocations: 440.3 kB / 292.8 MB, free: 5.902 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.012e-05/0.008875, allocations: 3.984 kB / 292.8 MB, free: 5.898 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.008876, allocations: 1.375 kB / 292.8 MB, free: 5.898 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.428e-06/0.008886, allocations: 0 / 292.8 MB, free: 5.898 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.0006574/0.009543, allocations: 0.6319 MB / 293.4 MB, free: 5.406 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.009574, allocations: 10.78 kB / 293.4 MB, free: 5.406 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004387/0.01001, allocations: 193.4 kB / 293.6 MB, free: 5.266 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002694/0.01028, allocations: 269.8 kB / 293.9 MB, free: 5.031 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.0103, allocations: 13.25 kB / 293.9 MB, free: 5.027 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.438e-05/0.01033, allocations: 20.89 kB / 293.9 MB, free: 5.02 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003307/0.01066, allocations: 275.5 kB / 294.2 MB, free: 4.797 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.01067, allocations: 3.938 kB / 294.2 MB, free: 4.793 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.838e-05/0.01069, allocations: 7.062 kB / 294.2 MB, free: 4.789 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.809e-05/0.01072, allocations: 19.27 kB / 294.2 MB, free: 4.781 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002701/0.01099, allocations: 173.3 kB / 294.4 MB, free: 4.676 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008349/0.01182, allocations: 1.035 MB / 295.4 MB, free: 3.586 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003044/0.01213, allocations: 250.6 kB / 295.7 MB, free: 3.32 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.146e-05/0.01218, allocations: 41.7 kB / 295.7 MB, free: 3.273 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.0122, allocations: 12 kB / 295.7 MB, free: 3.262 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001527/0.01235, allocations: 146.9 kB / 295.9 MB, free: 3.098 MB / 282.7 MB Notification: Performance of pre-optimization done (n=24): time 1.103e-06/0.01235, allocations: 0 / 295.9 MB, free: 3.098 MB / 282.7 MB Notification: Performance of matching and sorting (n=24): time 0.0002229/0.01257, allocations: 162.4 kB / 296 MB, free: 2.934 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.01261, allocations: 106.8 kB / 296.1 MB, free: 2.805 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001681/0.01278, allocations: 272.6 kB / 296.4 MB, free: 2.523 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.0128, allocations: 33.7 kB / 296.4 MB, free: 2.484 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.022e-05/0.01286, allocations: 156.8 kB / 296.6 MB, free: 2.328 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.123e-05/0.0129, allocations: 83.59 kB / 296.6 MB, free: 2.246 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.704e-05/0.01296, allocations: 65.91 kB / 296.7 MB, free: 2.172 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.32e-05/0.01303, allocations: 342.7 kB / 297 MB, free: 1.828 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.147e-05/0.01307, allocations: 39.25 kB / 297.1 MB, free: 1.789 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.985e-05/0.01315, allocations: 137 kB / 297.2 MB, free: 1.613 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.01329, allocations: 178.1 kB / 297.4 MB, free: 1.406 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.01329, allocations: 0 / 297.4 MB, free: 1.406 MB / 282.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001763/0.01347, allocations: 176.1 kB / 297.6 MB, free: 1.227 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.01348, allocations: 8.312 kB / 297.6 MB, free: 1.219 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.01349, allocations: 8 kB / 297.6 MB, free: 1.211 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.0135, allocations: 4 kB / 297.6 MB, free: 1.207 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002087/0.01371, allocations: 79.88 kB / 297.7 MB, free: 1.129 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.01372, allocations: 11.88 kB / 297.7 MB, free: 1.117 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.097e-05/0.01379, allocations: 23.83 kB / 297.7 MB, free: 1.094 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.0138, allocations: 4 kB / 297.7 MB, free: 1.09 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 0.0002302/0.01403, allocations: 132.6 kB / 297.8 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.063e-05/0.01406, allocations: 23.98 kB / 297.9 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002111/0.01427, allocations: 200.1 kB / 298.1 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.01428, allocations: 4 kB / 298.1 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.01428, allocations: 3.938 kB / 298.1 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.01429, allocations: 7.984 kB / 298.1 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/0.01445, allocations: 189.5 kB / 298.3 MB, free: 0.5 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.01445, allocations: 4 kB / 298.3 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001337/0.01459, allocations: 73.3 kB / 298.3 MB, free: 436 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.714e-05/0.01461, allocations: 31.75 kB / 298.4 MB, free: 404 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.01462, allocations: 0 / 298.4 MB, free: 404 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.01463, allocations: 11.98 kB / 298.4 MB, free: 392 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.01463, allocations: 4 kB / 298.4 MB, free: 388 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.01463, allocations: 11.88 kB / 298.4 MB, free: 376 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001601/0.01479, allocations: 202 kB / 298.6 MB, free: 148 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.076e-05/0.01482, allocations: 12 kB / 298.6 MB, free: 136 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.815e-05/0.01487, allocations: 8 kB / 298.6 MB, free: 128 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.687e-05/0.01491, allocations: 23.89 kB / 298.6 MB, free: 104 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.01492, allocations: 12 kB / 298.6 MB, free: 92 kB / 282.7 MB Notification: Performance of sorting global known variables: time 8.75e-05/0.01501, allocations: 103.6 kB / 298.7 MB, free: 15.98 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01501, allocations: 0 / 298.7 MB, free: 15.98 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002135/0.01522, allocations: 111.7 kB / 298.8 MB, free: 15.87 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 ($whenCondition1,city.data.nextTimeEvent,city.data.nextTimeEventScaled,system.initime) * 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.001365/0.01659, allocations: 0.7168 MB / 299.6 MB, free: 15.57 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001797/0.01677, allocations: 140.5 kB / 299.7 MB, free: 15.43 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.939e-06/0.01678, allocations: 4 kB / 299.7 MB, free: 15.42 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.01688, allocations: 110.7 kB / 299.8 MB, free: 15.31 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002968/0.01718, allocations: 384.1 kB / 300.2 MB, free: 14.88 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003686/0.02087, allocations: 0.578 MB / 300.8 MB, free: 14.26 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.883e-05/0.02092, allocations: 118 kB / 300.9 MB, free: 14.13 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.09e-05/0.02102, allocations: 42.95 kB / 300.9 MB, free: 14.09 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/0.02115, allocations: 111.3 kB / 301 MB, free: 13.98 MB / 298.7 MB Notification: Performance of SimCode: time 6.61e-07/0.02115, allocations: 0 / 301 MB, free: 13.98 MB / 298.7 MB Notification: Performance of Templates: time 0.005974/0.02713, allocations: 5.041 MB / 306.1 MB, free: 9.008 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8882242450490594]