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.002324/0.002324, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002608/0.002608, allocations: 215.9 kB / 23.73 MB, free: 4.16 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.61/1.61, allocations: 230.6 MB / 257.5 MB, free: 7.812 MB / 206.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.2106/0.2106, allocations: 38.55 MB / 352.5 MB, free: 12.3 MB / 286.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.002141/0.002141, allocations: 67.89 kB / 493 MB, free: 4.195 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3958/0.398, allocations: 62.46 MB / 0.5424 GB, free: 424 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyState): time 0.01503/0.413, allocations: 7.167 MB / 0.5494 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007272/0.4203, allocations: 2.22 MB / 0.5516 GB, free: 9.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000879/0.4212, allocations: 37.34 kB / 0.5516 GB, free: 9.211 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003223/0.4244, allocations: 0.8407 MB / 0.5525 GB, free: 8.574 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002589/0.427, allocations: 0.509 MB / 0.553 GB, free: 8.152 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001742/0.4287, allocations: 463 kB / 0.5534 GB, free: 7.816 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002224/0.4309, allocations: 1.276 MB / 0.5546 GB, free: 7.102 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009022/0.4318, allocations: 0.5083 MB / 0.5551 GB, free: 6.766 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001359/0.4332, allocations: 0.5805 MB / 0.5557 GB, free: 6.426 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001311/0.4345, allocations: 0.6642 MB / 0.5564 GB, free: 5.895 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001353/0.4346, allocations: 76 kB / 0.5564 GB, free: 5.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006305/0.4353, allocations: 231.7 kB / 0.5566 GB, free: 5.594 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005647/0.4358, allocations: 0.4947 MB / 0.5571 GB, free: 5.098 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005679/0.4364, allocations: 453.9 kB / 0.5576 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001613/0.438, allocations: 1.257 MB / 0.5588 GB, free: 3.391 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.438, allocations: 0 / 0.5588 GB, free: 3.391 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.438, allocations: 4 kB / 0.5588 GB, free: 3.387 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.144e-05/0.438, allocations: 0 / 0.5588 GB, free: 3.387 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.002491/0.4405, allocations: 1.257 MB / 0.56 GB, free: 2.086 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.864e-05/0.4406, allocations: 12.02 kB / 0.56 GB, free: 2.074 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001117/0.4417, allocations: 200.1 kB / 0.5602 GB, free: 1.879 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0015/0.4432, allocations: 0.6633 MB / 0.5609 GB, free: 1.184 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.361e-05/0.4433, allocations: 62.38 kB / 0.5609 GB, free: 1.121 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001445/0.4434, allocations: 84.12 kB / 0.561 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001999/0.4454, allocations: 1.204 MB / 0.5622 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.736e-05/0.4455, allocations: 11.89 kB / 0.5622 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-05/0.4456, allocations: 43.97 kB / 0.5622 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.525e-05/0.4457, allocations: 53.98 kB / 0.5623 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001583/0.4472, allocations: 0.9539 MB / 0.5632 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006266/0.4535, allocations: 4.332 MB / 0.5675 GB, free: 10.17 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001278/0.4548, allocations: 0.6517 MB / 0.5681 GB, free: 9.492 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005708/0.4554, allocations: 377.5 kB / 0.5684 GB, free: 9.105 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.592e-05/0.4554, allocations: 8.5 kB / 0.5685 GB, free: 9.098 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007794/0.4562, allocations: 466.6 kB / 0.5689 GB, free: 8.609 MB / 414.1 MB Notification: Performance of pre-optimization done (n=65): time 3.186e-06/0.4562, allocations: 0 / 0.5689 GB, free: 8.609 MB / 414.1 MB Notification: Performance of matching and sorting (n=66): time 0.005803/0.462, allocations: 2.384 MB / 0.5712 GB, free: 6.188 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001557/0.4621, allocations: 170.9 kB / 0.5714 GB, free: 5.984 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008217/0.463, allocations: 0.5858 MB / 0.572 GB, free: 5.395 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.054e-05/0.463, allocations: 37.7 kB / 0.572 GB, free: 5.352 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004795/0.4635, allocations: 499.9 kB / 0.5725 GB, free: 4.855 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002612/0.4638, allocations: 242 kB / 0.5727 GB, free: 4.617 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002412/0.464, allocations: 158.5 kB / 0.5729 GB, free: 4.457 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002345/0.4642, allocations: 390.7 kB / 0.5732 GB, free: 4.066 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005253/0.4648, allocations: 319.5 kB / 0.5735 GB, free: 3.746 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007766/0.4655, allocations: 0.5775 MB / 0.5741 GB, free: 3.043 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001467/0.467, allocations: 0.9507 MB / 0.575 GB, free: 1.953 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.467, allocations: 4 kB / 0.575 GB, free: 1.949 MB / 414.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.00234/0.4694, allocations: 1.247 MB / 0.5763 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.967e-05/0.4694, allocations: 37.7 kB / 0.5763 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/0.4694, allocations: 8 kB / 0.5763 GB, free: 0.625 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001063/0.4705, allocations: 338.2 kB / 0.5766 GB, free: 296 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000508/0.471, allocations: 143.7 kB / 0.5768 GB, free: 152 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006719/0.4777, allocations: 4.99 MB / 0.5816 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005955/0.4783, allocations: 32.03 kB / 0.5817 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.621e-05/0.4784, allocations: 39.98 kB / 0.5817 GB, free: 10.89 MB / 430.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.0005655/0.4789, allocations: 352.7 kB / 0.582 GB, free: 10.53 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.479, allocations: 79.53 kB / 0.5821 GB, free: 10.45 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00206/0.4811, allocations: 1.063 MB / 0.5831 GB, free: 9.352 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/0.4811, allocations: 15.94 kB / 0.5832 GB, free: 9.336 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.4811, allocations: 7.984 kB / 0.5832 GB, free: 9.328 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.4811, allocations: 0 / 0.5832 GB, free: 9.328 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003545/0.4847, allocations: 1.862 MB / 0.585 GB, free: 7.398 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.4847, allocations: 0 / 0.585 GB, free: 7.398 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003243/0.485, allocations: 79.89 kB / 0.5851 GB, free: 7.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008846/0.4859, allocations: 309.6 kB / 0.5854 GB, free: 7.012 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.516e-05/0.4859, allocations: 15.98 kB / 0.5854 GB, free: 6.996 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006604/0.4925, allocations: 4.915 MB / 0.5902 GB, free: 1.875 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.4925, allocations: 4 kB / 0.5902 GB, free: 1.871 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002073/0.4946, allocations: 1.14 MB / 0.5913 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002152/0.4948, allocations: 75.45 kB / 0.5914 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.503e-05/0.4949, allocations: 16 kB / 0.5914 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003358/0.4953, allocations: 19.98 kB / 0.5914 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/0.4954, allocations: 52.34 kB / 0.5914 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.093e-05/0.4955, allocations: 23.98 kB / 0.5915 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006026/0.4961, allocations: 399.1 kB / 0.5919 GB, free: 112 kB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4961, allocations: 4 kB / 0.5919 GB, free: 108 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.00112/0.4972, allocations: 268 kB / 0.5921 GB, free: 15.84 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.0001962/0.4974, allocations: 115.6 kB / 0.5922 GB, free: 15.72 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002158/0.4995, allocations: 1.18 MB / 0.5934 GB, free: 14.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.4995, allocations: 0 / 0.5934 GB, free: 14.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001182/0.5007, allocations: 0.7765 MB / 0.5941 GB, free: 13.67 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009002/0.5016, allocations: 189.2 kB / 0.5943 GB, free: 13.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003103/0.5047, allocations: 1.81 MB / 0.5961 GB, free: 11.63 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006363/0.5054, allocations: 0.5042 MB / 0.5966 GB, free: 11.09 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004534/0.5058, allocations: 174.1 kB / 0.5967 GB, free: 10.92 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001339/0.506, allocations: 51.42 kB / 0.5968 GB, free: 10.87 MB / 446.1 MB Notification: Performance of SimCode: time 6.41e-07/0.506, allocations: 0 / 0.5968 GB, free: 10.87 MB / 446.1 MB Notification: Performance of Templates: time 0.02356/0.5295, allocations: 12.43 MB / 0.6089 GB, free: 14.59 MB / 462.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.9282561875879765]