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.001365/0.001365, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001476/0.001476, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.9504/0.9504, allocations: 177.1 MB / 205 MB, free: 5.598 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.2437/0.2437, allocations: 29.42 MB / 290.9 MB, free: 2.504 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.453e-06/1.453e-06, allocations: 0 / 369.6 MB, free: 11.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.546e-05/1.691e-05, allocations: 6.25 kB / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.CityTest): time 0.003699/0.003716, allocations: 3.759 MB / 373.4 MB, free: 7.234 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002115/0.005831, allocations: 1.609 MB / 375 MB, free: 5.617 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001371/0.005968, allocations: 11.94 kB / 375 MB, free: 5.605 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000567/0.006535, allocations: 250.8 kB / 375.3 MB, free: 5.359 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004141/0.006949, allocations: 298.5 kB / 375.5 MB, free: 5.066 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002461/0.007195, allocations: 183.2 kB / 375.7 MB, free: 4.887 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003303/0.007525, allocations: 454.8 kB / 376.2 MB, free: 4.441 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002175/0.007743, allocations: 162 kB / 376.3 MB, free: 4.289 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003207/0.008063, allocations: 275.1 kB / 376.6 MB, free: 4.02 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000182/0.008245, allocations: 175.6 kB / 376.8 MB, free: 3.848 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.878e-05/0.008284, allocations: 28 kB / 376.8 MB, free: 3.82 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003399/0.008624, allocations: 327.1 kB / 377.1 MB, free: 3.5 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.833e-05/0.008722, allocations: 131.6 kB / 377.2 MB, free: 3.371 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.156e-05/0.008804, allocations: 103.7 kB / 377.3 MB, free: 3.27 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000439/0.009243, allocations: 466.5 kB / 377.8 MB, free: 2.812 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.009245, allocations: 4 kB / 377.8 MB, free: 2.809 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.009246, allocations: 0 / 377.8 MB, free: 2.809 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.918e-06/0.00925, allocations: 0 / 377.8 MB, free: 2.809 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.0005911/0.009841, allocations: 0.6864 MB / 378.5 MB, free: 2.082 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.071e-05/0.009872, allocations: 15.98 kB / 378.5 MB, free: 2.066 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004245/0.0103, allocations: 136.5 kB / 378.6 MB, free: 1.934 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002916/0.01059, allocations: 283.5 kB / 378.9 MB, free: 1.629 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.0106, allocations: 12.75 kB / 378.9 MB, free: 1.617 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.584e-05/0.01063, allocations: 20.38 kB / 378.9 MB, free: 1.598 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003084/0.01094, allocations: 303.9 kB / 379.2 MB, free: 1.258 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.01095, allocations: 7.938 kB / 379.3 MB, free: 1.25 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.01097, allocations: 8 kB / 379.3 MB, free: 1.242 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.759e-05/0.01099, allocations: 20.36 kB / 379.3 MB, free: 1.223 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003058/0.0113, allocations: 236.7 kB / 379.5 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001068/0.01237, allocations: 1.487 MB / 381 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003667/0.01273, allocations: 262.1 kB / 381.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.956e-05/0.01281, allocations: 59.34 kB / 381.3 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.01283, allocations: 4 kB / 381.3 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001864/0.01302, allocations: 160 kB / 381.5 MB, free: 14.89 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 1.482e-06/0.01302, allocations: 0 / 381.5 MB, free: 14.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004166/0.01344, allocations: 268.4 kB / 381.7 MB, free: 14.62 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.728e-05/0.01349, allocations: 132.5 kB / 381.9 MB, free: 14.46 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005193/0.01401, allocations: 342.5 kB / 382.2 MB, free: 14.11 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.01403, allocations: 33.7 kB / 382.2 MB, free: 14.07 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.509e-05/0.01413, allocations: 231 kB / 382.5 MB, free: 13.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.042e-05/0.01418, allocations: 87.44 kB / 382.5 MB, free: 13.76 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.547e-05/0.01424, allocations: 63.59 kB / 382.6 MB, free: 13.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.01437, allocations: 0.5196 MB / 383.1 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.064e-05/0.01444, allocations: 40.53 kB / 383.2 MB, free: 13.11 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.01456, allocations: 186.9 kB / 383.3 MB, free: 12.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002073/0.01477, allocations: 216.4 kB / 383.6 MB, free: 12.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.01477, allocations: 4 kB / 383.6 MB, free: 12.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003031/0.01508, allocations: 283.8 kB / 383.8 MB, free: 12.33 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.01509, allocations: 8 kB / 383.8 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.01509, allocations: 0 / 383.8 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.01511, allocations: 4 kB / 383.9 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.01526, allocations: 67.89 kB / 383.9 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.01527, allocations: 7.938 kB / 383.9 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.955e-05/0.01534, allocations: 23.84 kB / 383.9 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.707e-05/0.01536, allocations: 12 kB / 384 MB, free: 12.21 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 9.417e-05/0.01545, allocations: 195.4 kB / 384.2 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.067e-05/0.01549, allocations: 39.84 kB / 384.2 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003393/0.01583, allocations: 288 kB / 384.5 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.01583, allocations: 4 kB / 384.5 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.01584, allocations: 0 / 384.5 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.01584, allocations: 3.984 kB / 384.5 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005675/0.01641, allocations: 0.6615 MB / 385.1 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.01642, allocations: 4 kB / 385.1 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/0.01654, allocations: 59.91 kB / 385.2 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.01654, allocations: 4 kB / 385.2 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.01655, allocations: 11.98 kB / 385.2 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.01655, allocations: 4 kB / 385.2 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.01656, allocations: 0 / 385.2 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003209/0.01688, allocations: 429.6 kB / 385.6 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.013e-05/0.01691, allocations: 39.69 kB / 385.7 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.937e-05/0.01694, allocations: 15.94 kB / 385.7 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.671e-05/0.017, allocations: 4 kB / 385.7 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.87e-05/0.01704, allocations: 27.95 kB / 385.7 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.01706, allocations: 15.94 kB / 385.7 MB, free: 10.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001376/0.01719, allocations: 235 kB / 386 MB, free: 10.11 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01719, allocations: 0 / 386 MB, free: 10.11 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002553/0.01745, allocations: 103.8 kB / 386.1 MB, free: 10.01 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.0009409/0.01839, allocations: 0.5033 MB / 386.6 MB, free: 9.688 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002471/0.01864, allocations: 172.2 kB / 386.7 MB, free: 9.516 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.01864, allocations: 0 / 386.7 MB, free: 9.516 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.01875, allocations: 95.52 kB / 386.8 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.0002727/0.01902, allocations: 65.83 kB / 386.9 MB, free: 9.359 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009346/0.01996, allocations: 0.5858 MB / 387.5 MB, free: 8.734 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.099e-05/0.02003, allocations: 118 kB / 387.6 MB, free: 8.598 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001207/0.02015, allocations: 74.89 kB / 387.7 MB, free: 8.523 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.459e-05/0.02022, allocations: 40.48 kB / 387.7 MB, free: 8.484 MB / 362.7 MB Notification: Performance of SimCode: time 7.51e-07/0.02022, allocations: 0 / 387.7 MB, free: 8.484 MB / 362.7 MB Notification: Performance of Templates: time 0.006191/0.02641, allocations: 4.444 MB / 392.2 MB, free: 4.082 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.268090110272169]