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.0009752/0.0009752, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001019/0.001019, allocations: 165.3 kB / 24.82 MB, free: 9.27 MB / 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.9817/0.9817, allocations: 177.1 MB / 205.3 MB, free: 5.52 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.2367/0.2367, allocations: 29.42 MB / 291.2 MB, free: 2.461 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.893e-06/1.893e-06, allocations: 0 / 370.1 MB, free: 10.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.379e-05/1.568e-05, allocations: 5.406 kB / 370.1 MB, free: 10.74 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.CityTest): time 0.003458/0.003473, allocations: 3.739 MB / 373.8 MB, free: 6.973 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001661/0.005134, allocations: 1.585 MB / 375.4 MB, free: 5.379 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/0.00525, allocations: 11.94 kB / 375.4 MB, free: 5.367 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005712/0.005821, allocations: 238.8 kB / 375.7 MB, free: 5.133 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000403/0.006224, allocations: 306.5 kB / 376 MB, free: 4.832 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002405/0.006465, allocations: 183.2 kB / 376.2 MB, free: 4.652 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003406/0.006805, allocations: 458.7 kB / 376.6 MB, free: 4.203 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002118/0.007017, allocations: 162 kB / 376.8 MB, free: 4.051 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003296/0.007347, allocations: 271.2 kB / 377 MB, free: 3.785 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001934/0.00754, allocations: 167.6 kB / 377.2 MB, free: 3.621 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.36e-05/0.007574, allocations: 28 kB / 377.2 MB, free: 3.594 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003024/0.007876, allocations: 327.1 kB / 377.5 MB, free: 3.273 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.476e-05/0.007971, allocations: 135.6 kB / 377.7 MB, free: 3.141 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.599e-05/0.008047, allocations: 107.7 kB / 377.8 MB, free: 3.035 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004122/0.008459, allocations: 466.5 kB / 378.2 MB, free: 2.578 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.008461, allocations: 0 / 378.2 MB, free: 2.578 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.008462, allocations: 0 / 378.2 MB, free: 2.578 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.008466, allocations: 0 / 378.2 MB, free: 2.578 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.000614/0.009079, allocations: 0.6942 MB / 378.9 MB, free: 1.844 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.009119, allocations: 11.98 kB / 378.9 MB, free: 1.832 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004107/0.00953, allocations: 120.6 kB / 379 MB, free: 1.715 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002783/0.009808, allocations: 287.4 kB / 379.3 MB, free: 1.406 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.009824, allocations: 12.73 kB / 379.3 MB, free: 1.395 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.211e-05/0.009846, allocations: 20.38 kB / 379.4 MB, free: 1.375 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000274/0.01012, allocations: 287.8 kB / 379.6 MB, free: 1.051 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.01013, allocations: 3.938 kB / 379.6 MB, free: 1.047 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.01015, allocations: 8 kB / 379.7 MB, free: 1.039 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.732e-05/0.01017, allocations: 20.36 kB / 379.7 MB, free: 1.02 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001981/0.01037, allocations: 180.3 kB / 379.9 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000947/0.01132, allocations: 1.421 MB / 381.3 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002892/0.01161, allocations: 234.1 kB / 381.5 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.627e-05/0.01166, allocations: 54.53 kB / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.01168, allocations: 8 kB / 381.6 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001532/0.01184, allocations: 158.9 kB / 381.7 MB, free: 14.85 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 1.323e-06/0.01184, allocations: 0 / 381.7 MB, free: 14.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.0003196/0.01216, allocations: 241.2 kB / 382 MB, free: 14.61 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.396e-05/0.01221, allocations: 132.5 kB / 382.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002059/0.01242, allocations: 334.1 kB / 382.4 MB, free: 14.11 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.01244, allocations: 33.7 kB / 382.4 MB, free: 14.07 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.01255, allocations: 238.9 kB / 382.7 MB, free: 13.83 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.759e-05/0.0126, allocations: 83.61 kB / 382.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.424e-05/0.01266, allocations: 71.56 kB / 382.8 MB, free: 13.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.01279, allocations: 0.5157 MB / 383.3 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.451e-05/0.01284, allocations: 32.53 kB / 383.4 MB, free: 13.11 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001062/0.01295, allocations: 186.9 kB / 383.6 MB, free: 12.87 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001649/0.01311, allocations: 195.6 kB / 383.7 MB, free: 12.63 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.01311, allocations: 4 kB / 383.8 MB, free: 12.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002568/0.01337, allocations: 253 kB / 384 MB, free: 12.38 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.01338, allocations: 4.312 kB / 384 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.01339, allocations: 11.94 kB / 384 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.0134, allocations: 4 kB / 384 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.01355, allocations: 67.83 kB / 384.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.01356, allocations: 4 kB / 384.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.712e-05/0.01362, allocations: 23.84 kB / 384.1 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.01364, allocations: 12 kB / 384.1 MB, free: 12.25 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.692e-05/0.01374, allocations: 188.4 kB / 384.3 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.785e-05/0.01377, allocations: 35.86 kB / 384.3 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003041/0.01408, allocations: 272 kB / 384.6 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.01408, allocations: 4 kB / 384.6 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.01408, allocations: 4 kB / 384.6 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.01409, allocations: 7.922 kB / 384.6 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004906/0.01458, allocations: 0.5918 MB / 385.2 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.01458, allocations: 0 / 385.2 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.01469, allocations: 55.91 kB / 385.3 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.0147, allocations: 4 kB / 385.3 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.01471, allocations: 8 kB / 385.3 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.01471, allocations: 0 / 385.3 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.01471, allocations: 4 kB / 385.3 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002787/0.01499, allocations: 421.5 kB / 385.7 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.97e-05/0.01502, allocations: 43.69 kB / 385.7 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.934e-05/0.01505, allocations: 8 kB / 385.7 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.01516, allocations: 11.98 kB / 385.8 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.681e-05/0.01522, allocations: 19.97 kB / 385.8 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.127e-05/0.01524, allocations: 19.97 kB / 385.8 MB, free: 10.49 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001155/0.01536, allocations: 215 kB / 386 MB, free: 10.28 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01536, allocations: 0 / 386 MB, free: 10.28 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002587/0.01562, allocations: 103.8 kB / 386.1 MB, free: 10.18 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.000917/0.01653, allocations: 0.5083 MB / 386.6 MB, free: 9.859 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002004/0.01673, allocations: 152.7 kB / 386.8 MB, free: 9.707 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.183e-06/0.01673, allocations: 8 kB / 386.8 MB, free: 9.699 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.735e-05/0.01682, allocations: 87.56 kB / 386.9 MB, free: 9.609 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/0.01709, allocations: 64.88 kB / 386.9 MB, free: 9.547 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008441/0.01794, allocations: 0.5813 MB / 387.5 MB, free: 8.926 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.625e-05/0.018, allocations: 110 kB / 387.6 MB, free: 8.797 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.719e-05/0.0181, allocations: 50.94 kB / 387.7 MB, free: 8.746 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001399/0.01824, allocations: 134.2 kB / 387.8 MB, free: 8.613 MB / 362.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01824, allocations: 0 / 387.8 MB, free: 8.613 MB / 362.7 MB Notification: Performance of Templates: time 0.006596/0.02484, allocations: 4.868 MB / 392.7 MB, free: 3.801 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.240412278100848]