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.001542/0.001542, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001836/0.001836, allocations: 163.9 kB / 25.61 MB, free: 8.582 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.9816/0.9816, allocations: 177.1 MB / 206.1 MB, free: 4.477 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.1194/0.1194, allocations: 29.43 MB / 292 MB, free: 2.625 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.753e-06/1.753e-06, allocations: 0 / 370.9 MB, free: 32.31 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.504e-05/2.679e-05, allocations: 4.75 kB / 370.9 MB, free: 32.3 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.CityTest): time 0.003773/0.0038, allocations: 3.736 MB / 374.6 MB, free: 28.55 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002186/0.005987, allocations: 1.604 MB / 376.2 MB, free: 26.94 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002106/0.006197, allocations: 7.938 kB / 376.2 MB, free: 26.93 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007317/0.006929, allocations: 230.9 kB / 376.5 MB, free: 26.71 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006197/0.007549, allocations: 310.4 kB / 376.8 MB, free: 26.4 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003754/0.007924, allocations: 187.2 kB / 376.9 MB, free: 26.22 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003712/0.008295, allocations: 450.8 kB / 377.4 MB, free: 25.78 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002382/0.008533, allocations: 165.8 kB / 377.5 MB, free: 25.62 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003673/0.008901, allocations: 263.2 kB / 377.8 MB, free: 25.36 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002031/0.009104, allocations: 171.5 kB / 378 MB, free: 25.19 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.366e-05/0.009138, allocations: 32 kB / 378 MB, free: 25.16 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003853/0.009523, allocations: 327.2 kB / 378.3 MB, free: 24.84 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.213e-05/0.009615, allocations: 123.7 kB / 378.4 MB, free: 24.72 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.368e-05/0.009699, allocations: 107.7 kB / 378.5 MB, free: 24.61 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004736/0.01017, allocations: 470.5 kB / 379 MB, free: 24.15 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.01018, allocations: 4 kB / 379 MB, free: 24.15 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.01018, allocations: 0 / 379 MB, free: 24.15 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.01018, allocations: 0 / 379 MB, free: 24.15 MB / 314.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.0006068/0.01079, allocations: 0.6902 MB / 379.7 MB, free: 23.42 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.01083, allocations: 12.03 kB / 379.7 MB, free: 23.41 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005404/0.01137, allocations: 120.6 kB / 379.8 MB, free: 23.29 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000284/0.01165, allocations: 283.4 kB / 380.1 MB, free: 22.99 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.01167, allocations: 12.75 kB / 380.1 MB, free: 22.98 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.847e-05/0.0117, allocations: 20.38 kB / 380.1 MB, free: 22.96 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002963/0.012, allocations: 291.8 kB / 380.4 MB, free: 22.62 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.01201, allocations: 3.938 kB / 380.4 MB, free: 22.62 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.165e-05/0.01203, allocations: 8 kB / 380.4 MB, free: 22.61 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.118e-05/0.01206, allocations: 24.3 kB / 380.5 MB, free: 22.59 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00025/0.01231, allocations: 184.3 kB / 380.6 MB, free: 22.41 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009719/0.01328, allocations: 1.417 MB / 382.1 MB, free: 20.92 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003543/0.01364, allocations: 238.1 kB / 382.3 MB, free: 20.66 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.546e-05/0.0137, allocations: 55.34 kB / 382.3 MB, free: 20.6 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.645e-05/0.01372, allocations: 8 kB / 382.4 MB, free: 20.59 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001688/0.01389, allocations: 155.8 kB / 382.5 MB, free: 20.41 MB / 314.7 MB Notification: Performance of pre-optimization done (n=24): time 1.332e-06/0.01389, allocations: 0 / 382.5 MB, free: 20.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=24): time 0.0003813/0.01427, allocations: 244.2 kB / 382.7 MB, free: 20.17 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.363e-05/0.01431, allocations: 136.5 kB / 382.9 MB, free: 20.01 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001873/0.01449, allocations: 326.2 kB / 383.2 MB, free: 19.67 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.01451, allocations: 33.7 kB / 383.2 MB, free: 19.63 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.597e-05/0.0146, allocations: 235 kB / 383.5 MB, free: 19.4 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.603e-05/0.01465, allocations: 83.3 kB / 383.5 MB, free: 19.32 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.206e-05/0.01472, allocations: 67.86 kB / 383.6 MB, free: 19.24 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.371e-05/0.01478, allocations: 0.5157 MB / 384.1 MB, free: 18.71 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.634e-05/0.01484, allocations: 32.53 kB / 384.2 MB, free: 18.68 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.86e-05/0.01494, allocations: 190.8 kB / 384.3 MB, free: 18.44 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001716/0.01511, allocations: 207.9 kB / 384.5 MB, free: 18.19 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.01511, allocations: 4 kB / 384.5 MB, free: 18.19 MB / 314.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002847/0.0154, allocations: 253 kB / 384.8 MB, free: 17.93 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.01541, allocations: 4 kB / 384.8 MB, free: 17.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.01541, allocations: 4.312 kB / 384.8 MB, free: 17.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.01543, allocations: 8 kB / 384.8 MB, free: 17.92 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001777/0.0156, allocations: 63.91 kB / 384.9 MB, free: 17.86 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.01561, allocations: 7.938 kB / 384.9 MB, free: 17.85 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.156e-05/0.0157, allocations: 23.88 kB / 384.9 MB, free: 17.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.598e-05/0.01572, allocations: 8 kB / 384.9 MB, free: 17.82 MB / 314.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 8.714e-05/0.0158, allocations: 183.1 kB / 385.1 MB, free: 17.63 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.825e-05/0.01585, allocations: 39.81 kB / 385.1 MB, free: 17.59 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003528/0.01621, allocations: 276.6 kB / 385.4 MB, free: 17.32 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.01621, allocations: 8 kB / 385.4 MB, free: 17.31 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.01621, allocations: 4 kB / 385.4 MB, free: 17.3 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.01622, allocations: 3.984 kB / 385.4 MB, free: 17.3 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005405/0.01676, allocations: 0.5918 MB / 386 MB, free: 16.68 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.01676, allocations: 0 / 386 MB, free: 16.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001404/0.0169, allocations: 55.91 kB / 386.1 MB, free: 16.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.01691, allocations: 4 kB / 386.1 MB, free: 16.62 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.01692, allocations: 8 kB / 386.1 MB, free: 16.61 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.01692, allocations: 8 kB / 386.1 MB, free: 16.6 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.01693, allocations: 0 / 386.1 MB, free: 16.6 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003082/0.01723, allocations: 421.5 kB / 386.5 MB, free: 16.16 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.333e-05/0.01727, allocations: 39.73 kB / 386.5 MB, free: 16.12 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.926e-05/0.01731, allocations: 11.95 kB / 386.5 MB, free: 16.11 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.01741, allocations: 12 kB / 386.6 MB, free: 16.1 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.33e-05/0.01745, allocations: 19.95 kB / 386.6 MB, free: 16.08 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.84e-05/0.01747, allocations: 15.98 kB / 386.6 MB, free: 16.07 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.75e-05/0.01757, allocations: 218.9 kB / 386.8 MB, free: 15.85 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01757, allocations: 0 / 386.8 MB, free: 15.85 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003734/0.01794, allocations: 99.8 kB / 386.9 MB, free: 15.75 MB / 314.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.001106/0.01905, allocations: 0.4955 MB / 387.4 MB, free: 15.48 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002298/0.01928, allocations: 148.7 kB / 387.5 MB, free: 15.33 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.01928, allocations: 4.125 kB / 387.5 MB, free: 15.32 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.879e-05/0.01938, allocations: 95.47 kB / 387.6 MB, free: 15.23 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003712/0.01975, allocations: 72.52 kB / 387.7 MB, free: 15.16 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009511/0.0207, allocations: 0.575 MB / 388.3 MB, free: 14.55 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.446e-05/0.02076, allocations: 122 kB / 388.4 MB, free: 14.41 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000112/0.02087, allocations: 46.94 kB / 388.4 MB, free: 14.36 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001497/0.02102, allocations: 134.2 kB / 388.6 MB, free: 14.23 MB / 314.7 MB Notification: Performance of SimCode: time 1.082e-06/0.02103, allocations: 3.938 kB / 388.6 MB, free: 14.23 MB / 314.7 MB Notification: Performance of Templates: time 0.007101/0.02813, allocations: 4.934 MB / 393.5 MB, free: 9.359 MB / 314.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.3434590841643512]