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.002698/0.002698, allocations: 91.62 kB / 20.96 MB, free: 3.457 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.002625/0.002625, allocations: 161.3 kB / 24.27 MB, free: 152 kB / 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.533/1.533, allocations: 177.1 MB / 204.6 MB, free: 5.621 MB / 186.7 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.3222/0.3222, allocations: 29.41 MB / 290.5 MB, free: 2.41 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.766e-05/2.921e-05, allocations: 2.312 kB / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyState): time 0.01046/0.01049, allocations: 7.539 MB / 376.4 MB, free: 3.742 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004606/0.01509, allocations: 2.305 MB / 378.7 MB, free: 1.43 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003762/0.01547, allocations: 39.69 kB / 378.8 MB, free: 1.391 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002316/0.01778, allocations: 0.8516 MB / 379.6 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001307/0.01909, allocations: 0.532 MB / 380.1 MB, free: 0 / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001423/0.02051, allocations: 474.6 kB / 380.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001722/0.02224, allocations: 1.305 MB / 381.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008115/0.02305, allocations: 0.5096 MB / 382.4 MB, free: 13.71 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001593/0.02464, allocations: 0.7516 MB / 383.2 MB, free: 12.95 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001124/0.02577, allocations: 0.6272 MB / 383.8 MB, free: 12.32 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001533/0.02592, allocations: 76 kB / 383.9 MB, free: 12.25 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005946/0.02651, allocations: 239.5 kB / 384.1 MB, free: 12.02 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005817/0.02709, allocations: 0.5182 MB / 384.6 MB, free: 11.5 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005188/0.02761, allocations: 367.2 kB / 385 MB, free: 11.14 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001633/0.02925, allocations: 1.269 MB / 386.3 MB, free: 9.863 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.02925, allocations: 0 / 386.3 MB, free: 9.863 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.02925, allocations: 4 kB / 386.3 MB, free: 9.859 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.489e-05/0.02927, allocations: 0 / 386.3 MB, free: 9.859 MB / 362.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.002717/0.03199, allocations: 1.431 MB / 387.7 MB, free: 8.383 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.03203, allocations: 8.031 kB / 387.7 MB, free: 8.375 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001323/0.03335, allocations: 291.9 kB / 388 MB, free: 8.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001443/0.0348, allocations: 0.6655 MB / 388.7 MB, free: 7.398 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.377e-05/0.03487, allocations: 70.36 kB / 388.7 MB, free: 7.332 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/0.03501, allocations: 80.36 kB / 388.8 MB, free: 7.254 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001609/0.03661, allocations: 0.9548 MB / 389.8 MB, free: 6.184 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.53e-05/0.03665, allocations: 7.938 kB / 389.8 MB, free: 6.176 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.228e-05/0.03673, allocations: 32 kB / 389.8 MB, free: 6.145 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003094/0.03704, allocations: 57.97 kB / 389.8 MB, free: 6.09 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001158/0.0382, allocations: 0.5205 MB / 390.4 MB, free: 5.559 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006841/0.04504, allocations: 5.289 MB / 395.7 MB, free: 60 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/0.04613, allocations: 490.6 kB / 396.1 MB, free: 15.55 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004386/0.04657, allocations: 247.4 kB / 396.4 MB, free: 15.29 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.661e-05/0.04662, allocations: 8.5 kB / 396.4 MB, free: 15.28 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006257/0.04725, allocations: 400.8 kB / 396.8 MB, free: 14.85 MB / 378.7 MB Notification: Performance of pre-optimization done (n=65): time 2.324e-06/0.04725, allocations: 0 / 396.8 MB, free: 14.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=66): time 0.005509/0.05276, allocations: 1.906 MB / 398.7 MB, free: 12.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001313/0.05289, allocations: 166.9 kB / 398.8 MB, free: 12.71 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008763/0.05377, allocations: 0.7063 MB / 399.6 MB, free: 11.99 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.05e-05/0.05382, allocations: 37.7 kB / 399.6 MB, free: 11.95 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005124/0.05433, allocations: 0.5611 MB / 400.2 MB, free: 11.38 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002532/0.05459, allocations: 246.1 kB / 400.4 MB, free: 11.13 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002837/0.05487, allocations: 184.2 kB / 400.6 MB, free: 10.94 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003943/0.05526, allocations: 0.5977 MB / 401.2 MB, free: 10.33 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003461/0.05561, allocations: 171.6 kB / 401.3 MB, free: 10.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007606/0.05637, allocations: 0.5788 MB / 401.9 MB, free: 9.406 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/0.05753, allocations: 0.8074 MB / 402.7 MB, free: 8.414 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.576e-06/0.05754, allocations: 8 kB / 402.7 MB, free: 8.406 MB / 378.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001948/0.05949, allocations: 0.952 MB / 403.7 MB, free: 7.426 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.845e-05/0.05954, allocations: 37.7 kB / 403.7 MB, free: 7.383 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/0.05955, allocations: 8 kB / 403.7 MB, free: 7.375 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001577/0.06113, allocations: 313.9 kB / 404 MB, free: 7.062 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005031/0.06163, allocations: 139.8 kB / 404.2 MB, free: 6.926 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006128/0.06776, allocations: 4.962 MB / 409.1 MB, free: 1.719 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005362/0.0683, allocations: 31.98 kB / 409.2 MB, free: 1.688 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.104e-05/0.06837, allocations: 40 kB / 409.2 MB, free: 1.648 MB / 378.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.0004122/0.06878, allocations: 276.1 kB / 409.5 MB, free: 1.363 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001519/0.06893, allocations: 99.53 kB / 409.6 MB, free: 1.266 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001721/0.07065, allocations: 0.7762 MB / 410.3 MB, free: 464 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.07066, allocations: 8 kB / 410.4 MB, free: 456 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.07067, allocations: 7.984 kB / 410.4 MB, free: 448 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.07068, allocations: 7.938 kB / 410.4 MB, free: 440 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003574/0.07425, allocations: 1.752 MB / 412.1 MB, free: 14.59 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.07425, allocations: 0 / 412.1 MB, free: 14.59 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003108/0.07457, allocations: 79.89 kB / 412.2 MB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001038/0.0756, allocations: 269.8 kB / 412.5 MB, free: 14.25 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.476e-05/0.07565, allocations: 15.98 kB / 412.5 MB, free: 14.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005769/0.08142, allocations: 4.913 MB / 417.4 MB, free: 9.086 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.08142, allocations: 0 / 417.4 MB, free: 9.086 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002081/0.0835, allocations: 0.9793 MB / 418.4 MB, free: 8.035 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000172/0.08367, allocations: 71.48 kB / 418.4 MB, free: 7.965 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.204e-05/0.08376, allocations: 16 kB / 418.5 MB, free: 7.949 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003342/0.0841, allocations: 23.92 kB / 418.5 MB, free: 7.926 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/0.08425, allocations: 60.33 kB / 418.5 MB, free: 7.867 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.321e-05/0.08429, allocations: 16 kB / 418.6 MB, free: 7.852 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005378/0.08483, allocations: 431 kB / 419 MB, free: 7.434 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.08483, allocations: 0 / 419 MB, free: 7.434 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009755/0.0858, allocations: 268 kB / 419.2 MB, free: 7.172 MB / 394.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.0001921/0.08599, allocations: 123.1 kB / 419.4 MB, free: 7.043 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001829/0.08782, allocations: 1.106 MB / 420.5 MB, free: 5.883 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.08783, allocations: 0 / 420.5 MB, free: 5.883 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001136/0.08896, allocations: 0.8043 MB / 421.3 MB, free: 5.023 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008635/0.08983, allocations: 184.5 kB / 421.4 MB, free: 4.852 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002792/0.09262, allocations: 1.595 MB / 423 MB, free: 3.18 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006394/0.09326, allocations: 488.2 kB / 423.5 MB, free: 2.672 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003998/0.09366, allocations: 154 kB / 423.7 MB, free: 2.52 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/0.09378, allocations: 52.48 kB / 423.7 MB, free: 2.469 MB / 394.7 MB Notification: Performance of SimCode: time 9.81e-07/0.09378, allocations: 4 kB / 423.7 MB, free: 2.465 MB / 394.7 MB Notification: Performance of Templates: time 0.02214/0.1159, allocations: 11.34 MB / 435.1 MB, free: 7.289 MB / 410.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","/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.3515426949597895]