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.001279/0.001279, allocations: 82.5 kB / 20.68 MB, free: 1.039 MB / 14.72 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.0014/0.0014, allocations: 164.4 kB / 23.95 MB, free: 4.172 MB / 14.72 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.391/1.391, allocations: 177.2 MB / 204.3 MB, free: 9.191 MB / 190.1 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.192/0.192, allocations: 29.42 MB / 290.1 MB, free: 3.301 MB / 270.1 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.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 1.093e-06/1.093e-06, allocations: 0 / 430.7 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.349e-05/2.459e-05, allocations: 2.281 kB / 430.7 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.CityTest): time 0.005027/0.005051, allocations: 3.603 MB / 434.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003008/0.008059, allocations: 1.819 MB / 436.1 MB, free: 12.51 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001234/0.008182, allocations: 15.88 kB / 436.1 MB, free: 12.5 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008394/0.009022, allocations: 238.8 kB / 436.4 MB, free: 12.26 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006327/0.009655, allocations: 302.5 kB / 436.7 MB, free: 11.96 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003915/0.01005, allocations: 183.2 kB / 436.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005371/0.01058, allocations: 462.7 kB / 437.3 MB, free: 11.33 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000312/0.0109, allocations: 161.9 kB / 437.5 MB, free: 11.18 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004727/0.01137, allocations: 271.2 kB / 437.7 MB, free: 10.91 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002739/0.01164, allocations: 175.4 kB / 437.9 MB, free: 10.74 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.42e-05/0.0117, allocations: 28 kB / 437.9 MB, free: 10.71 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005009/0.0122, allocations: 327.2 kB / 438.2 MB, free: 10.39 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000156/0.01235, allocations: 131.6 kB / 438.4 MB, free: 10.26 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001378/0.01249, allocations: 103.7 kB / 438.5 MB, free: 10.16 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000759/0.01325, allocations: 0.5959 MB / 439.1 MB, free: 9.562 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.01325, allocations: 0 / 439.1 MB, free: 9.562 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.21e-07/0.01325, allocations: 4 kB / 439.1 MB, free: 9.559 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.01326, allocations: 0 / 439.1 MB, free: 9.559 MB / 366.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.0009144/0.01417, allocations: 0.5826 MB / 439.7 MB, free: 8.938 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.0142, allocations: 8.031 kB / 439.7 MB, free: 8.93 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007083/0.01491, allocations: 88.67 kB / 439.8 MB, free: 8.844 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004697/0.01538, allocations: 292.6 kB / 440 MB, free: 8.535 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.566e-05/0.01541, allocations: 12.75 kB / 440.1 MB, free: 8.523 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.818e-05/0.01545, allocations: 20.38 kB / 440.1 MB, free: 8.504 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006426/0.01609, allocations: 403.3 kB / 440.5 MB, free: 8.078 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.0161, allocations: 3.938 kB / 440.5 MB, free: 8.074 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.237e-05/0.01613, allocations: 7.984 kB / 440.5 MB, free: 8.066 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.493e-05/0.01617, allocations: 12.38 kB / 440.5 MB, free: 8.055 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007229/0.01689, allocations: 444.6 kB / 440.9 MB, free: 7.621 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001877/0.01877, allocations: 1.369 MB / 442.3 MB, free: 6.184 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007473/0.01952, allocations: 337.1 kB / 442.6 MB, free: 5.836 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001973/0.01971, allocations: 109.7 kB / 442.7 MB, free: 5.723 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.01974, allocations: 4 kB / 442.7 MB, free: 5.719 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000341/0.02008, allocations: 208.6 kB / 442.9 MB, free: 5.496 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 1.643e-06/0.02008, allocations: 0 / 442.9 MB, free: 5.496 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.0008225/0.02091, allocations: 433.3 kB / 443.4 MB, free: 5.066 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.649e-05/0.02099, allocations: 136.5 kB / 443.5 MB, free: 4.902 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003856/0.02138, allocations: 340.2 kB / 443.8 MB, free: 4.562 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.122e-05/0.02141, allocations: 33.7 kB / 443.9 MB, free: 4.523 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/0.02155, allocations: 180.3 kB / 444 MB, free: 4.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.924e-05/0.02163, allocations: 91.27 kB / 444.1 MB, free: 4.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.348e-05/0.02172, allocations: 53.98 kB / 444.2 MB, free: 4.188 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.02187, allocations: 338.8 kB / 444.5 MB, free: 3.848 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001953/0.02207, allocations: 108.5 kB / 444.6 MB, free: 3.742 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002757/0.02234, allocations: 228.9 kB / 444.8 MB, free: 3.477 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004996/0.02284, allocations: 324.4 kB / 445.2 MB, free: 3.129 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.02285, allocations: 4 kB / 445.2 MB, free: 3.125 MB / 366.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006334/0.02348, allocations: 393.1 kB / 445.5 MB, free: 2.734 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.0235, allocations: 8 kB / 445.6 MB, free: 2.727 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.02351, allocations: 4 kB / 445.6 MB, free: 2.723 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.02352, allocations: 4 kB / 445.6 MB, free: 2.719 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000271/0.02379, allocations: 63.89 kB / 445.6 MB, free: 2.656 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.02381, allocations: 7.984 kB / 445.6 MB, free: 2.648 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001452/0.02395, allocations: 36.14 kB / 445.7 MB, free: 2.613 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.033e-05/0.02398, allocations: 12 kB / 445.7 MB, free: 2.602 MB / 366.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.0001978/0.02418, allocations: 188.9 kB / 445.9 MB, free: 2.41 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.774e-05/0.02424, allocations: 27.81 kB / 445.9 MB, free: 2.383 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007416/0.02498, allocations: 408 kB / 446.3 MB, free: 1.977 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.02498, allocations: 4 kB / 446.3 MB, free: 1.973 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.02499, allocations: 4 kB / 446.3 MB, free: 1.969 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.025, allocations: 0 / 446.3 MB, free: 1.969 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001075/0.02607, allocations: 0.7404 MB / 447 MB, free: 1.188 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.02608, allocations: 8 kB / 447 MB, free: 1.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002234/0.0263, allocations: 59.91 kB / 447.1 MB, free: 1.121 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.0263, allocations: 0 / 447.1 MB, free: 1.121 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.563e-05/0.02633, allocations: 8 kB / 447.1 MB, free: 1.113 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.02633, allocations: 7.938 kB / 447.1 MB, free: 1.105 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.02633, allocations: 0 / 447.1 MB, free: 1.105 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00073/0.02706, allocations: 487.9 kB / 447.6 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.989e-05/0.02712, allocations: 47.73 kB / 447.6 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.96e-05/0.02718, allocations: 15.94 kB / 447.7 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.02733, allocations: 12 kB / 447.7 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.797e-05/0.02739, allocations: 27.95 kB / 447.7 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.539e-05/0.02742, allocations: 15.88 kB / 447.7 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002804/0.0277, allocations: 251 kB / 448 MB, free: 256 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.0277, allocations: 4 kB / 448 MB, free: 252 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.000412/0.02811, allocations: 95.81 kB / 448.1 MB, free: 156 kB / 366.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 (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.1613/0.1894, allocations: 0.5506 MB / 448.6 MB, free: 30.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007052/0.1901, allocations: 280.6 kB / 448.9 MB, free: 30.26 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.1901, allocations: 1.125 kB / 448.9 MB, free: 30.26 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002278/0.1903, allocations: 146.5 kB / 449 MB, free: 30.26 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000518/0.1909, allocations: 59.12 kB / 449.1 MB, free: 30.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009986/0.1919, allocations: 0.6292 MB / 449.7 MB, free: 29.97 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001783/0.192, allocations: 196.3 kB / 449.9 MB, free: 29.88 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001805/0.1922, allocations: 85.38 kB / 450 MB, free: 29.86 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.1923, allocations: 43.19 kB / 450 MB, free: 29.85 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1923, allocations: 1.188 kB / 450 MB, free: 29.85 MB / 366.1 MB Notification: Performance of Templates: time 0.009629/0.202, allocations: 4.393 MB / 454.4 MB, free: 29.32 MB / 366.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.627799458801746]