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.000815/0.000815, allocations: 83.58 kB / 21.18 MB, free: 3.383 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.0009127/0.0009127, allocations: 165 kB / 24.56 MB, free: 12 kB / 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.9577/0.9577, allocations: 177.1 MB / 205 MB, free: 5.234 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.2275/0.2275, allocations: 29.43 MB / 290.9 MB, free: 2.48 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.394e-06/2.394e-06, allocations: 4 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.646e-05/2.885e-05, allocations: 5.922 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyState): time 0.005817/0.005845, allocations: 6.37 MB / 376 MB, free: 4.594 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003604/0.009449, allocations: 2.313 MB / 378.3 MB, free: 2.273 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006508/0.0101, allocations: 43.69 kB / 378.4 MB, free: 2.23 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001275/0.01137, allocations: 0.6142 MB / 379 MB, free: 1.613 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001043/0.01242, allocations: 0.5164 MB / 379.5 MB, free: 1.094 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001184/0.0136, allocations: 470.6 kB / 380 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001317/0.01492, allocations: 1.281 MB / 381.2 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006639/0.01558, allocations: 0.5096 MB / 381.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001134/0.01672, allocations: 0.8298 MB / 382.6 MB, free: 13.99 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007588/0.01748, allocations: 0.5649 MB / 383.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000117/0.01759, allocations: 68 kB / 383.2 MB, free: 13.36 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005069/0.0181, allocations: 235.5 kB / 383.4 MB, free: 13.13 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003943/0.01849, allocations: 0.5143 MB / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004426/0.01894, allocations: 363.2 kB / 384.3 MB, free: 12.26 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009601/0.0199, allocations: 0.9148 MB / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.0199, allocations: 0 / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.0199, allocations: 0 / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.311e-05/0.01994, allocations: 0 / 385.2 MB, free: 11.34 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.001609/0.02154, allocations: 1.353 MB / 386.6 MB, free: 9.945 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.02159, allocations: 15.98 kB / 386.6 MB, free: 9.93 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007464/0.02233, allocations: 295.9 kB / 386.9 MB, free: 9.641 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007425/0.02307, allocations: 0.6246 MB / 387.5 MB, free: 8.992 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.936e-05/0.02312, allocations: 58.38 kB / 387.6 MB, free: 8.934 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.771e-05/0.02322, allocations: 88.34 kB / 387.7 MB, free: 8.848 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/0.02423, allocations: 0.9007 MB / 388.6 MB, free: 7.832 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.639e-05/0.02426, allocations: 15.89 kB / 388.6 MB, free: 7.816 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.067e-05/0.02431, allocations: 32 kB / 388.6 MB, free: 7.785 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.024e-05/0.02437, allocations: 57.97 kB / 388.7 MB, free: 7.727 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006873/0.02506, allocations: 461 kB / 389.1 MB, free: 7.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003588/0.02864, allocations: 5.047 MB / 394.2 MB, free: 2.008 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000637/0.02928, allocations: 462.6 kB / 394.6 MB, free: 1.523 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002413/0.02952, allocations: 227.3 kB / 394.8 MB, free: 1.285 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.231e-05/0.02955, allocations: 16.5 kB / 394.8 MB, free: 1.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003794/0.02993, allocations: 360.8 kB / 395.2 MB, free: 0.8789 MB / 362.7 MB Notification: Performance of pre-optimization done (n=65): time 5.03e-06/0.02994, allocations: 3.984 kB / 395.2 MB, free: 0.875 MB / 362.7 MB Notification: Performance of matching and sorting (n=66): time 0.003011/0.03295, allocations: 1.82 MB / 397 MB, free: 15.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.736e-05/0.03303, allocations: 166.9 kB / 397.2 MB, free: 14.82 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004951/0.03352, allocations: 0.6008 MB / 397.8 MB, free: 14.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.391e-05/0.03356, allocations: 45.77 kB / 397.8 MB, free: 14.15 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002964/0.03385, allocations: 0.5377 MB / 398.4 MB, free: 13.61 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001542/0.03401, allocations: 230.1 kB / 398.6 MB, free: 13.38 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001545/0.03416, allocations: 164.3 kB / 398.8 MB, free: 13.21 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.03435, allocations: 0.5625 MB / 399.3 MB, free: 12.63 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002037/0.03455, allocations: 151.6 kB / 399.5 MB, free: 12.48 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003635/0.03491, allocations: 0.5358 MB / 400 MB, free: 11.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006489/0.03556, allocations: 0.7449 MB / 400.7 MB, free: 10.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.03557, allocations: 0 / 400.7 MB, free: 10.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001093/0.03666, allocations: 0.9016 MB / 401.6 MB, free: 9.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.727e-05/0.0367, allocations: 37.73 kB / 401.7 MB, free: 9.867 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.03671, allocations: 8 kB / 401.7 MB, free: 9.859 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007132/0.03742, allocations: 288.1 kB / 402 MB, free: 9.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000288/0.03771, allocations: 147.7 kB / 402.1 MB, free: 9.426 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003357/0.04107, allocations: 4.782 MB / 406.9 MB, free: 4.406 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002866/0.04135, allocations: 39.94 kB / 406.9 MB, free: 4.367 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.365e-05/0.0414, allocations: 36 kB / 407 MB, free: 4.332 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.0002245/0.04162, allocations: 256.6 kB / 407.2 MB, free: 4.066 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.518e-05/0.04172, allocations: 99.52 kB / 407.3 MB, free: 3.969 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000917/0.04263, allocations: 0.7332 MB / 408.1 MB, free: 3.199 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.04264, allocations: 8 kB / 408.1 MB, free: 3.191 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.04265, allocations: 4 kB / 408.1 MB, free: 3.188 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.04265, allocations: 11.92 kB / 408.1 MB, free: 3.176 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00164/0.04429, allocations: 1.595 MB / 409.7 MB, free: 1.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.0443, allocations: 0 / 409.7 MB, free: 1.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001688/0.04447, allocations: 75.91 kB / 409.7 MB, free: 1.426 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005661/0.04503, allocations: 250.6 kB / 410 MB, free: 1.176 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.525e-05/0.04507, allocations: 15.98 kB / 410 MB, free: 1.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002917/0.04798, allocations: 4.76 MB / 414.8 MB, free: 12.16 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.04799, allocations: 0 / 414.8 MB, free: 12.16 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009187/0.04891, allocations: 0.9208 MB / 415.7 MB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.679e-05/0.04898, allocations: 67.52 kB / 415.8 MB, free: 11.1 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.375e-05/0.04904, allocations: 16 kB / 415.8 MB, free: 11.08 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.0492, allocations: 19.92 kB / 415.8 MB, free: 11.06 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001261/0.04933, allocations: 56.34 kB / 415.8 MB, free: 11.01 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.979e-05/0.04936, allocations: 20 kB / 415.9 MB, free: 10.99 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002733/0.04963, allocations: 379 kB / 416.2 MB, free: 10.62 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.04963, allocations: 0 / 416.2 MB, free: 10.62 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006632/0.05029, allocations: 268 kB / 416.5 MB, free: 10.36 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.0001298/0.05042, allocations: 119.2 kB / 416.6 MB, free: 10.24 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001111/0.05153, allocations: 1.047 MB / 417.7 MB, free: 9.137 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.05154, allocations: 4.188 kB / 417.7 MB, free: 9.133 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005882/0.05212, allocations: 0.7721 MB / 418.4 MB, free: 8.305 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005402/0.05266, allocations: 178 kB / 418.6 MB, free: 8.137 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002198/0.05486, allocations: 1.599 MB / 420.2 MB, free: 6.461 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001985/0.05506, allocations: 255.8 kB / 420.5 MB, free: 6.191 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002899/0.05535, allocations: 158.1 kB / 420.6 MB, free: 6.035 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.784e-05/0.05545, allocations: 56.48 kB / 420.7 MB, free: 5.98 MB / 394.7 MB Notification: Performance of SimCode: time 1.182e-06/0.05545, allocations: 0 / 420.7 MB, free: 5.98 MB / 394.7 MB Notification: Performance of Templates: time 0.01428/0.06972, allocations: 11.81 MB / 432.5 MB, free: 10.32 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.3065535202622414]