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.002278/0.002278, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002372/0.002372, allocations: 165.3 kB / 24.27 MB, free: 156 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 1.519/1.519, allocations: 177.1 MB / 204.6 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 178] 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.2973/0.2973, allocations: 29.41 MB / 290.5 MB, free: 2.434 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.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.453e-06/1.453e-06, allocations: 0 / 368.9 MB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.035e-05/3.18e-05, allocations: 2.312 kB / 368.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.CityTest): time 0.006338/0.006369, allocations: 3.708 MB / 372.6 MB, free: 7.613 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003522/0.009891, allocations: 1.898 MB / 374.5 MB, free: 5.707 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002164/0.01011, allocations: 15.88 kB / 374.5 MB, free: 5.691 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009738/0.01108, allocations: 230.9 kB / 374.7 MB, free: 5.465 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008595/0.01194, allocations: 306.5 kB / 375 MB, free: 5.164 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005336/0.01247, allocations: 191.2 kB / 375.2 MB, free: 4.977 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006201/0.01309, allocations: 466.7 kB / 375.7 MB, free: 4.52 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003396/0.01343, allocations: 158 kB / 375.8 MB, free: 4.371 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005665/0.014, allocations: 267.2 kB / 376.1 MB, free: 4.109 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003206/0.01432, allocations: 175.5 kB / 376.3 MB, free: 3.938 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.907e-05/0.01438, allocations: 28 kB / 376.3 MB, free: 3.91 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006987/0.01508, allocations: 335 kB / 376.6 MB, free: 3.582 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001784/0.01526, allocations: 127.6 kB / 376.7 MB, free: 3.457 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001602/0.01542, allocations: 107.8 kB / 376.8 MB, free: 3.352 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000933/0.01635, allocations: 0.5959 MB / 377.4 MB, free: 2.754 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.01635, allocations: 0 / 377.4 MB, free: 2.754 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.01635, allocations: 0 / 377.4 MB, free: 2.754 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.01636, allocations: 0 / 377.4 MB, free: 2.754 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.001388/0.01775, allocations: 0.7134 MB / 378.1 MB, free: 2 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.01779, allocations: 11.98 kB / 378.2 MB, free: 1.988 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007622/0.01855, allocations: 132.5 kB / 378.3 MB, free: 1.859 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000548/0.0191, allocations: 287.4 kB / 378.6 MB, free: 1.551 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/0.01912, allocations: 12.75 kB / 378.6 MB, free: 1.539 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.294e-05/0.01916, allocations: 20.38 kB / 378.6 MB, free: 1.52 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005891/0.01975, allocations: 331.2 kB / 378.9 MB, free: 1.156 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.01977, allocations: 3.938 kB / 378.9 MB, free: 1.152 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.946e-05/0.01979, allocations: 4 kB / 378.9 MB, free: 1.148 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.721e-05/0.01983, allocations: 24.31 kB / 379 MB, free: 1.125 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005904/0.02042, allocations: 280.8 kB / 379.2 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00227/0.02269, allocations: 1.588 MB / 380.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007012/0.02339, allocations: 278 kB / 381.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001704/0.02356, allocations: 75.34 kB / 381.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.761e-05/0.02359, allocations: 8 kB / 381.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003864/0.02398, allocations: 194.8 kB / 381.4 MB, free: 14.58 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 1.372e-06/0.02398, allocations: 4 kB / 381.4 MB, free: 14.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.0007543/0.02473, allocations: 308.4 kB / 381.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/0.02485, allocations: 136.5 kB / 381.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004741/0.02532, allocations: 394.3 kB / 382.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.829e-05/0.02536, allocations: 33.7 kB / 382.2 MB, free: 13.67 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002141/0.02557, allocations: 247 kB / 382.5 MB, free: 13.42 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.89e-05/0.02567, allocations: 91.44 kB / 382.5 MB, free: 13.33 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/0.0258, allocations: 79.53 kB / 382.6 MB, free: 13.24 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003199/0.02612, allocations: 0.5316 MB / 383.2 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001519/0.02627, allocations: 68.53 kB / 383.2 MB, free: 12.63 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003031/0.02657, allocations: 226.9 kB / 383.4 MB, free: 12.35 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004392/0.02701, allocations: 264.4 kB / 383.7 MB, free: 12.05 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.02701, allocations: 0 / 383.7 MB, free: 12.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006161/0.02763, allocations: 324 kB / 384 MB, free: 11.73 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.02764, allocations: 4 kB / 384 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.02765, allocations: 4 kB / 384 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.02767, allocations: 4 kB / 384 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002722/0.02794, allocations: 60.22 kB / 384.1 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.02795, allocations: 11.94 kB / 384.1 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001444/0.0281, allocations: 31.81 kB / 384.1 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.052e-05/0.02813, allocations: 12 kB / 384.1 MB, free: 11.6 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 0.0001971/0.02833, allocations: 192.5 kB / 384.3 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.384e-05/0.0284, allocations: 31.81 kB / 384.4 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009596/0.02936, allocations: 328.1 kB / 384.7 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.02937, allocations: 4 kB / 384.7 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.02937, allocations: 0 / 384.7 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.02938, allocations: 11.98 kB / 384.7 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001204/0.03058, allocations: 0.7435 MB / 385.4 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.03059, allocations: 0 / 385.4 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000218/0.0308, allocations: 59.91 kB / 385.5 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.03081, allocations: 0 / 385.5 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.532e-05/0.03083, allocations: 11.98 kB / 385.5 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.03084, allocations: 7.938 kB / 385.5 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.03084, allocations: 0 / 385.5 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007162/0.03155, allocations: 477.5 kB / 386 MB, free: 9.672 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.093e-05/0.03163, allocations: 43.69 kB / 386 MB, free: 9.629 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.476e-05/0.03168, allocations: 8 kB / 386 MB, free: 9.621 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/0.03182, allocations: 16 kB / 386.1 MB, free: 9.605 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.106e-05/0.03189, allocations: 23.95 kB / 386.1 MB, free: 9.582 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-05/0.03192, allocations: 15.94 kB / 386.1 MB, free: 9.566 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002912/0.03221, allocations: 263 kB / 386.3 MB, free: 9.312 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.03221, allocations: 0 / 386.3 MB, free: 9.312 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004464/0.03266, allocations: 95.83 kB / 386.4 MB, free: 9.219 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.003436/0.03609, allocations: 0.5451 MB / 387 MB, free: 8.898 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005241/0.03662, allocations: 223.9 kB / 387.2 MB, free: 8.676 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.03662, allocations: 0 / 387.2 MB, free: 8.676 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002392/0.03686, allocations: 124.3 kB / 387.3 MB, free: 8.551 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005025/0.03736, allocations: 69.62 kB / 387.4 MB, free: 8.488 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.03849, allocations: 0.5776 MB / 388 MB, free: 7.871 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/0.03872, allocations: 193.2 kB / 388.2 MB, free: 7.664 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001906/0.03891, allocations: 74.91 kB / 388.2 MB, free: 7.59 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.03903, allocations: 44.48 kB / 388.3 MB, free: 7.547 MB / 362.7 MB Notification: Performance of SimCode: time 7.51e-07/0.03903, allocations: 0 / 388.3 MB, free: 7.547 MB / 362.7 MB Notification: Performance of Templates: time 0.01054/0.04957, allocations: 4.44 MB / 392.7 MB, free: 3.152 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","/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.846207091934048]