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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001779/0.001779, allocations: 105.5 kB / 20.43 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002131/0.002131, allocations: 188.3 kB / 23.72 MB, free: 4.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.567/1.567, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1861/0.1861, allocations: 38.53 MB / 346.3 MB, free: 2.125 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002051/0.002051, allocations: 67.89 kB / 484.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3819/0.3839, allocations: 61.3 MB / 0.533 GB, free: 5.559 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.CityTest): time 0.004833/0.3888, allocations: 3.751 MB / 0.5367 GB, free: 2.922 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002251/0.391, allocations: 1.836 MB / 0.5385 GB, free: 1.477 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001497/0.3912, allocations: 13.19 kB / 0.5385 GB, free: 1.469 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007898/0.3919, allocations: 237.3 kB / 0.5387 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005042/0.3924, allocations: 266.3 kB / 0.539 GB, free: 1.086 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004578/0.3929, allocations: 212.5 kB / 0.5392 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004021/0.3933, allocations: 444.4 kB / 0.5396 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002405/0.3935, allocations: 126.9 kB / 0.5397 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003368/0.3939, allocations: 202.7 kB / 0.5399 GB, free: 484 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002051/0.3941, allocations: 189.7 kB / 0.5401 GB, free: 360 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.613e-05/0.3941, allocations: 27.56 kB / 0.5401 GB, free: 360 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004891/0.3946, allocations: 328.2 kB / 0.5404 GB, free: 192 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.3947, allocations: 123.9 kB / 0.5406 GB, free: 108 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001279/0.3949, allocations: 148.3 kB / 0.5407 GB, free: 0 / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007486/0.3956, allocations: 0.5132 MB / 0.5412 GB, free: 15.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3956, allocations: 3.938 kB / 0.5412 GB, free: 15.66 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3956, allocations: 0 / 0.5412 GB, free: 15.66 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.343e-06/0.3956, allocations: 0 / 0.5412 GB, free: 15.66 MB / 398.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.0009252/0.3965, allocations: 0.5636 MB / 0.5418 GB, free: 15.16 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.3966, allocations: 9.188 kB / 0.5418 GB, free: 15.16 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008055/0.3974, allocations: 93.69 kB / 0.5419 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005411/0.3979, allocations: 314.4 kB / 0.5422 GB, free: 14.85 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.257e-05/0.3979, allocations: 16.69 kB / 0.5422 GB, free: 14.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.817e-05/0.398, allocations: 19.91 kB / 0.5422 GB, free: 14.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006354/0.3986, allocations: 361.4 kB / 0.5425 GB, free: 14.58 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.3986, allocations: 5.531 kB / 0.5425 GB, free: 14.58 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.042e-05/0.3987, allocations: 5.312 kB / 0.5425 GB, free: 14.57 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.351e-05/0.3987, allocations: 16.58 kB / 0.5426 GB, free: 14.57 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006396/0.3993, allocations: 391.3 kB / 0.5429 GB, free: 14.39 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002393/0.4017, allocations: 1.51 MB / 0.5444 GB, free: 13.05 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006342/0.4024, allocations: 304.9 kB / 0.5447 GB, free: 12.88 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001957/0.4026, allocations: 97.11 kB / 0.5448 GB, free: 12.82 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.845e-05/0.4026, allocations: 13.97 kB / 0.5448 GB, free: 12.81 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003395/0.4029, allocations: 191.7 kB / 0.545 GB, free: 12.66 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.623e-06/0.4029, allocations: 0 / 0.545 GB, free: 12.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.0008003/0.4037, allocations: 388.8 kB / 0.5454 GB, free: 12.47 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/0.4039, allocations: 140.2 kB / 0.5455 GB, free: 12.3 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003454/0.4042, allocations: 292.8 kB / 0.5458 GB, free: 12.11 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.36e-05/0.4042, allocations: 33.11 kB / 0.5458 GB, free: 12.08 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001561/0.4044, allocations: 180.2 kB / 0.546 GB, free: 11.91 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.704e-05/0.4045, allocations: 92.84 kB / 0.5461 GB, free: 11.83 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.4046, allocations: 52.55 kB / 0.5461 GB, free: 11.79 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002013/0.4048, allocations: 342.5 kB / 0.5464 GB, free: 11.46 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002915/0.4051, allocations: 96.58 kB / 0.5465 GB, free: 11.41 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002563/0.4053, allocations: 186.7 kB / 0.5467 GB, free: 11.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005118/0.4058, allocations: 309.7 kB / 0.547 GB, free: 11.03 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.4058, allocations: 1.719 kB / 0.547 GB, free: 11.03 MB / 398.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006409/0.4065, allocations: 357.2 kB / 0.5473 GB, free: 10.85 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.4065, allocations: 5.625 kB / 0.5474 GB, free: 10.85 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.4065, allocations: 2.188 kB / 0.5474 GB, free: 10.85 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/0.4065, allocations: 5 kB / 0.5474 GB, free: 10.85 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003232/0.4069, allocations: 64.81 kB / 0.5474 GB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.4069, allocations: 4.375 kB / 0.5474 GB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001473/0.407, allocations: 31.88 kB / 0.5475 GB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.125e-05/0.4071, allocations: 18.77 kB / 0.5475 GB, free: 10.8 MB / 398.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.0002095/0.4073, allocations: 174.6 kB / 0.5476 GB, free: 10.65 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.82e-05/0.4073, allocations: 29.53 kB / 0.5477 GB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006881/0.408, allocations: 337.7 kB / 0.548 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.902e-06/0.408, allocations: 3.75 kB / 0.548 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.408, allocations: 5.375 kB / 0.548 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/0.408, allocations: 7.922 kB / 0.548 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001084/0.4091, allocations: 0.7065 MB / 0.5487 GB, free: 9.918 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.4091, allocations: 1.125 kB / 0.5487 GB, free: 9.918 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001667/0.4093, allocations: 45.48 kB / 0.5487 GB, free: 9.906 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/0.4093, allocations: 6.062 kB / 0.5487 GB, free: 9.902 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.815e-05/0.4093, allocations: 12.3 kB / 0.5488 GB, free: 9.895 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.4093, allocations: 1.156 kB / 0.5488 GB, free: 9.895 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.4093, allocations: 5.031 kB / 0.5488 GB, free: 9.891 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005793/0.4099, allocations: 407.3 kB / 0.5492 GB, free: 9.625 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.622e-05/0.41, allocations: 32.38 kB / 0.5492 GB, free: 9.602 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.394e-05/0.41, allocations: 16.09 kB / 0.5492 GB, free: 9.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.4102, allocations: 6.875 kB / 0.5492 GB, free: 9.586 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.706e-05/0.4102, allocations: 20.69 kB / 0.5492 GB, free: 9.574 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.283e-05/0.4102, allocations: 20.08 kB / 0.5492 GB, free: 9.562 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002414/0.4105, allocations: 215.3 kB / 0.5495 GB, free: 9.422 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4105, allocations: 0 / 0.5495 GB, free: 9.422 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004038/0.4109, allocations: 77.77 kB / 0.5495 GB, free: 9.402 MB / 398.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 (25): * Single equations (assignments): 22 * 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.001639/0.4125, allocations: 457.8 kB / 0.55 GB, free: 9.184 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000578/0.4131, allocations: 234 kB / 0.5502 GB, free: 9.086 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.4131, allocations: 0 / 0.5502 GB, free: 9.086 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000203/0.4133, allocations: 109.2 kB / 0.5503 GB, free: 9.039 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005471/0.4139, allocations: 75.62 kB / 0.5504 GB, free: 8.996 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.415, allocations: 0.5985 MB / 0.5509 GB, free: 8.594 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004911/0.4155, allocations: 0.7938 MB / 0.5517 GB, free: 7.836 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002216/0.4157, allocations: 89.17 kB / 0.5518 GB, free: 7.801 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.985e-05/0.4158, allocations: 40.17 kB / 0.5518 GB, free: 7.785 MB / 398.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4158, allocations: 3.938 kB / 0.5518 GB, free: 7.781 MB / 398.1 MB Notification: Performance of Templates: time 0.009986/0.4258, allocations: 3.782 MB / 0.5555 GB, free: 4.75 MB / 398.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: 5.399538383819163]