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.001452/0.001452, allocations: 73.88 kB / 21.24 MB, free: 0.5547 MB / 14.72 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.001446/0.001446, allocations: 160.1 kB / 24.5 MB, free: 3.715 MB / 14.72 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.498/1.498, allocations: 177.2 MB / 204.9 MB, free: 8.984 MB / 190.1 MB " [Timeout remaining time 178] 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.1914/0.1914, allocations: 29.43 MB / 290.7 MB, free: 3.266 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.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.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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 63.91 kB / 431.2 MB, free: 3.215 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3929/0.3948, allocations: 62.44 MB / 493.6 MB, free: 37.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyState): time 0.007789/0.4026, allocations: 7.178 MB / 0.4891 GB, free: 32.98 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003976/0.4066, allocations: 2.216 MB / 0.4912 GB, free: 31.49 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004979/0.4071, allocations: 38.16 kB / 0.4913 GB, free: 31.47 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00203/0.4091, allocations: 0.8285 MB / 0.4921 GB, free: 31.01 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001275/0.4104, allocations: 0.5095 MB / 0.4926 GB, free: 30.71 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00131/0.4117, allocations: 470.6 kB / 0.493 GB, free: 30.5 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0012/0.4129, allocations: 1.275 MB / 0.4943 GB, free: 29.94 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006602/0.4136, allocations: 0.5094 MB / 0.4948 GB, free: 29.7 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000817/0.4144, allocations: 0.5724 MB / 0.4953 GB, free: 29.44 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008586/0.4153, allocations: 0.6772 MB / 0.496 GB, free: 29.21 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001156/0.4154, allocations: 74.09 kB / 0.4961 GB, free: 29.21 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000492/0.4159, allocations: 229.4 kB / 0.4963 GB, free: 29.16 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003776/0.4162, allocations: 0.4903 MB / 0.4968 GB, free: 29 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000411/0.4167, allocations: 449.9 kB / 0.4972 GB, free: 28.77 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001105/0.4178, allocations: 1.258 MB / 0.4984 GB, free: 28.3 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.824e-06/0.4178, allocations: 0 / 0.4984 GB, free: 28.3 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4178, allocations: 0 / 0.4984 GB, free: 28.3 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.358e-05/0.4178, allocations: 0 / 0.4984 GB, free: 28.3 MB / 446.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.002289/0.4201, allocations: 1.268 MB / 0.4997 GB, free: 27.46 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.4201, allocations: 6.656 kB / 0.4997 GB, free: 27.46 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001035/0.4212, allocations: 211.1 kB / 0.4999 GB, free: 27.39 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00114/0.4223, allocations: 0.6562 MB / 0.5005 GB, free: 27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.104e-05/0.4224, allocations: 59.81 kB / 0.5006 GB, free: 26.98 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/0.4225, allocations: 89.14 kB / 0.5007 GB, free: 26.95 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/0.424, allocations: 1.213 MB / 0.5018 GB, free: 26.34 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.408e-05/0.424, allocations: 7.266 kB / 0.5018 GB, free: 26.33 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.562e-05/0.4241, allocations: 33.59 kB / 0.5019 GB, free: 26.31 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.055e-05/0.4241, allocations: 54.36 kB / 0.5019 GB, free: 26.3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001314/0.4255, allocations: 0.9566 MB / 0.5029 GB, free: 25.97 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00436/0.4298, allocations: 4.328 MB / 0.5071 GB, free: 22.79 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009889/0.4308, allocations: 0.6577 MB / 0.5077 GB, free: 22.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004202/0.4312, allocations: 375.1 kB / 0.5081 GB, free: 22.33 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.399e-05/0.4313, allocations: 17.25 kB / 0.5081 GB, free: 22.33 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000531/0.4318, allocations: 470.1 kB / 0.5086 GB, free: 22.07 MB / 446.1 MB Notification: Performance of pre-optimization done (n=65): time 2.485e-06/0.4318, allocations: 3.938 kB / 0.5086 GB, free: 22.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=66): time 0.004897/0.4367, allocations: 2.375 MB / 0.5109 GB, free: 21.01 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.45e-05/0.4368, allocations: 175.7 kB / 0.511 GB, free: 20.81 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006147/0.4374, allocations: 0.5937 MB / 0.5116 GB, free: 20.54 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.168e-05/0.4374, allocations: 36.7 kB / 0.5117 GB, free: 20.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000297/0.4377, allocations: 0.4896 MB / 0.5121 GB, free: 20.11 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001874/0.4379, allocations: 234.8 kB / 0.5124 GB, free: 19.93 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002789/0.4382, allocations: 161.2 kB / 0.5125 GB, free: 19.85 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.4383, allocations: 383.7 kB / 0.5129 GB, free: 19.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004853/0.4388, allocations: 309.8 kB / 0.5132 GB, free: 19.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000576/0.4394, allocations: 0.5813 MB / 0.5137 GB, free: 18.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001086/0.4405, allocations: 0.9504 MB / 0.5147 GB, free: 18.26 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.4405, allocations: 3.438 kB / 0.5147 GB, free: 18.26 MB / 446.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002093/0.4426, allocations: 1.251 MB / 0.5159 GB, free: 17.72 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.212e-05/0.4426, allocations: 34.42 kB / 0.5159 GB, free: 17.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.938e-05/0.4426, allocations: 9.25 kB / 0.5159 GB, free: 17.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0011/0.4437, allocations: 336.4 kB / 0.5163 GB, free: 17.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005215/0.4443, allocations: 153.2 kB / 0.5164 GB, free: 17.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005488/0.4498, allocations: 4.977 MB / 0.5213 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007729/0.4505, allocations: 34.98 kB / 0.5213 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.386e-05/0.4506, allocations: 44 kB / 0.5213 GB, free: 14.02 MB / 446.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.0005922/0.4512, allocations: 354.2 kB / 0.5217 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.4513, allocations: 74.94 kB / 0.5217 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002029/0.4533, allocations: 1.066 MB / 0.5228 GB, free: 13.27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.49e-05/0.4534, allocations: 11.41 kB / 0.5228 GB, free: 13.27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.006e-06/0.4534, allocations: 4.312 kB / 0.5228 GB, free: 13.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/0.4534, allocations: 4.766 kB / 0.5228 GB, free: 13.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003443/0.4568, allocations: 1.867 MB / 0.5246 GB, free: 12.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/0.4568, allocations: 6.125 kB / 0.5246 GB, free: 12.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000358/0.4572, allocations: 71.16 kB / 0.5247 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009382/0.4581, allocations: 321.5 kB / 0.525 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.28e-05/0.4582, allocations: 14.19 kB / 0.525 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006175/0.4644, allocations: 4.908 MB / 0.5298 GB, free: 8.734 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/0.4644, allocations: 9.5 kB / 0.5298 GB, free: 8.727 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00232/0.4667, allocations: 1.146 MB / 0.5309 GB, free: 8.137 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002133/0.4669, allocations: 73.75 kB / 0.531 GB, free: 8.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.999e-05/0.467, allocations: 14.91 kB / 0.531 GB, free: 8.082 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003377/0.4673, allocations: 22.97 kB / 0.5311 GB, free: 8.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001867/0.4675, allocations: 50.23 kB / 0.5311 GB, free: 8.066 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.164e-05/0.4676, allocations: 23.69 kB / 0.5311 GB, free: 8.059 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006091/0.4682, allocations: 400 kB / 0.5315 GB, free: 7.887 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4682, allocations: 3.938 kB / 0.5315 GB, free: 7.883 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001555/0.4697, allocations: 264.9 kB / 0.5318 GB, free: 7.859 MB / 446.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.0002292/0.47, allocations: 120.4 kB / 0.5319 GB, free: 7.754 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003008/0.473, allocations: 1.176 MB / 0.533 GB, free: 7.121 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/0.473, allocations: 1 kB / 0.533 GB, free: 7.121 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001337/0.4743, allocations: 0.7755 MB / 0.5338 GB, free: 6.621 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/0.4754, allocations: 182 kB / 0.534 GB, free: 6.551 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003861/0.4793, allocations: 1.805 MB / 0.5357 GB, free: 5.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008536/0.4801, allocations: 0.5051 MB / 0.5362 GB, free: 5.504 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005783/0.4807, allocations: 177.2 kB / 0.5364 GB, free: 5.473 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/0.4808, allocations: 58.53 kB / 0.5364 GB, free: 5.457 MB / 446.1 MB Notification: Performance of SimCode: time 1.563e-06/0.4808, allocations: 0 / 0.5364 GB, free: 5.457 MB / 446.1 MB Notification: Performance of Templates: time 0.02412/0.5049, allocations: 11.22 MB / 0.5474 GB, free: 1.48 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.SimulationSteadyState.mat","/var/lib/jenkins1/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.506157037103549]