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.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.00197/0.00197, allocations: 113 kB / 19.04 MB, free: 3.254 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.001895/0.001895, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 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.403/1.403, allocations: 225.6 MB / 250.8 MB, free: 13.34 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.1789/0.1789, allocations: 38.53 MB / 344.5 MB, free: 2.547 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.Introductory.SimulationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyState") translateModel(PowerSystems.Examples.Introductory.SimulationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 67.89 kB / 482.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3869/0.3888, allocations: 61.23 MB / 0.5306 GB, free: 5.508 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyState): time 0.008179/0.397, allocations: 7.744 MB / 0.5381 GB, free: 15.95 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004951/0.402, allocations: 2.344 MB / 0.5404 GB, free: 14.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006703/0.4026, allocations: 29.28 kB / 0.5404 GB, free: 14.05 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002456/0.4051, allocations: 0.8763 MB / 0.5413 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001436/0.4065, allocations: 0.5045 MB / 0.5418 GB, free: 12.96 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001414/0.4079, allocations: 455.2 kB / 0.5422 GB, free: 12.63 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001906/0.4099, allocations: 1.277 MB / 0.5435 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007928/0.4106, allocations: 450.6 kB / 0.5439 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001125/0.4118, allocations: 0.5659 MB / 0.5445 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001085/0.4129, allocations: 0.6982 MB / 0.5451 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001283/0.413, allocations: 74.56 kB / 0.5452 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005585/0.4135, allocations: 218.4 kB / 0.5454 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005332/0.4141, allocations: 0.4926 MB / 0.5459 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006184/0.4147, allocations: 0.5264 MB / 0.5464 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001668/0.4164, allocations: 1.249 MB / 0.5476 GB, free: 9.312 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.4164, allocations: 4 kB / 0.5476 GB, free: 9.309 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.4164, allocations: 1.281 kB / 0.5476 GB, free: 9.309 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.574e-05/0.4164, allocations: 0 / 0.5476 GB, free: 9.309 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.002488/0.4189, allocations: 1.336 MB / 0.5489 GB, free: 8.262 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.4189, allocations: 13.83 kB / 0.549 GB, free: 8.258 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000879/0.4198, allocations: 171.2 kB / 0.5491 GB, free: 8.172 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001326/0.4211, allocations: 0.7284 MB / 0.5498 GB, free: 7.621 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.261e-05/0.4212, allocations: 60.59 kB / 0.5499 GB, free: 7.594 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001445/0.4213, allocations: 93.55 kB / 0.55 GB, free: 7.555 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001807/0.4231, allocations: 1.18 MB / 0.5511 GB, free: 6.766 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.25e-05/0.4232, allocations: 10.22 kB / 0.5511 GB, free: 6.758 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/0.4233, allocations: 34.44 kB / 0.5512 GB, free: 6.734 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.897e-05/0.4234, allocations: 53.89 kB / 0.5512 GB, free: 6.723 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00186/0.4252, allocations: 0.9271 MB / 0.5521 GB, free: 6.281 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006473/0.4317, allocations: 4.776 MB / 0.5568 GB, free: 1.355 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001184/0.4329, allocations: 0.6272 MB / 0.5574 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005366/0.4334, allocations: 343.8 kB / 0.5577 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.626e-05/0.4335, allocations: 12.53 kB / 0.5577 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000675/0.4342, allocations: 439.7 kB / 0.5582 GB, free: 15.9 MB / 414.1 MB Notification: Performance of pre-optimization done (n=65): time 2.245e-06/0.4342, allocations: 4 kB / 0.5582 GB, free: 15.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=66): time 0.005688/0.4399, allocations: 2.459 MB / 0.5606 GB, free: 13.37 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/0.44, allocations: 170.8 kB / 0.5607 GB, free: 13.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007924/0.4408, allocations: 0.6056 MB / 0.5613 GB, free: 12.55 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.025e-05/0.4408, allocations: 37.7 kB / 0.5614 GB, free: 12.51 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000489/0.4413, allocations: 492 kB / 0.5618 GB, free: 12.02 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002457/0.4416, allocations: 238 kB / 0.5621 GB, free: 11.79 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002685/0.4418, allocations: 154.6 kB / 0.5622 GB, free: 11.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002247/0.442, allocations: 386.8 kB / 0.5626 GB, free: 11.24 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004717/0.4425, allocations: 285.8 kB / 0.5628 GB, free: 10.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007183/0.4432, allocations: 0.5524 MB / 0.5634 GB, free: 10.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001295/0.4445, allocations: 0.9611 MB / 0.5643 GB, free: 9.191 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/0.4445, allocations: 7.938 kB / 0.5643 GB, free: 9.184 MB / 414.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002179/0.4467, allocations: 1.216 MB / 0.5655 GB, free: 7.945 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.245e-05/0.4468, allocations: 33.7 kB / 0.5655 GB, free: 7.906 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/0.4468, allocations: 8 kB / 0.5656 GB, free: 7.898 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001071/0.4479, allocations: 341.8 kB / 0.5659 GB, free: 7.559 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004927/0.4484, allocations: 139.8 kB / 0.566 GB, free: 7.422 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006661/0.455, allocations: 5.39 MB / 0.5713 GB, free: 1.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008471/0.4559, allocations: 36.03 kB / 0.5713 GB, free: 1.695 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.208e-05/0.4559, allocations: 40 kB / 0.5714 GB, free: 1.656 MB / 414.1 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.0007849/0.4567, allocations: 365.7 kB / 0.5717 GB, free: 1.285 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000137/0.4569, allocations: 83.42 kB / 0.5718 GB, free: 1.203 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002051/0.4589, allocations: 1.032 MB / 0.5728 GB, free: 136 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.4589, allocations: 4 kB / 0.5728 GB, free: 132 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/0.4589, allocations: 8 kB / 0.5728 GB, free: 124 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.4589, allocations: 3.984 kB / 0.5728 GB, free: 120 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003398/0.4623, allocations: 2.043 MB / 0.5748 GB, free: 13.99 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.752e-06/0.4623, allocations: 3.984 kB / 0.5748 GB, free: 13.99 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003055/0.4626, allocations: 79.84 kB / 0.5749 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008571/0.4635, allocations: 309.6 kB / 0.5752 GB, free: 13.6 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.108e-05/0.4636, allocations: 19.92 kB / 0.5752 GB, free: 13.58 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006238/0.4698, allocations: 5.321 MB / 0.5804 GB, free: 7.965 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.4698, allocations: 0 / 0.5804 GB, free: 7.965 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001991/0.4718, allocations: 1.116 MB / 0.5815 GB, free: 6.801 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003048/0.4721, allocations: 148.6 kB / 0.5816 GB, free: 6.637 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.4722, allocations: 16 kB / 0.5816 GB, free: 6.621 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000346/0.4725, allocations: 23.98 kB / 0.5817 GB, free: 6.598 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001881/0.4727, allocations: 60.42 kB / 0.5817 GB, free: 6.539 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.215e-05/0.4728, allocations: 16 kB / 0.5817 GB, free: 6.523 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006276/0.4734, allocations: 419 kB / 0.5821 GB, free: 6.117 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4734, allocations: 0 / 0.5821 GB, free: 6.117 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001261/0.4747, allocations: 272 kB / 0.5824 GB, free: 5.852 MB / 430.1 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.0002313/0.4749, allocations: 130 kB / 0.5825 GB, free: 5.719 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002123/0.477, allocations: 1.109 MB / 0.5836 GB, free: 4.566 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.477, allocations: 3.938 kB / 0.5836 GB, free: 4.562 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001129/0.4782, allocations: 0.7292 MB / 0.5843 GB, free: 3.797 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009389/0.4791, allocations: 190.7 kB / 0.5845 GB, free: 3.625 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003189/0.4823, allocations: 1.796 MB / 0.5862 GB, free: 1.777 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007987/0.4831, allocations: 1.103 MB / 0.5873 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004416/0.4835, allocations: 174.3 kB / 0.5875 GB, free: 484 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/0.4836, allocations: 55.42 kB / 0.5875 GB, free: 432 kB / 430.1 MB Notification: Performance of SimCode: time 1.202e-06/0.4836, allocations: 0 / 0.5875 GB, free: 432 kB / 430.1 MB Notification: Performance of Templates: time 0.021/0.5046, allocations: 11.42 MB / 0.5987 GB, free: 5.078 MB / 446.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.SimulationSteadyState.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyState.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.386455127038062]