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.001021/0.001021, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001057/0.001057, allocations: 170.1 kB / 24.91 MB, free: 8.723 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.078/1.078, allocations: 177.1 MB / 205.3 MB, free: 4.496 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.1337/0.1337, allocations: 29.44 MB / 291.2 MB, free: 2.699 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.603e-06/1.603e-06, allocations: 0 / 316.9 MB, free: 9.016 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.22e-05/2.38e-05, allocations: 2.312 kB / 316.9 MB, free: 9.012 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyState): time 0.01641/0.01644, allocations: 6.377 MB / 323.3 MB, free: 2.598 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003902/0.02034, allocations: 2.348 MB / 325.6 MB, free: 248 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005408/0.02088, allocations: 35.69 kB / 325.7 MB, free: 212 kB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001189/0.02207, allocations: 0.6141 MB / 326.3 MB, free: 15.59 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009653/0.02303, allocations: 0.5048 MB / 326.8 MB, free: 15.08 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.02406, allocations: 466.6 kB / 327.2 MB, free: 14.62 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001578/0.02564, allocations: 1.285 MB / 328.5 MB, free: 13.34 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006437/0.02629, allocations: 0.5545 MB / 329.1 MB, free: 12.77 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001065/0.02735, allocations: 0.8299 MB / 329.9 MB, free: 11.94 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006691/0.02802, allocations: 0.5297 MB / 330.4 MB, free: 11.41 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.956e-05/0.02811, allocations: 75.94 kB / 330.5 MB, free: 11.33 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004295/0.02854, allocations: 227.7 kB / 330.7 MB, free: 11.11 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003339/0.02887, allocations: 0.5104 MB / 331.2 MB, free: 10.6 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002998/0.02917, allocations: 379.1 kB / 331.6 MB, free: 10.23 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008651/0.03004, allocations: 0.9031 MB / 332.5 MB, free: 9.32 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.03004, allocations: 0 / 332.5 MB, free: 9.32 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.03004, allocations: 4 kB / 332.5 MB, free: 9.316 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.608e-05/0.03006, allocations: 0 / 332.5 MB, free: 9.316 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.00131/0.03137, allocations: 1.193 MB / 333.7 MB, free: 8.086 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.018e-05/0.0314, allocations: 8.031 kB / 333.7 MB, free: 8.078 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006578/0.03206, allocations: 224.7 kB / 333.9 MB, free: 7.859 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000617/0.03267, allocations: 0.5593 MB / 334.5 MB, free: 7.273 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.5e-05/0.03272, allocations: 74.34 kB / 334.6 MB, free: 7.203 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.77e-05/0.0328, allocations: 76.38 kB / 334.6 MB, free: 7.129 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009845/0.03378, allocations: 0.794 MB / 335.4 MB, free: 6.242 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.537e-05/0.03381, allocations: 11.88 kB / 335.4 MB, free: 6.23 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.6e-05/0.03385, allocations: 39.92 kB / 335.5 MB, free: 6.191 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.191e-05/0.0339, allocations: 53.98 kB / 335.5 MB, free: 6.141 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004276/0.03433, allocations: 366 kB / 335.9 MB, free: 5.773 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00278/0.03711, allocations: 3.736 MB / 339.6 MB, free: 1.867 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004731/0.03758, allocations: 423.6 kB / 340 MB, free: 1.426 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001583/0.03774, allocations: 161.7 kB / 340.2 MB, free: 1.254 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.753e-05/0.03778, allocations: 20.42 kB / 340.2 MB, free: 1.234 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003404/0.03812, allocations: 321.4 kB / 340.5 MB, free: 0.8867 MB / 314.7 MB Notification: Performance of pre-optimization done (n=65): time 2.324e-06/0.03812, allocations: 0 / 340.5 MB, free: 0.8867 MB / 314.7 MB Notification: Performance of matching and sorting (n=66): time 0.1551/0.1932, allocations: 1.221 MB / 341.8 MB, free: 35.49 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.538e-05/0.1933, allocations: 170.4 kB / 341.9 MB, free: 35.3 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004334/0.1937, allocations: 0.5081 MB / 342.4 MB, free: 35.17 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.343e-05/0.1938, allocations: 36.83 kB / 342.5 MB, free: 35.14 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002296/0.194, allocations: 421.4 kB / 342.9 MB, free: 34.99 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001272/0.1941, allocations: 235.4 kB / 343.1 MB, free: 34.87 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001445/0.1943, allocations: 143.1 kB / 343.2 MB, free: 34.85 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.68e-05/0.1943, allocations: 390.7 kB / 343.6 MB, free: 34.54 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.1945, allocations: 107 kB / 343.7 MB, free: 34.5 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002273/0.1947, allocations: 394.1 kB / 344.1 MB, free: 34.15 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004846/0.1952, allocations: 0.5818 MB / 344.7 MB, free: 33.76 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.1952, allocations: 7.125 kB / 344.7 MB, free: 33.76 MB / 314.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0008876/0.1961, allocations: 0.681 MB / 345.4 MB, free: 33.62 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.328e-05/0.1961, allocations: 36.02 kB / 345.4 MB, free: 33.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/0.1961, allocations: 9.688 kB / 345.4 MB, free: 33.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007071/0.1969, allocations: 283.7 kB / 345.7 MB, free: 33.56 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000376/0.1972, allocations: 155.6 kB / 345.9 MB, free: 33.56 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002445/0.1997, allocations: 3.508 MB / 349.4 MB, free: 30.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003109/0.2, allocations: 27.19 kB / 349.4 MB, free: 30.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.264e-05/0.2, allocations: 31.38 kB / 349.4 MB, free: 30.98 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.0002263/0.2003, allocations: 204.5 kB / 349.6 MB, free: 30.82 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.419e-05/0.2003, allocations: 67.66 kB / 349.7 MB, free: 30.82 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007361/0.2011, allocations: 0.5695 MB / 350.3 MB, free: 30.66 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.2011, allocations: 6.875 kB / 350.3 MB, free: 30.66 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/0.2011, allocations: 9.078 kB / 350.3 MB, free: 30.66 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/0.2011, allocations: 6.984 kB / 350.3 MB, free: 30.66 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00133/0.2024, allocations: 1.177 MB / 351.5 MB, free: 30.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.2024, allocations: 1.125 kB / 351.5 MB, free: 30.2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001991/0.2026, allocations: 79.16 kB / 351.5 MB, free: 30.2 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00053/0.2032, allocations: 260.3 kB / 351.8 MB, free: 30.16 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.52e-05/0.2032, allocations: 16.22 kB / 351.8 MB, free: 30.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0021/0.2053, allocations: 3.484 MB / 355.3 MB, free: 27.56 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.2053, allocations: 6.938 kB / 355.3 MB, free: 27.56 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000688/0.206, allocations: 0.7148 MB / 356 MB, free: 27.18 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.515e-05/0.2061, allocations: 64.98 kB / 356.1 MB, free: 27.14 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.427e-05/0.2061, allocations: 19.23 kB / 356.1 MB, free: 27.14 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/0.2063, allocations: 13.97 kB / 356.1 MB, free: 27.14 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/0.2064, allocations: 64.73 kB / 356.2 MB, free: 27.14 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.489e-05/0.2064, allocations: 14.38 kB / 356.2 MB, free: 27.14 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001664/0.2066, allocations: 227.6 kB / 356.4 MB, free: 27.11 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2066, allocations: 0 / 356.4 MB, free: 27.11 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007234/0.2073, allocations: 269.7 kB / 356.7 MB, free: 27.11 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.0001115/0.2074, allocations: 96.14 kB / 356.8 MB, free: 27.04 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007691/0.2082, allocations: 0.8498 MB / 357.6 MB, free: 26.6 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.405e-05/0.2082, allocations: 9.062 kB / 357.6 MB, free: 26.6 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003846/0.2086, allocations: 0.6131 MB / 358.2 MB, free: 26.23 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004978/0.2091, allocations: 182.5 kB / 358.4 MB, free: 26.22 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001975/0.2111, allocations: 1.572 MB / 360 MB, free: 25.46 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001802/0.2113, allocations: 261 kB / 360.2 MB, free: 25.38 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002055/0.2115, allocations: 91.72 kB / 360.3 MB, free: 25.32 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002252/0.2117, allocations: 194.1 kB / 360.5 MB, free: 25.16 MB / 314.7 MB Notification: Performance of SimCode: time 1.643e-06/0.2117, allocations: 0 / 360.5 MB, free: 25.16 MB / 314.7 MB Notification: Performance of Templates: time 0.01504/0.2267, allocations: 11.96 MB / 372.5 MB, free: 13.68 MB / 314.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 -s gbode -gbm=radauIIA3 -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.2820892739109695]