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.001665/0.001665, allocations: 112 kB / 20.43 MB, free: 1.457 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.001572/0.001572, allocations: 180.8 kB / 23.71 MB, free: 4.695 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.477/1.477, allocations: 225.6 MB / 252.5 MB, free: 12.99 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.1901/0.1901, allocations: 38.54 MB / 346.3 MB, free: 2.129 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.002019/0.002019, allocations: 67.89 kB / 484.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3782/0.3802, allocations: 61.3 MB / 0.533 GB, free: 5.574 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyState): time 0.008003/0.3882, allocations: 7.767 MB / 0.5406 GB, free: 15.79 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005008/0.3932, allocations: 2.351 MB / 0.5429 GB, free: 13.89 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008592/0.3941, allocations: 37.84 kB / 0.543 GB, free: 13.88 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002477/0.3965, allocations: 0.8837 MB / 0.5438 GB, free: 13.19 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001462/0.398, allocations: 0.5088 MB / 0.5443 GB, free: 12.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001346/0.3993, allocations: 458.9 kB / 0.5448 GB, free: 12.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00191/0.4013, allocations: 1.279 MB / 0.546 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000811/0.4021, allocations: 445.2 kB / 0.5464 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001137/0.4032, allocations: 0.573 MB / 0.547 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00112/0.4043, allocations: 0.6991 MB / 0.5477 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001426/0.4045, allocations: 74.03 kB / 0.5477 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006332/0.4051, allocations: 234.4 kB / 0.548 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006204/0.4057, allocations: 0.4928 MB / 0.5484 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007789/0.4065, allocations: 0.5259 MB / 0.549 GB, free: 9.938 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001812/0.4083, allocations: 1.258 MB / 0.5502 GB, free: 9.102 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.4083, allocations: 0 / 0.5502 GB, free: 9.102 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4083, allocations: 0 / 0.5502 GB, free: 9.102 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.057e-05/0.4083, allocations: 1.156 kB / 0.5502 GB, free: 9.102 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.002643/0.411, allocations: 1.265 MB / 0.5514 GB, free: 8.145 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.411, allocations: 14.02 kB / 0.5514 GB, free: 8.141 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001052/0.4121, allocations: 175.6 kB / 0.5516 GB, free: 8.051 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001449/0.4135, allocations: 0.6551 MB / 0.5522 GB, free: 7.578 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.63e-05/0.4136, allocations: 60.72 kB / 0.5523 GB, free: 7.551 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001636/0.4138, allocations: 86.2 kB / 0.5524 GB, free: 7.52 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001941/0.4157, allocations: 1.176 MB / 0.5535 GB, free: 6.734 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.369e-05/0.4157, allocations: 6.062 kB / 0.5535 GB, free: 6.73 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/0.4158, allocations: 37.3 kB / 0.5536 GB, free: 6.703 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.559e-05/0.4159, allocations: 59.44 kB / 0.5536 GB, free: 6.688 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001722/0.4177, allocations: 0.9318 MB / 0.5545 GB, free: 5.938 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006789/0.4244, allocations: 4.69 MB / 0.5591 GB, free: 1.043 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001277/0.4257, allocations: 0.6247 MB / 0.5597 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005269/0.4262, allocations: 347.8 kB / 0.5601 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.813e-05/0.4263, allocations: 8.484 kB / 0.5601 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007011/0.427, allocations: 448.8 kB / 0.5605 GB, free: 15.58 MB / 414.1 MB Notification: Performance of pre-optimization done (n=65): time 2.424e-06/0.427, allocations: 0 / 0.5605 GB, free: 15.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=66): time 0.005789/0.4328, allocations: 2.311 MB / 0.5628 GB, free: 13.24 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001152/0.4329, allocations: 166.9 kB / 0.5629 GB, free: 13.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007604/0.4337, allocations: 0.5978 MB / 0.5635 GB, free: 12.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.983e-05/0.4337, allocations: 37.7 kB / 0.5635 GB, free: 12.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004704/0.4342, allocations: 495.9 kB / 0.564 GB, free: 11.9 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002144/0.4344, allocations: 238 kB / 0.5642 GB, free: 11.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002265/0.4346, allocations: 158.6 kB / 0.5644 GB, free: 11.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001972/0.4348, allocations: 386.8 kB / 0.5648 GB, free: 11.12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004592/0.4353, allocations: 289.8 kB / 0.565 GB, free: 10.83 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000711/0.436, allocations: 0.5564 MB / 0.5656 GB, free: 10.16 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001364/0.4374, allocations: 0.9506 MB / 0.5665 GB, free: 9.074 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.696e-06/0.4374, allocations: 11.94 kB / 0.5665 GB, free: 9.062 MB / 414.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002321/0.4397, allocations: 1.214 MB / 0.5677 GB, free: 7.828 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.305e-05/0.4397, allocations: 33.7 kB / 0.5677 GB, free: 7.789 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.916e-05/0.4398, allocations: 8 kB / 0.5677 GB, free: 7.781 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001162/0.4409, allocations: 338 kB / 0.5681 GB, free: 7.445 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005552/0.4415, allocations: 147.7 kB / 0.5682 GB, free: 7.301 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006997/0.4485, allocations: 5.187 MB / 0.5733 GB, free: 1.859 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000684/0.4492, allocations: 32.03 kB / 0.5733 GB, free: 1.828 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.51e-05/0.4492, allocations: 39.94 kB / 0.5733 GB, free: 1.789 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.000602/0.4498, allocations: 361.8 kB / 0.5737 GB, free: 1.422 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/0.4499, allocations: 83.42 kB / 0.5738 GB, free: 1.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002021/0.452, allocations: 1.035 MB / 0.5748 GB, free: 284 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.452, allocations: 8 kB / 0.5748 GB, free: 276 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.452, allocations: 4 kB / 0.5748 GB, free: 272 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.452, allocations: 3.984 kB / 0.5748 GB, free: 268 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003539/0.4555, allocations: 2.012 MB / 0.5768 GB, free: 14.17 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.4555, allocations: 4 kB / 0.5768 GB, free: 14.17 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003041/0.4558, allocations: 75.84 kB / 0.5768 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009181/0.4568, allocations: 315.8 kB / 0.5771 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.981e-05/0.4568, allocations: 23.92 kB / 0.5772 GB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006688/0.4635, allocations: 5.112 MB / 0.5821 GB, free: 8.395 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.4635, allocations: 4.047 kB / 0.5821 GB, free: 8.391 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002063/0.4656, allocations: 1.123 MB / 0.5832 GB, free: 7.227 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002613/0.4658, allocations: 67.53 kB / 0.5833 GB, free: 7.16 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00016/0.466, allocations: 19.94 kB / 0.5833 GB, free: 7.141 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003841/0.4664, allocations: 16 kB / 0.5833 GB, free: 7.125 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001524/0.4665, allocations: 64.33 kB / 0.5834 GB, free: 7.059 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-05/0.4666, allocations: 20 kB / 0.5834 GB, free: 7.039 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005563/0.4671, allocations: 427 kB / 0.5838 GB, free: 6.625 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4671, allocations: 0 / 0.5838 GB, free: 6.625 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001019/0.4681, allocations: 264 kB / 0.5841 GB, free: 6.367 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.0001664/0.4683, allocations: 119.2 kB / 0.5842 GB, free: 6.242 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001987/0.4703, allocations: 1.11 MB / 0.5853 GB, free: 5.094 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4703, allocations: 0 / 0.5853 GB, free: 5.094 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001141/0.4714, allocations: 0.7251 MB / 0.586 GB, free: 4.328 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009145/0.4723, allocations: 189.6 kB / 0.5862 GB, free: 4.152 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003395/0.4757, allocations: 1.778 MB / 0.5879 GB, free: 2.324 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001057/0.4768, allocations: 1.111 MB / 0.589 GB, free: 1.184 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005164/0.4773, allocations: 170.3 kB / 0.5892 GB, free: 1.012 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001449/0.4775, allocations: 51.42 kB / 0.5892 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of SimCode: time 1.413e-06/0.4775, allocations: 0 / 0.5892 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of Templates: time 0.0231/0.5006, allocations: 11.67 MB / 0.6006 GB, free: 5.367 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.5815277472138405]