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.0007841/0.0007841, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00106/0.001844, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007105/0.0007105, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009321/0.001643, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9971/0.9971, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08601/1.083, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1136/0.1136, allocations: 29.45 MB / 273.6 MB, free: 1.398 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1333/0.2469, allocations: 9.542 MB / 283.1 MB, free: 12.81 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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="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="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.352e-06/1.352e-06, allocations: 0 / 284.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.057e-05/1.192e-05, allocations: 2.859 kB / 284.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyState): time 0.005388/0.005399, allocations: 6.466 MB / 290.9 MB, free: 6.816 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002861/0.008261, allocations: 2.373 MB / 293.3 MB, free: 4.961 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002607/0.008521, allocations: 36.91 kB / 293.3 MB, free: 4.941 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009695/0.009491, allocations: 0.7573 MB / 294.1 MB, free: 4.367 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006482/0.01014, allocations: 0.5446 MB / 294.6 MB, free: 3.918 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007412/0.01088, allocations: 471.9 kB / 295.1 MB, free: 3.57 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00106/0.01194, allocations: 1.338 MB / 296.4 MB, free: 2.699 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004708/0.01241, allocations: 0.5156 MB / 296.9 MB, free: 2.172 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008916/0.0133, allocations: 0.9191 MB / 297.9 MB, free: 1.25 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005423/0.01384, allocations: 0.5687 MB / 298.4 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.881e-05/0.01392, allocations: 71.94 kB / 298.5 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003479/0.01427, allocations: 231.7 kB / 298.7 MB, free: 392 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003017/0.01457, allocations: 490.8 kB / 299.2 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002436/0.01482, allocations: 307.4 kB / 299.5 MB, free: 15.6 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007197/0.01554, allocations: 0.8564 MB / 300.4 MB, free: 14.74 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.026e-05/0.01555, allocations: 4 kB / 300.4 MB, free: 14.74 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.01555, allocations: 0 / 300.4 MB, free: 14.74 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.596e-05/0.01556, allocations: 0 / 300.4 MB, free: 14.74 MB / 298.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.001325/0.01689, allocations: 1.419 MB / 301.8 MB, free: 13.29 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.901e-05/0.01692, allocations: 16.03 kB / 301.8 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006317/0.01755, allocations: 305.8 kB / 302.1 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005725/0.01812, allocations: 0.5631 MB / 302.7 MB, free: 12.36 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.011e-05/0.01816, allocations: 62.38 kB / 302.7 MB, free: 12.3 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.304e-05/0.01824, allocations: 84.38 kB / 302.8 MB, free: 12.22 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007191/0.01896, allocations: 0.7941 MB / 303.6 MB, free: 11.34 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.837e-05/0.01899, allocations: 15.83 kB / 303.6 MB, free: 11.32 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.058e-05/0.01904, allocations: 32 kB / 303.6 MB, free: 11.29 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.755e-05/0.0191, allocations: 49.98 kB / 303.7 MB, free: 11.24 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004114/0.01951, allocations: 374 kB / 304.1 MB, free: 10.87 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002497/0.02201, allocations: 3.732 MB / 307.8 MB, free: 6.957 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004641/0.02247, allocations: 431.5 kB / 308.2 MB, free: 6.504 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/0.02262, allocations: 169.7 kB / 308.4 MB, free: 6.324 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.143e-05/0.02265, allocations: 16.5 kB / 308.4 MB, free: 6.309 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002654/0.02292, allocations: 317.4 kB / 308.7 MB, free: 5.965 MB / 298.7 MB Notification: Performance of pre-optimization done (n=65): time 1.703e-06/0.02292, allocations: 0 / 308.7 MB, free: 5.965 MB / 298.7 MB Notification: Performance of matching and sorting (n=66): time 0.002078/0.025, allocations: 1.25 MB / 310 MB, free: 4.672 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.319e-05/0.02508, allocations: 230.2 kB / 310.2 MB, free: 4.398 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002882/0.02537, allocations: 0.4998 MB / 310.7 MB, free: 3.891 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/0.0254, allocations: 41.7 kB / 310.7 MB, free: 3.844 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001923/0.02559, allocations: 421.1 kB / 311.1 MB, free: 3.426 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001171/0.02571, allocations: 230 kB / 311.4 MB, free: 3.199 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.02584, allocations: 150.5 kB / 311.5 MB, free: 3.047 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.02595, allocations: 390.6 kB / 311.9 MB, free: 2.656 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000114/0.02607, allocations: 111.7 kB / 312 MB, free: 2.543 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002244/0.02629, allocations: 387.5 kB / 312.4 MB, free: 2.039 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004422/0.02673, allocations: 0.6064 MB / 313 MB, free: 1.293 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.02674, allocations: 0 / 313 MB, free: 1.293 MB / 298.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0007169/0.02745, allocations: 0.6876 MB / 313.7 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.631e-05/0.02749, allocations: 35.27 kB / 313.7 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.0275, allocations: 12 kB / 313.7 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005904/0.02809, allocations: 294.3 kB / 314 MB, free: 236 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002908/0.02838, allocations: 171.7 kB / 314.2 MB, free: 64 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002551/0.03093, allocations: 3.518 MB / 317.7 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001949/0.03113, allocations: 36 kB / 317.7 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.372e-05/0.03116, allocations: 27.98 kB / 317.7 MB, free: 12.3 MB / 314.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.0001649/0.03132, allocations: 202.1 kB / 317.9 MB, free: 12.08 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.595e-05/0.03139, allocations: 71.88 kB / 318 MB, free: 12.01 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006221/0.03201, allocations: 0.5665 MB / 318.6 MB, free: 11.42 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.03202, allocations: 11.94 kB / 318.6 MB, free: 11.41 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.03202, allocations: 7.984 kB / 318.6 MB, free: 11.4 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.03203, allocations: 0 / 318.6 MB, free: 11.4 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001142/0.03317, allocations: 1.175 MB / 319.8 MB, free: 10.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.03317, allocations: 4 kB / 319.8 MB, free: 10.15 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001791/0.03335, allocations: 83.83 kB / 319.9 MB, free: 10.07 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.712e-05/0.03341, allocations: 75.5 kB / 319.9 MB, free: 9.996 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004625/0.03387, allocations: 254 kB / 320.2 MB, free: 9.738 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.828e-05/0.0339, allocations: 16 kB / 320.2 MB, free: 9.723 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002152/0.03605, allocations: 3.492 MB / 323.7 MB, free: 6.043 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.03605, allocations: 4 kB / 323.7 MB, free: 6.039 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006037/0.03666, allocations: 0.721 MB / 324.4 MB, free: 5.258 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.949e-05/0.03671, allocations: 16 kB / 324.4 MB, free: 5.242 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/0.03686, allocations: 16 kB / 324.4 MB, free: 5.227 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.354e-05/0.03694, allocations: 52.39 kB / 324.5 MB, free: 5.176 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.306e-05/0.03696, allocations: 16 kB / 324.5 MB, free: 5.16 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001464/0.03711, allocations: 228.6 kB / 324.7 MB, free: 4.941 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03711, allocations: 0 / 324.7 MB, free: 4.941 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004773/0.03759, allocations: 272 kB / 325 MB, free: 4.676 MB / 314.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.0001082/0.03769, allocations: 102 kB / 325.1 MB, free: 4.566 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007164/0.03841, allocations: 0.8565 MB / 326 MB, free: 3.664 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.14e-05/0.03843, allocations: 20.59 kB / 326 MB, free: 3.641 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004638/0.0389, allocations: 0.6407 MB / 326.6 MB, free: 2.957 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008305/0.03973, allocations: 1.433 MB / 328 MB, free: 1.27 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01127/0.051, allocations: 1.6 MB / 329.6 MB, free: 15.61 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001782/0.05118, allocations: 259.8 kB / 329.9 MB, free: 15.33 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002355/0.05141, allocations: 86.22 kB / 330 MB, free: 15.25 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002444/0.05166, allocations: 189.3 kB / 330.2 MB, free: 15.06 MB / 330.7 MB Notification: Performance of SimCode: time 1.042e-06/0.05166, allocations: 0 / 330.2 MB, free: 15.06 MB / 330.7 MB Notification: Performance of Templates: time 0.01329/0.06495, allocations: 12.09 MB / 342.3 MB, free: 3.191 MB / 330.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.113968555815518]