Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyState.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.0009811/0.0009811, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001113/0.001113, allocations: 169.1 kB / 24.91 MB, free: 9.191 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 1.117/1.117, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.2524/0.2524, allocations: 29.42 MB / 291.2 MB, free: 2.496 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.Introductory.SimulationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter.i.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyState") translateModel(PowerSystems.Examples.Introductory.SimulationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter.i.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 316.8 MB, free: 16 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.358e-05/2.509e-05, allocations: 2.859 kB / 316.8 MB, free: 12 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyState): time 0.005824/0.005849, allocations: 6.33 MB / 323.2 MB, free: 9.648 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003237/0.009086, allocations: 2.337 MB / 325.5 MB, free: 7.305 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004077/0.009494, allocations: 35.69 kB / 325.5 MB, free: 7.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001061/0.01055, allocations: 0.6219 MB / 326.2 MB, free: 6.645 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008273/0.01138, allocations: 0.5203 MB / 326.7 MB, free: 6.121 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009271/0.01231, allocations: 462.7 kB / 327.1 MB, free: 5.668 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001189/0.0135, allocations: 1.289 MB / 328.4 MB, free: 4.375 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006332/0.01413, allocations: 0.5467 MB / 329 MB, free: 3.812 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001098/0.01523, allocations: 0.8337 MB / 329.8 MB, free: 2.977 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006708/0.0159, allocations: 0.5297 MB / 330.3 MB, free: 2.445 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.826e-05/0.016, allocations: 72 kB / 330.4 MB, free: 2.375 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004281/0.01643, allocations: 227.6 kB / 330.6 MB, free: 2.152 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003717/0.0168, allocations: 0.5142 MB / 331.1 MB, free: 1.637 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003224/0.01712, allocations: 367.2 kB / 331.5 MB, free: 1.277 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008934/0.01801, allocations: 0.9109 MB / 332.4 MB, free: 368 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.01802, allocations: 4 kB / 332.4 MB, free: 364 kB / 298.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.01802, allocations: 0 / 332.4 MB, free: 364 kB / 298.7 MB Notification: Performance of Transformations before backend: time 1.932e-05/0.01804, allocations: 0 / 332.4 MB, free: 364 kB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.001304/0.01934, allocations: 1.189 MB / 333.6 MB, free: 15.13 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.01937, allocations: 11.98 kB / 333.6 MB, free: 15.12 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005957/0.01997, allocations: 224.7 kB / 333.8 MB, free: 14.9 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006093/0.02058, allocations: 0.5671 MB / 334.4 MB, free: 14.3 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.124e-05/0.02062, allocations: 66.38 kB / 334.5 MB, free: 14.24 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.317e-05/0.0207, allocations: 84.31 kB / 334.6 MB, free: 14.16 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000691/0.02139, allocations: 0.794 MB / 335.3 MB, free: 13.27 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.265e-05/0.02142, allocations: 11.88 kB / 335.4 MB, free: 13.26 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.923e-05/0.02147, allocations: 32 kB / 335.4 MB, free: 13.23 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.081e-05/0.02152, allocations: 57.97 kB / 335.4 MB, free: 13.18 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004162/0.02193, allocations: 374 kB / 335.8 MB, free: 12.8 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00278/0.02471, allocations: 3.725 MB / 339.5 MB, free: 8.906 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004599/0.02517, allocations: 427.5 kB / 340 MB, free: 8.465 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001552/0.02533, allocations: 169.7 kB / 340.1 MB, free: 8.285 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.371e-05/0.02536, allocations: 16.44 kB / 340.1 MB, free: 8.27 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002573/0.02562, allocations: 317.4 kB / 340.4 MB, free: 7.922 MB / 314.7 MB Notification: Performance of pre-optimization done (n=65): time 3.326e-06/0.02562, allocations: 3.984 kB / 340.5 MB, free: 7.918 MB / 314.7 MB Notification: Performance of matching and sorting (n=66): time 0.00209/0.02771, allocations: 1.23 MB / 341.7 MB, free: 6.648 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.841e-05/0.02777, allocations: 170.8 kB / 341.8 MB, free: 6.441 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002888/0.02806, allocations: 0.5075 MB / 342.4 MB, free: 5.922 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.16e-05/0.02809, allocations: 37.7 kB / 342.4 MB, free: 5.879 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001771/0.02827, allocations: 425.2 kB / 342.8 MB, free: 5.457 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001227/0.02839, allocations: 234 kB / 343 MB, free: 5.227 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/0.02852, allocations: 146.5 kB / 343.2 MB, free: 5.074 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.02862, allocations: 386.6 kB / 343.6 MB, free: 4.688 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/0.02873, allocations: 111.7 kB / 343.7 MB, free: 4.574 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002366/0.02897, allocations: 391.5 kB / 344 MB, free: 4.062 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004355/0.0294, allocations: 0.5784 MB / 344.6 MB, free: 3.348 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.02941, allocations: 4 kB / 344.6 MB, free: 3.344 MB / 314.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0007347/0.03014, allocations: 0.6805 MB / 345.3 MB, free: 2.637 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.15e-05/0.03017, allocations: 33.7 kB / 345.3 MB, free: 2.598 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.03018, allocations: 12.09 kB / 345.4 MB, free: 2.586 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006155/0.0308, allocations: 283.1 kB / 345.6 MB, free: 2.301 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002647/0.03106, allocations: 147.7 kB / 345.8 MB, free: 2.156 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002466/0.03353, allocations: 3.512 MB / 349.3 MB, free: 14.46 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002492/0.03378, allocations: 27.94 kB / 349.3 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.728e-05/0.03382, allocations: 32 kB / 349.3 MB, free: 14.4 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,relayNet.cnt,$PRE.relayNet.cnt,$whenCondition1,relayNet.y[1],$PRE.relayNet.y[1],switch.closed,$PRE.switch.closed,switch.open,$PRE.switch.open,switch.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,17,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002134/0.03403, allocations: 198.2 kB / 349.5 MB, free: 14.19 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.273e-05/0.0341, allocations: 71.86 kB / 349.6 MB, free: 14.12 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006757/0.03478, allocations: 0.5704 MB / 350.2 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.03478, allocations: 4 kB / 350.2 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.03479, allocations: 8 kB / 350.2 MB, free: 13.51 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/0.03479, allocations: 3.984 kB / 350.2 MB, free: 13.5 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001273/0.03607, allocations: 1.179 MB / 351.4 MB, free: 12.26 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.03607, allocations: 0 / 351.4 MB, free: 12.26 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001743/0.03624, allocations: 75.89 kB / 351.4 MB, free: 12.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005165/0.03676, allocations: 250.1 kB / 351.7 MB, free: 11.93 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.897e-05/0.03679, allocations: 15.94 kB / 351.7 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002297/0.03909, allocations: 3.476 MB / 355.2 MB, free: 8.25 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.03909, allocations: 4 kB / 355.2 MB, free: 8.246 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006633/0.03975, allocations: 0.7055 MB / 355.9 MB, free: 7.484 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.079e-05/0.03983, allocations: 75.41 kB / 356 MB, free: 7.41 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.716e-05/0.03989, allocations: 19.94 kB / 356 MB, free: 7.391 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/0.04004, allocations: 12 kB / 356 MB, free: 7.379 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.04014, allocations: 60.39 kB / 356.1 MB, free: 7.316 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.269e-05/0.04016, allocations: 12 kB / 356.1 MB, free: 7.305 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001602/0.04032, allocations: 228.6 kB / 356.3 MB, free: 7.082 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04032, allocations: 4 kB / 356.3 MB, free: 7.078 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006271/0.04095, allocations: 271.9 kB / 356.6 MB, free: 6.812 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (switch.open,switch.control[1],switch.closed,$whenCondition1,relayNet.y[1],relayNet.cnt,system.initime) * Number of discrete states: 3 (relayNet.y[1],relayNet.cnt,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,17,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000132/0.04108, allocations: 101.5 kB / 356.7 MB, free: 6.703 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007963/0.04188, allocations: 0.8389 MB / 357.5 MB, free: 5.816 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.268e-05/0.04189, allocations: 8.875 kB / 357.5 MB, free: 5.809 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004606/0.04235, allocations: 0.619 MB / 358.1 MB, free: 5.141 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004857/0.04284, allocations: 193.8 kB / 358.3 MB, free: 4.965 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001962/0.0448, allocations: 1.576 MB / 359.9 MB, free: 3.328 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001856/0.04498, allocations: 259.8 kB / 360.1 MB, free: 3.055 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002106/0.04519, allocations: 90.27 kB / 360.2 MB, free: 2.965 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002397/0.04543, allocations: 185.3 kB / 360.4 MB, free: 2.785 MB / 330.7 MB Notification: Performance of SimCode: time 1.052e-06/0.04543, allocations: 0 / 360.4 MB, free: 2.785 MB / 330.7 MB Notification: Performance of Templates: time 0.01566/0.06109, allocations: 11.95 MB / 372.4 MB, free: 7.047 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyState.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyState.sim & ./PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyState -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.SimulationSteadyState.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.469615623354912]