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.001028/0.001028, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001273/0.001273, allocations: 164.8 kB / 25.61 MB, free: 8.902 MB / 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.008/1.008, allocations: 177.1 MB / 206 MB, free: 4.5 MB / 186.7 MB " [Timeout remaining time 179] 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.1638/0.1638, allocations: 29.44 MB / 292 MB, free: 2.637 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyState") translateModel(PowerSystems.Examples.Introductory.SimulationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter.i.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 370.9 MB, free: 32.33 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.837e-05/3.011e-05, allocations: 6.812 kB / 370.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyState): time 0.01015/0.01018, allocations: 6.306 MB / 377.2 MB, free: 26 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0034/0.01358, allocations: 2.29 MB / 379.5 MB, free: 23.7 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004589/0.01404, allocations: 39.62 kB / 379.5 MB, free: 23.66 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001094/0.01513, allocations: 0.6102 MB / 380.1 MB, free: 23.05 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009553/0.01609, allocations: 0.5087 MB / 380.6 MB, free: 22.54 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001037/0.01712, allocations: 474.6 kB / 381.1 MB, free: 22.07 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001069/0.01819, allocations: 1.283 MB / 382.4 MB, free: 20.79 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006063/0.0188, allocations: 0.5058 MB / 382.9 MB, free: 20.27 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009296/0.01973, allocations: 0.8337 MB / 383.7 MB, free: 19.43 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000601/0.02033, allocations: 0.5687 MB / 384.3 MB, free: 18.86 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.099e-05/0.02042, allocations: 68 kB / 384.4 MB, free: 18.79 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004112/0.02083, allocations: 227.6 kB / 384.6 MB, free: 18.57 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002857/0.02112, allocations: 0.5104 MB / 385.1 MB, free: 18.06 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002638/0.02138, allocations: 371.1 kB / 385.5 MB, free: 17.7 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000708/0.02209, allocations: 0.911 MB / 386.4 MB, free: 16.78 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.02209, allocations: 0 / 386.4 MB, free: 16.78 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.02209, allocations: 0 / 386.4 MB, free: 16.78 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.707e-05/0.02211, allocations: 3.938 kB / 386.4 MB, free: 16.78 MB / 314.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.001302/0.02341, allocations: 1.345 MB / 387.7 MB, free: 15.38 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.02344, allocations: 8.031 kB / 387.7 MB, free: 15.38 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006277/0.02407, allocations: 268 kB / 388 MB, free: 15.11 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005641/0.02464, allocations: 0.5932 MB / 388.6 MB, free: 14.5 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.557e-05/0.02467, allocations: 66.36 kB / 388.6 MB, free: 14.43 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.963e-05/0.02474, allocations: 80.38 kB / 388.7 MB, free: 14.36 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006193/0.02536, allocations: 0.8421 MB / 389.6 MB, free: 13.39 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.882e-05/0.02539, allocations: 11.88 kB / 389.6 MB, free: 13.38 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.451e-05/0.02543, allocations: 35.98 kB / 389.6 MB, free: 13.35 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.453e-05/0.02548, allocations: 53.98 kB / 389.7 MB, free: 13.3 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000397/0.02587, allocations: 383.1 kB / 390 MB, free: 12.91 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002403/0.02828, allocations: 5.012 MB / 395 MB, free: 7.691 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004597/0.02874, allocations: 419.1 kB / 395.5 MB, free: 7.254 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001434/0.02888, allocations: 195.3 kB / 395.6 MB, free: 7.047 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.379e-05/0.02891, allocations: 12.5 kB / 395.7 MB, free: 7.035 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002457/0.02916, allocations: 328.8 kB / 396 MB, free: 6.672 MB / 314.7 MB Notification: Performance of pre-optimization done (n=65): time 2.114e-06/0.02916, allocations: 0 / 396 MB, free: 6.672 MB / 314.7 MB Notification: Performance of matching and sorting (n=66): time 0.002223/0.03139, allocations: 1.35 MB / 397.3 MB, free: 5.285 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/0.03142, allocations: 166.8 kB / 397.5 MB, free: 5.086 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002711/0.03169, allocations: 0.6005 MB / 398.1 MB, free: 4.469 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.03172, allocations: 37.7 kB / 398.1 MB, free: 4.426 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001656/0.03188, allocations: 0.5454 MB / 398.7 MB, free: 3.871 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.442e-05/0.03198, allocations: 238 kB / 398.9 MB, free: 3.637 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/0.0321, allocations: 164.2 kB / 399.1 MB, free: 3.465 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.459e-05/0.03219, allocations: 0.578 MB / 399.6 MB, free: 2.875 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/0.0323, allocations: 123.6 kB / 399.8 MB, free: 2.75 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001919/0.03249, allocations: 0.5123 MB / 400.3 MB, free: 2.062 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003844/0.03287, allocations: 0.6941 MB / 401 MB, free: 1.188 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.03288, allocations: 4 kB / 401 MB, free: 1.184 MB / 314.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0007965/0.03367, allocations: 0.8266 MB / 401.8 MB, free: 336 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.461e-05/0.03371, allocations: 33.7 kB / 401.8 MB, free: 296 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.03372, allocations: 12 kB / 401.9 MB, free: 284 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006271/0.03435, allocations: 270.1 kB / 402.1 MB, free: 8 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003039/0.03465, allocations: 143.9 kB / 402.3 MB, free: 15.86 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003384/0.03803, allocations: 4.656 MB / 406.9 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003592/0.03839, allocations: 28 kB / 406.9 MB, free: 10.95 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.02e-05/0.03843, allocations: 28 kB / 407 MB, free: 10.92 MB / 330.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.0002805/0.03871, allocations: 255 kB / 407.2 MB, free: 10.66 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.907e-05/0.03881, allocations: 99.48 kB / 407.3 MB, free: 10.56 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008912/0.0397, allocations: 0.6707 MB / 408 MB, free: 9.852 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.03971, allocations: 8 kB / 408 MB, free: 9.844 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.03971, allocations: 4 kB / 408 MB, free: 9.84 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.03972, allocations: 4 kB / 408 MB, free: 9.836 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001516/0.04124, allocations: 1.373 MB / 409.4 MB, free: 8.395 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.04124, allocations: 0 / 409.4 MB, free: 8.395 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001684/0.04141, allocations: 76.06 kB / 409.4 MB, free: 8.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005403/0.04195, allocations: 254.9 kB / 409.7 MB, free: 8.062 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.229e-05/0.04198, allocations: 16 kB / 409.7 MB, free: 8.047 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003019/0.045, allocations: 4.646 MB / 414.4 MB, free: 3.176 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.045, allocations: 0 / 414.4 MB, free: 3.176 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008547/0.04586, allocations: 0.8581 MB / 415.2 MB, free: 2.25 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.04596, allocations: 71.47 kB / 415.3 MB, free: 2.18 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.691e-05/0.04602, allocations: 12 kB / 415.3 MB, free: 2.168 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001736/0.04619, allocations: 16 kB / 415.3 MB, free: 2.152 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.04629, allocations: 56.39 kB / 415.4 MB, free: 2.098 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.601e-05/0.04632, allocations: 15.94 kB / 415.4 MB, free: 2.082 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002107/0.04653, allocations: 354.9 kB / 415.7 MB, free: 1.738 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04653, allocations: 0 / 415.7 MB, free: 1.738 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007346/0.04726, allocations: 268 kB / 416 MB, free: 1.477 MB / 330.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.0001461/0.04741, allocations: 119.1 kB / 416.1 MB, free: 1.348 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009531/0.04836, allocations: 0.9883 MB / 417.1 MB, free: 312 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.04836, allocations: 0 / 417.1 MB, free: 312 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005836/0.04895, allocations: 0.7457 MB / 417.8 MB, free: 15.5 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005677/0.04952, allocations: 171.6 kB / 418 MB, free: 15.35 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002158/0.05167, allocations: 1.576 MB / 419.6 MB, free: 13.7 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002065/0.05188, allocations: 263.8 kB / 419.8 MB, free: 13.42 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000236/0.05212, allocations: 90.31 kB / 419.9 MB, free: 13.33 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005219/0.05264, allocations: 222.1 kB / 420.1 MB, free: 13.11 MB / 346.7 MB Notification: Performance of SimCode: time 9.31e-07/0.05264, allocations: 0 / 420.1 MB, free: 13.11 MB / 346.7 MB Notification: Performance of Templates: time 0.01629/0.06892, allocations: 12.21 MB / 432.4 MB, free: 1.098 MB / 346.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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.544531237334013]