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.001193/0.001193, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001563/0.001563, allocations: 169.9 kB / 24.82 MB, free: 8.871 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.118/1.118, allocations: 177.1 MB / 205.3 MB, free: 5.527 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.2932/0.2932, allocations: 29.41 MB / 291.2 MB, free: 2.398 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 2.725e-06/2.725e-06, allocations: 3.984 kB / 370.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.469e-05/2.741e-05, allocations: 2.312 kB / 370.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyState): time 0.006566/0.006594, allocations: 6.301 MB / 376.4 MB, free: 4.391 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003079/0.009672, allocations: 2.297 MB / 378.7 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00027/0.009942, allocations: 35.69 kB / 378.7 MB, free: 2.051 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001015/0.01096, allocations: 0.5986 MB / 379.3 MB, free: 1.449 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000614/0.01157, allocations: 0.5165 MB / 379.9 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006949/0.01227, allocations: 466.6 kB / 380.3 MB, free: 484 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008975/0.01316, allocations: 1.289 MB / 381.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000505/0.01367, allocations: 0.5097 MB / 382.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007946/0.01446, allocations: 0.8298 MB / 382.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005366/0.015, allocations: 0.5648 MB / 383.5 MB, free: 13.26 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.278e-05/0.01508, allocations: 72 kB / 383.6 MB, free: 13.19 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005775/0.01566, allocations: 227.6 kB / 383.8 MB, free: 12.97 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000404/0.01606, allocations: 0.5065 MB / 384.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003435/0.01641, allocations: 367.2 kB / 384.7 MB, free: 12.1 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009179/0.01733, allocations: 0.9225 MB / 385.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.01733, allocations: 0 / 385.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.01733, allocations: 0 / 385.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.715e-06/0.01734, allocations: 0 / 385.6 MB, free: 11.18 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.001514/0.01885, allocations: 1.349 MB / 386.9 MB, free: 9.781 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.01889, allocations: 15.98 kB / 387 MB, free: 9.766 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007483/0.01964, allocations: 264 kB / 387.2 MB, free: 9.508 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007152/0.02035, allocations: 0.5972 MB / 387.8 MB, free: 8.887 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.121e-05/0.0204, allocations: 66.38 kB / 387.9 MB, free: 8.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/0.02051, allocations: 84.36 kB / 388 MB, free: 8.738 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008858/0.02139, allocations: 0.8343 MB / 388.8 MB, free: 7.789 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.785e-05/0.02142, allocations: 15.83 kB / 388.8 MB, free: 7.773 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.373e-05/0.02148, allocations: 32 kB / 388.8 MB, free: 7.742 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.188e-05/0.02155, allocations: 53.98 kB / 388.9 MB, free: 7.688 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000535/0.02208, allocations: 379.1 kB / 389.3 MB, free: 7.312 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003796/0.02588, allocations: 5.012 MB / 394.3 MB, free: 2.086 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005655/0.02644, allocations: 422.6 kB / 394.7 MB, free: 1.641 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002185/0.02666, allocations: 191.3 kB / 394.9 MB, free: 1.438 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.574e-05/0.0267, allocations: 16.44 kB / 394.9 MB, free: 1.422 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003445/0.02704, allocations: 328.8 kB / 395.2 MB, free: 1.062 MB / 362.7 MB Notification: Performance of pre-optimization done (n=65): time 1.844e-06/0.02704, allocations: 0 / 395.2 MB, free: 1.062 MB / 362.7 MB Notification: Performance of matching and sorting (n=66): time 0.002727/0.02977, allocations: 1.351 MB / 396.6 MB, free: 15.68 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.894e-05/0.02984, allocations: 162.9 kB / 396.7 MB, free: 15.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004606/0.0303, allocations: 0.6005 MB / 397.3 MB, free: 14.86 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.628e-05/0.03034, allocations: 37.7 kB / 397.4 MB, free: 14.82 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003182/0.03065, allocations: 0.5415 MB / 397.9 MB, free: 14.27 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003482/0.031, allocations: 234 kB / 398.1 MB, free: 14.04 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001852/0.03119, allocations: 172.1 kB / 398.3 MB, free: 13.86 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001933/0.03138, allocations: 0.5741 MB / 398.9 MB, free: 13.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001585/0.03154, allocations: 119.6 kB / 399 MB, free: 13.15 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003746/0.03191, allocations: 0.5084 MB / 399.5 MB, free: 12.47 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006196/0.03253, allocations: 0.698 MB / 400.2 MB, free: 11.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.03254, allocations: 4 kB / 400.2 MB, free: 11.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001124/0.03366, allocations: 0.8304 MB / 401 MB, free: 10.72 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.572e-05/0.0337, allocations: 33.7 kB / 401.1 MB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.03371, allocations: 12.84 kB / 401.1 MB, free: 10.67 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007631/0.03447, allocations: 271.1 kB / 401.3 MB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003322/0.03481, allocations: 147.8 kB / 401.5 MB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0037/0.03851, allocations: 4.654 MB / 406.1 MB, free: 5.379 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002811/0.03879, allocations: 28 kB / 406.2 MB, free: 5.352 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.423e-05/0.03883, allocations: 32 kB / 406.2 MB, free: 5.32 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.0002196/0.03905, allocations: 256.7 kB / 406.4 MB, free: 5.055 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.03915, allocations: 103.4 kB / 406.5 MB, free: 4.953 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009286/0.04008, allocations: 0.663 MB / 407.2 MB, free: 4.258 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.04009, allocations: 11.98 kB / 407.2 MB, free: 4.246 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.0401, allocations: 4 kB / 407.2 MB, free: 4.242 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.04011, allocations: 4 kB / 407.2 MB, free: 4.238 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001643/0.04175, allocations: 1.385 MB / 408.6 MB, free: 2.781 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.04175, allocations: 4.156 kB / 408.6 MB, free: 2.777 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001903/0.04194, allocations: 71.91 kB / 408.7 MB, free: 2.707 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006005/0.04254, allocations: 258.2 kB / 408.9 MB, free: 2.449 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.239e-05/0.04258, allocations: 16 kB / 409 MB, free: 2.434 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003149/0.04572, allocations: 4.617 MB / 413.6 MB, free: 13.59 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.04573, allocations: 7.938 kB / 413.6 MB, free: 13.58 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009658/0.04669, allocations: 0.8583 MB / 414.4 MB, free: 12.65 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.713e-05/0.04677, allocations: 67.52 kB / 414.5 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.959e-05/0.04683, allocations: 12 kB / 414.5 MB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001998/0.04703, allocations: 16 kB / 414.5 MB, free: 12.56 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.796e-05/0.04713, allocations: 56.33 kB / 414.6 MB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-05/0.04716, allocations: 16 kB / 414.6 MB, free: 12.49 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003433/0.0475, allocations: 354.9 kB / 414.9 MB, free: 12.15 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0475, allocations: 0 / 414.9 MB, free: 12.15 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007172/0.04822, allocations: 268 kB / 415.2 MB, free: 11.89 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.0001242/0.04834, allocations: 119.2 kB / 415.3 MB, free: 11.76 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009636/0.04931, allocations: 0.992 MB / 416.3 MB, free: 10.71 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.04931, allocations: 0 / 416.3 MB, free: 10.71 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005953/0.0499, allocations: 0.7496 MB / 417.1 MB, free: 9.91 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006331/0.05054, allocations: 175.3 kB / 417.2 MB, free: 9.75 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002542/0.05308, allocations: 1.576 MB / 418.8 MB, free: 8.098 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002112/0.05329, allocations: 267.8 kB / 419.1 MB, free: 7.812 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002167/0.05351, allocations: 90.31 kB / 419.2 MB, free: 7.723 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002897/0.0538, allocations: 218.1 kB / 419.4 MB, free: 7.508 MB / 394.7 MB Notification: Performance of SimCode: time 6.51e-07/0.0538, allocations: 0 / 419.4 MB, free: 7.508 MB / 394.7 MB Notification: Performance of Templates: time 0.01651/0.07031, allocations: 11.97 MB / 431.3 MB, free: 11.71 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","",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.7204967942088842]