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.0007893/0.0007893, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003582/0.003582, allocations: 163.5 kB / 24.7 MB, free: 9.426 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 0.8224/0.8224, allocations: 177.1 MB / 205 MB, free: 5.734 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.1887/0.1887, allocations: 29.42 MB / 290.9 MB, free: 2.441 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.573e-06/1.573e-06, allocations: 0 / 431.5 MB, free: 13.12 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.28e-05/2.438e-05, allocations: 2.281 kB / 431.5 MB, free: 13.11 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyState): time 0.005476/0.0055, allocations: 7.111 MB / 438.6 MB, free: 5.965 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002909/0.00841, allocations: 2.239 MB / 440.8 MB, free: 3.719 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003186/0.008728, allocations: 35.69 kB / 440.9 MB, free: 3.684 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001174/0.009902, allocations: 0.839 MB / 441.7 MB, free: 2.844 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007488/0.01065, allocations: 0.5281 MB / 442.2 MB, free: 2.312 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008503/0.0115, allocations: 478.6 kB / 442.7 MB, free: 1.844 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009955/0.0125, allocations: 1.297 MB / 444 MB, free: 0.543 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005481/0.01304, allocations: 0.5136 MB / 444.5 MB, free: 20 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1504/0.1635, allocations: 0.7467 MB / 445.2 MB, free: 44.17 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006126/0.1641, allocations: 0.6164 MB / 445.9 MB, free: 44.17 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.55e-05/0.1642, allocations: 73.16 kB / 445.9 MB, free: 44.17 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000355/0.1645, allocations: 231.2 kB / 446.2 MB, free: 44.17 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002831/0.1648, allocations: 0.5123 MB / 446.7 MB, free: 44.17 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002445/0.165, allocations: 374.8 kB / 447 MB, free: 44.16 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008463/0.1659, allocations: 1.263 MB / 448.3 MB, free: 44.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1659, allocations: 0 / 448.3 MB, free: 44.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1659, allocations: 0 / 448.3 MB, free: 44.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.41e-05/0.1659, allocations: 0 / 448.3 MB, free: 44.07 MB / 410.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.001332/0.1672, allocations: 1.252 MB / 449.6 MB, free: 43.4 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.1673, allocations: 9.344 kB / 449.6 MB, free: 43.4 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005597/0.1678, allocations: 205.8 kB / 449.8 MB, free: 43.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006814/0.1685, allocations: 0.6511 MB / 450.4 MB, free: 43.1 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.561e-05/0.1685, allocations: 62.69 kB / 450.5 MB, free: 43.1 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.473e-05/0.1686, allocations: 83.86 kB / 450.6 MB, free: 43.1 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008925/0.1695, allocations: 1.211 MB / 451.8 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.456e-05/0.1695, allocations: 10.77 kB / 451.8 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.538e-05/0.1696, allocations: 41.67 kB / 451.8 MB, free: 42.81 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.805e-05/0.1696, allocations: 57.86 kB / 451.9 MB, free: 42.81 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008209/0.1705, allocations: 0.9509 MB / 452.8 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002574/0.173, allocations: 4.326 MB / 457.2 MB, free: 40.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006489/0.1737, allocations: 0.6444 MB / 457.8 MB, free: 39.86 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002764/0.174, allocations: 374.2 kB / 458.2 MB, free: 39.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.366e-05/0.174, allocations: 15.38 kB / 458.2 MB, free: 39.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003325/0.1743, allocations: 468.7 kB / 458.6 MB, free: 39.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=65): time 2.775e-06/0.1743, allocations: 3.125 kB / 458.6 MB, free: 39.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=66): time 0.002681/0.177, allocations: 2.385 MB / 461 MB, free: 38.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.177, allocations: 168.4 kB / 461.2 MB, free: 38.21 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003526/0.1774, allocations: 0.5901 MB / 461.8 MB, free: 37.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.1774, allocations: 37.02 kB / 461.8 MB, free: 37.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001603/0.1776, allocations: 497.4 kB / 462.3 MB, free: 37.53 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.471e-05/0.1777, allocations: 229.4 kB / 462.5 MB, free: 37.35 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.1778, allocations: 153.7 kB / 462.7 MB, free: 37.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.021e-05/0.1778, allocations: 387 kB / 463.1 MB, free: 36.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002412/0.1781, allocations: 310 kB / 463.4 MB, free: 36.81 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003012/0.1784, allocations: 0.5833 MB / 463.9 MB, free: 36.35 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000601/0.179, allocations: 0.9626 MB / 464.9 MB, free: 35.71 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.179, allocations: 2.906 kB / 464.9 MB, free: 35.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.00105/0.18, allocations: 1.241 MB / 466.1 MB, free: 35.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.889e-05/0.1801, allocations: 39.17 kB / 466.2 MB, free: 35.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.1801, allocations: 9.375 kB / 466.2 MB, free: 35.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005523/0.1806, allocations: 338.8 kB / 466.5 MB, free: 35.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002453/0.1809, allocations: 148.2 kB / 466.7 MB, free: 35.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002806/0.1837, allocations: 4.97 MB / 471.6 MB, free: 31.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002963/0.184, allocations: 32.39 kB / 471.7 MB, free: 31.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.626e-05/0.184, allocations: 41.69 kB / 471.7 MB, free: 31.62 MB / 410.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.0003173/0.1843, allocations: 360 kB / 472.1 MB, free: 31.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.046e-05/0.1844, allocations: 81.62 kB / 472.1 MB, free: 31.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009647/0.1853, allocations: 1.063 MB / 473.2 MB, free: 30.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.1853, allocations: 5.719 kB / 473.2 MB, free: 30.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1853, allocations: 9.688 kB / 473.2 MB, free: 30.88 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.1854, allocations: 3.328 kB / 473.2 MB, free: 30.88 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001572/0.1869, allocations: 1.875 MB / 475.1 MB, free: 30 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.1869, allocations: 3.281 kB / 475.1 MB, free: 30 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001515/0.1871, allocations: 74.55 kB / 475.2 MB, free: 29.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004234/0.1875, allocations: 317.3 kB / 475.5 MB, free: 29.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.675e-05/0.1875, allocations: 14.44 kB / 475.5 MB, free: 29.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002562/0.1901, allocations: 4.902 MB / 480.4 MB, free: 26.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.1901, allocations: 2.938 kB / 480.4 MB, free: 26.45 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009081/0.191, allocations: 1.139 MB / 481.5 MB, free: 25.87 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.201e-05/0.1911, allocations: 69.16 kB / 481.6 MB, free: 25.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.743e-05/0.1911, allocations: 19.78 kB / 481.6 MB, free: 25.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/0.1913, allocations: 17.25 kB / 481.6 MB, free: 25.81 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.738e-05/0.1914, allocations: 67.34 kB / 481.7 MB, free: 25.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.372e-05/0.1914, allocations: 19.59 kB / 481.7 MB, free: 25.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002543/0.1917, allocations: 401.7 kB / 482.1 MB, free: 25.62 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1917, allocations: 0 / 482.1 MB, free: 25.62 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006164/0.1923, allocations: 271.8 kB / 482.4 MB, free: 25.59 MB / 410.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.0001134/0.1924, allocations: 116.1 kB / 482.5 MB, free: 25.49 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009775/0.1934, allocations: 1.18 MB / 483.7 MB, free: 24.89 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1934, allocations: 0 / 483.7 MB, free: 24.89 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005363/0.1939, allocations: 0.7656 MB / 484.4 MB, free: 24.42 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005297/0.1944, allocations: 171 kB / 484.6 MB, free: 24.36 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002038/0.1965, allocations: 1.861 MB / 486.5 MB, free: 23.44 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003992/0.1969, allocations: 0.5088 MB / 487 MB, free: 23.29 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.783e-05/0.197, allocations: 58.47 kB / 487 MB, free: 23.27 MB / 410.7 MB Notification: Performance of SimCode: time 1.042e-06/0.197, allocations: 1.562 kB / 487 MB, free: 23.27 MB / 410.7 MB Notification: Performance of Templates: time 0.01783/0.2148, allocations: 17.46 MB / 0.4927 GB, free: 19.93 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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe 2>&1) [Timeout 480] 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.856294481083751]