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.00101/0.00101, allocations: 83.75 kB / 21.19 MB, free: 3.375 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.001735/0.001735, allocations: 165.4 kB / 24.56 MB, free: 12 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.9714/0.9714, allocations: 177.1 MB / 205 MB, free: 5.625 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.2397/0.2397, allocations: 29.43 MB / 290.9 MB, free: 2.504 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.603e-06/1.603e-06, allocations: 0 / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.393e-05/2.553e-05, allocations: 5.406 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.CityTest): time 0.003551/0.003577, allocations: 3.758 MB / 373.4 MB, free: 7.219 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001891/0.005468, allocations: 1.613 MB / 375 MB, free: 5.598 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001493/0.005618, allocations: 11.88 kB / 375 MB, free: 5.586 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005608/0.006179, allocations: 238.9 kB / 375.3 MB, free: 5.352 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006118/0.00679, allocations: 306.5 kB / 375.6 MB, free: 5.051 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003811/0.007171, allocations: 187.2 kB / 375.7 MB, free: 4.867 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004236/0.007595, allocations: 450.8 kB / 376.2 MB, free: 4.426 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002524/0.007847, allocations: 165.9 kB / 376.3 MB, free: 4.27 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003721/0.00822, allocations: 271.1 kB / 376.6 MB, free: 4.004 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002041/0.008424, allocations: 171.5 kB / 376.8 MB, free: 3.836 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.603e-05/0.00846, allocations: 32 kB / 376.8 MB, free: 3.805 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004098/0.008869, allocations: 327.1 kB / 377.1 MB, free: 3.484 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.008971, allocations: 127.7 kB / 377.3 MB, free: 3.359 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.64e-05/0.009058, allocations: 111.7 kB / 377.4 MB, free: 3.25 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005356/0.009593, allocations: 466.5 kB / 377.8 MB, free: 2.793 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.009597, allocations: 0 / 377.8 MB, free: 2.793 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.009598, allocations: 0 / 377.8 MB, free: 2.793 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.289e-06/0.009602, allocations: 0 / 377.8 MB, free: 2.793 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.0006121/0.01021, allocations: 0.6864 MB / 378.5 MB, free: 2.066 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.739e-05/0.01024, allocations: 11.98 kB / 378.5 MB, free: 2.055 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004122/0.01065, allocations: 132.5 kB / 378.6 MB, free: 1.926 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002812/0.01094, allocations: 287.5 kB / 378.9 MB, free: 1.617 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.01095, allocations: 12.75 kB / 378.9 MB, free: 1.605 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.624e-05/0.01097, allocations: 24.34 kB / 379 MB, free: 1.582 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003361/0.01131, allocations: 299.9 kB / 379.3 MB, free: 1.246 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.01132, allocations: 3.938 kB / 379.3 MB, free: 1.242 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.283e-05/0.01134, allocations: 15.98 kB / 379.3 MB, free: 1.227 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.949e-05/0.01137, allocations: 16.36 kB / 379.3 MB, free: 1.211 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002963/0.01167, allocations: 236.7 kB / 379.5 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/0.01277, allocations: 1.491 MB / 381 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003714/0.01315, allocations: 262.1 kB / 381.3 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.944e-05/0.01322, allocations: 59.34 kB / 381.3 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.01324, allocations: 8 kB / 381.3 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001823/0.01342, allocations: 160 kB / 381.5 MB, free: 14.87 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 1.934e-06/0.01342, allocations: 0 / 381.5 MB, free: 14.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.000424/0.01385, allocations: 264.4 kB / 381.7 MB, free: 14.61 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.374e-05/0.0139, allocations: 132.5 kB / 381.9 MB, free: 14.45 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000226/0.01413, allocations: 338.3 kB / 382.2 MB, free: 14.1 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.01415, allocations: 33.7 kB / 382.2 MB, free: 14.06 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.01426, allocations: 231 kB / 382.5 MB, free: 13.83 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.913e-05/0.01431, allocations: 91.69 kB / 382.6 MB, free: 13.74 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.489e-05/0.01437, allocations: 63.59 kB / 382.6 MB, free: 13.67 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.01449, allocations: 0.5157 MB / 383.1 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.037e-05/0.01456, allocations: 40.53 kB / 383.2 MB, free: 13.1 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001376/0.0147, allocations: 190.9 kB / 383.4 MB, free: 12.86 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002055/0.01491, allocations: 220.3 kB / 383.6 MB, free: 12.6 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.01491, allocations: 0 / 383.6 MB, free: 12.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002964/0.01521, allocations: 280.2 kB / 383.9 MB, free: 12.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.01522, allocations: 6.969 kB / 383.9 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.01523, allocations: 8 kB / 383.9 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.01524, allocations: 4 kB / 383.9 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001517/0.01539, allocations: 67.89 kB / 383.9 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.0154, allocations: 4 kB / 383.9 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.602e-05/0.01548, allocations: 27.84 kB / 384 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/0.01549, allocations: 12 kB / 384 MB, free: 12.2 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.0001072/0.0156, allocations: 191.3 kB / 384.2 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.021e-05/0.01564, allocations: 31.8 kB / 384.2 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003439/0.01599, allocations: 296 kB / 384.5 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.01599, allocations: 4 kB / 384.5 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.01599, allocations: 4 kB / 384.5 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.016, allocations: 3.984 kB / 384.5 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005428/0.01654, allocations: 0.6615 MB / 385.2 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.01654, allocations: 0 / 385.2 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001198/0.01666, allocations: 55.91 kB / 385.2 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.01667, allocations: 4 kB / 385.2 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.01668, allocations: 11.98 kB / 385.2 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.01668, allocations: 4 kB / 385.2 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.01669, allocations: 0 / 385.2 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003194/0.01701, allocations: 433.6 kB / 385.7 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.123e-05/0.01704, allocations: 35.7 kB / 385.7 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.612e-05/0.01707, allocations: 15.98 kB / 385.7 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.682e-05/0.01714, allocations: 11.94 kB / 385.7 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.823e-05/0.01719, allocations: 27.89 kB / 385.7 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.0172, allocations: 19.92 kB / 385.8 MB, free: 10.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001329/0.01734, allocations: 231 kB / 386 MB, free: 10.09 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01734, allocations: 0 / 386 MB, free: 10.09 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000296/0.01763, allocations: 99.81 kB / 386.1 MB, free: 9.996 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.000983/0.01862, allocations: 0.5049 MB / 386.6 MB, free: 9.676 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002743/0.01889, allocations: 164.7 kB / 386.8 MB, free: 9.512 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.01889, allocations: 8.188 kB / 386.8 MB, free: 9.504 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.019, allocations: 99.52 kB / 386.9 MB, free: 9.402 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002921/0.01929, allocations: 67.11 kB / 386.9 MB, free: 9.34 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.02034, allocations: 0.5891 MB / 387.5 MB, free: 8.711 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.534e-05/0.02041, allocations: 106 kB / 387.6 MB, free: 8.586 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000123/0.02053, allocations: 74.89 kB / 387.7 MB, free: 8.512 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.454e-05/0.02061, allocations: 40.48 kB / 387.7 MB, free: 8.473 MB / 362.7 MB Notification: Performance of SimCode: time 9.62e-07/0.02061, allocations: 0 / 387.7 MB, free: 8.473 MB / 362.7 MB Notification: Performance of Templates: time 0.006499/0.02711, allocations: 4.761 MB / 392.5 MB, free: 3.762 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.266745387110859]