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.001693/0.001693, allocations: 84.55 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001458/0.001458, allocations: 163.3 kB / 23.95 MB, free: 4.156 MB / 14.72 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.377/1.377, allocations: 177.1 MB / 204.3 MB, free: 9.172 MB / 190.1 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.1679/0.1679, allocations: 29.44 MB / 290.1 MB, free: 3.266 MB / 270.1 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.382e-06/1.382e-06, allocations: 0 / 430.7 MB, free: 1.938 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.323e-05/2.462e-05, allocations: 2.281 kB / 430.7 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyState): time 0.008511/0.008536, allocations: 7.115 MB / 437.8 MB, free: 10.78 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004016/0.01255, allocations: 2.231 MB / 440.1 MB, free: 8.539 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000276/0.01283, allocations: 35.69 kB / 440.1 MB, free: 8.504 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002179/0.01501, allocations: 0.8342 MB / 440.9 MB, free: 7.668 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001032/0.01604, allocations: 0.5281 MB / 441.5 MB, free: 7.137 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001145/0.01718, allocations: 474.6 kB / 441.9 MB, free: 6.672 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001349/0.01853, allocations: 1.308 MB / 443.2 MB, free: 5.359 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006964/0.01923, allocations: 0.498 MB / 443.7 MB, free: 4.852 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009526/0.02018, allocations: 0.7515 MB / 444.5 MB, free: 4.098 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008965/0.02108, allocations: 0.6272 MB / 445.1 MB, free: 3.469 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001339/0.02121, allocations: 76 kB / 445.2 MB, free: 3.395 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004662/0.02168, allocations: 227.7 kB / 445.4 MB, free: 3.172 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000497/0.02218, allocations: 0.5143 MB / 445.9 MB, free: 2.656 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004431/0.02262, allocations: 371.1 kB / 446.3 MB, free: 2.293 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001371/0.02399, allocations: 1.262 MB / 447.5 MB, free: 1.027 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.02399, allocations: 0 / 447.5 MB, free: 1.027 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.024, allocations: 0 / 447.5 MB, free: 1.027 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.02401, allocations: 0 / 447.5 MB, free: 1.027 MB / 366.1 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.1618/0.1858, allocations: 1.247 MB / 448.8 MB, free: 30.68 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.1859, allocations: 11.03 kB / 448.8 MB, free: 30.68 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001122/0.187, allocations: 208.2 kB / 449 MB, free: 30.62 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001214/0.1882, allocations: 0.6548 MB / 449.7 MB, free: 30.33 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.397e-05/0.1882, allocations: 64.44 kB / 449.7 MB, free: 30.31 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/0.1883, allocations: 90.23 kB / 449.8 MB, free: 30.28 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001488/0.1898, allocations: 1.205 MB / 451 MB, free: 29.68 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.06e-05/0.1899, allocations: 6.938 kB / 451 MB, free: 29.67 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.358e-05/0.1899, allocations: 36.64 kB / 451.1 MB, free: 29.65 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.458e-05/0.19, allocations: 56.72 kB / 451.1 MB, free: 29.64 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001337/0.1913, allocations: 0.9566 MB / 452.1 MB, free: 29.31 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004184/0.1955, allocations: 4.32 MB / 456.4 MB, free: 26.21 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/0.1965, allocations: 0.6509 MB / 457 MB, free: 25.93 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004772/0.197, allocations: 375.3 kB / 457.4 MB, free: 25.77 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.192e-05/0.1971, allocations: 12.69 kB / 457.4 MB, free: 25.77 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005748/0.1976, allocations: 469.2 kB / 457.9 MB, free: 25.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.995e-06/0.1976, allocations: 0 / 457.9 MB, free: 25.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.005075/0.2027, allocations: 2.397 MB / 460.3 MB, free: 24.48 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.326e-05/0.2028, allocations: 170.2 kB / 460.4 MB, free: 24.29 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006494/0.2034, allocations: 0.5822 MB / 461 MB, free: 24.03 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.192e-05/0.2035, allocations: 41.11 kB / 461.1 MB, free: 23.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002588/0.2037, allocations: 496.3 kB / 461.5 MB, free: 23.6 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001469/0.2039, allocations: 231.7 kB / 461.8 MB, free: 23.42 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001932/0.2041, allocations: 149.2 kB / 461.9 MB, free: 23.34 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.411e-05/0.2042, allocations: 389.4 kB / 462.3 MB, free: 23 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004316/0.2046, allocations: 313.4 kB / 462.6 MB, free: 22.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005261/0.2051, allocations: 0.5858 MB / 463.2 MB, free: 22.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/0.2061, allocations: 0.9526 MB / 464.1 MB, free: 21.74 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.2061, allocations: 3.094 kB / 464.1 MB, free: 21.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002031/0.2082, allocations: 1.243 MB / 465.4 MB, free: 21.21 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.634e-05/0.2082, allocations: 39.73 kB / 465.4 MB, free: 21.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.2082, allocations: 9.688 kB / 465.4 MB, free: 21.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001028/0.2092, allocations: 338.2 kB / 465.8 MB, free: 21.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004765/0.2097, allocations: 144.2 kB / 465.9 MB, free: 21.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004966/0.2147, allocations: 4.981 MB / 470.9 MB, free: 17.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004769/0.2152, allocations: 31.11 kB / 470.9 MB, free: 17.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-05/0.2152, allocations: 40 kB / 471 MB, free: 17.55 MB / 366.1 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.0004272/0.2156, allocations: 358.1 kB / 471.3 MB, free: 17.31 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.615e-05/0.2157, allocations: 79.14 kB / 471.4 MB, free: 17.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001786/0.2175, allocations: 1.071 MB / 472.5 MB, free: 16.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.2175, allocations: 11.73 kB / 472.5 MB, free: 16.78 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.2175, allocations: 4.438 kB / 472.5 MB, free: 16.78 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.849e-06/0.2176, allocations: 4.375 kB / 472.5 MB, free: 16.78 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003023/0.2206, allocations: 1.859 MB / 474.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.2206, allocations: 2.438 kB / 474.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002897/0.2209, allocations: 76.95 kB / 474.4 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007773/0.2216, allocations: 320.4 kB / 474.7 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.665e-05/0.2217, allocations: 14.72 kB / 474.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004469/0.2262, allocations: 4.899 MB / 479.6 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.2262, allocations: 0 / 479.6 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001406/0.2276, allocations: 1.148 MB / 480.8 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.255e-05/0.2277, allocations: 71.47 kB / 480.9 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.094e-05/0.2278, allocations: 16 kB / 480.9 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003182/0.2281, allocations: 19.98 kB / 480.9 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/0.2282, allocations: 63.14 kB / 481 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.085e-05/0.2283, allocations: 27.92 kB / 481 MB, free: 10.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003092/0.2286, allocations: 395.1 kB / 481.4 MB, free: 10.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2286, allocations: 4 kB / 481.4 MB, free: 10.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007833/0.2293, allocations: 264 kB / 481.6 MB, free: 9.883 MB / 366.1 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.0001255/0.2295, allocations: 124.4 kB / 481.7 MB, free: 9.754 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001403/0.2309, allocations: 1.17 MB / 482.9 MB, free: 8.539 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2309, allocations: 384 / 482.9 MB, free: 8.539 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008133/0.2317, allocations: 0.7661 MB / 483.7 MB, free: 7.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000796/0.2325, allocations: 185 kB / 483.9 MB, free: 7.562 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00212/0.2346, allocations: 1.78 MB / 485.6 MB, free: 5.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004036/0.235, allocations: 0.5039 MB / 486.1 MB, free: 5.199 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003492/0.2354, allocations: 176.6 kB / 486.3 MB, free: 5.031 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.2355, allocations: 52.48 kB / 486.4 MB, free: 4.98 MB / 366.1 MB Notification: Performance of SimCode: time 3.8e-07/0.2355, allocations: 0 / 486.4 MB, free: 4.98 MB / 366.1 MB Notification: Performance of Templates: time 0.01796/0.2534, allocations: 11.17 MB / 497.5 MB, free: 9.988 MB / 382.1 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: 4.834768008440733]