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.001248/0.001248, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00193/0.003178, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001159/0.001159, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009932/0.002152, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9978/0.9978, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09471/1.093, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.116/0.116, allocations: 29.44 MB / 273.4 MB, free: 1.492 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1491/0.2651, allocations: 9.526 MB / 283 MB, free: 12.84 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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="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="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.633e-06/1.633e-06, allocations: 0 / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.746e-05/1.91e-05, allocations: 4.734 kB / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyState): time 0.006078/0.006097, allocations: 6.449 MB / 290.7 MB, free: 6.91 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00334/0.009437, allocations: 2.368 MB / 293.1 MB, free: 5.059 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003216/0.009759, allocations: 37.62 kB / 293.1 MB, free: 5.039 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001021/0.01078, allocations: 0.7566 MB / 293.9 MB, free: 4.465 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007668/0.01155, allocations: 0.5536 MB / 294.4 MB, free: 4.008 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008802/0.01243, allocations: 467.1 kB / 294.9 MB, free: 3.664 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001215/0.01364, allocations: 1.336 MB / 296.2 MB, free: 2.832 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005681/0.01421, allocations: 0.5156 MB / 296.7 MB, free: 2.301 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001019/0.01523, allocations: 0.9113 MB / 297.6 MB, free: 1.391 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008968/0.01613, allocations: 0.5687 MB / 298.2 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.936e-05/0.01622, allocations: 75.94 kB / 298.3 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004395/0.01665, allocations: 223.7 kB / 298.5 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003426/0.017, allocations: 0.491 MB / 299 MB, free: 36 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003314/0.01733, allocations: 311.4 kB / 299.3 MB, free: 15.73 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000915/0.01824, allocations: 0.8525 MB / 300.1 MB, free: 14.88 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.403e-05/0.01826, allocations: 0 / 300.1 MB, free: 14.88 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.01826, allocations: 0 / 300.1 MB, free: 14.88 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.398e-05/0.01829, allocations: 0 / 300.1 MB, free: 14.88 MB / 298.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.001621/0.01991, allocations: 1.423 MB / 301.6 MB, free: 13.42 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.01995, allocations: 8.031 kB / 301.6 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006916/0.02064, allocations: 297.8 kB / 301.9 MB, free: 13.1 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006621/0.0213, allocations: 0.5748 MB / 302.4 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.105e-05/0.02134, allocations: 62.38 kB / 302.5 MB, free: 12.44 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.609e-05/0.02142, allocations: 76.38 kB / 302.6 MB, free: 12.36 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006891/0.02211, allocations: 0.7902 MB / 303.4 MB, free: 11.48 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.425e-05/0.02213, allocations: 15.83 kB / 303.4 MB, free: 11.47 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.449e-05/0.02218, allocations: 32 kB / 303.4 MB, free: 11.44 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.602e-05/0.02223, allocations: 57.97 kB / 303.5 MB, free: 11.38 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004143/0.02265, allocations: 378 kB / 303.8 MB, free: 11 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002955/0.0256, allocations: 3.736 MB / 307.6 MB, free: 7.09 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004875/0.02609, allocations: 430 kB / 308 MB, free: 6.648 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001482/0.02624, allocations: 161.8 kB / 308.1 MB, free: 6.477 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.295e-05/0.02627, allocations: 16.48 kB / 308.2 MB, free: 6.461 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002712/0.02654, allocations: 321.4 kB / 308.5 MB, free: 6.109 MB / 298.7 MB Notification: Performance of pre-optimization done (n=65): time 1.793e-06/0.02654, allocations: 0 / 308.5 MB, free: 6.109 MB / 298.7 MB Notification: Performance of matching and sorting (n=66): time 0.002116/0.02866, allocations: 1.23 MB / 309.7 MB, free: 4.84 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.172e-05/0.02872, allocations: 174.8 kB / 309.9 MB, free: 4.633 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000296/0.02902, allocations: 0.5037 MB / 310.4 MB, free: 4.121 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.187e-05/0.02905, allocations: 37.7 kB / 310.4 MB, free: 4.078 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001723/0.02922, allocations: 425.1 kB / 310.8 MB, free: 3.656 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001218/0.02934, allocations: 238 kB / 311.1 MB, free: 3.422 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.02947, allocations: 142.5 kB / 311.2 MB, free: 3.277 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.02957, allocations: 390.6 kB / 311.6 MB, free: 2.887 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.02968, allocations: 107.7 kB / 311.7 MB, free: 2.777 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005086/0.03019, allocations: 391.5 kB / 312.1 MB, free: 2.27 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004484/0.03064, allocations: 0.5823 MB / 312.6 MB, free: 1.547 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.03064, allocations: 4 kB / 312.7 MB, free: 1.543 MB / 298.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0007561/0.0314, allocations: 0.6883 MB / 313.3 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.078e-05/0.03144, allocations: 33.7 kB / 313.4 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.03145, allocations: 12.03 kB / 313.4 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006434/0.0321, allocations: 281.4 kB / 313.7 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000325/0.03242, allocations: 175.7 kB / 313.8 MB, free: 332 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002683/0.0351, allocations: 3.518 MB / 317.4 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002619/0.03537, allocations: 24 kB / 317.4 MB, free: 12.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.706e-05/0.0354, allocations: 32 kB / 317.4 MB, free: 12.56 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.0002229/0.03563, allocations: 198.1 kB / 317.6 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.014e-05/0.03571, allocations: 67.88 kB / 317.7 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006961/0.0364, allocations: 0.5781 MB / 318.2 MB, free: 11.67 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.03641, allocations: 8 kB / 318.3 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.03641, allocations: 4 kB / 318.3 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.03642, allocations: 7.984 kB / 318.3 MB, free: 11.65 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001395/0.03782, allocations: 1.171 MB / 319.4 MB, free: 10.42 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.03782, allocations: 0 / 319.4 MB, free: 10.42 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001931/0.03801, allocations: 91.88 kB / 319.5 MB, free: 10.33 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.153e-05/0.03807, allocations: 67.59 kB / 319.6 MB, free: 10.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004817/0.03856, allocations: 263.7 kB / 319.8 MB, free: 10 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.703e-05/0.03858, allocations: 16 kB / 319.9 MB, free: 9.984 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002212/0.04079, allocations: 3.479 MB / 323.3 MB, free: 6.312 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.0408, allocations: 4 kB / 323.3 MB, free: 6.309 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007921/0.04159, allocations: 0.7249 MB / 324.1 MB, free: 5.52 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.635e-05/0.04166, allocations: 12 kB / 324.1 MB, free: 5.508 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/0.04181, allocations: 20 kB / 324.1 MB, free: 5.488 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.423e-05/0.04189, allocations: 52.39 kB / 324.2 MB, free: 5.434 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.252e-05/0.04191, allocations: 16 kB / 324.2 MB, free: 5.418 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001459/0.04206, allocations: 228.6 kB / 324.4 MB, free: 5.199 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04206, allocations: 0 / 324.4 MB, free: 5.199 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006194/0.04268, allocations: 276 kB / 324.7 MB, free: 4.93 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.0001075/0.04278, allocations: 96.3 kB / 324.8 MB, free: 4.824 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007976/0.04358, allocations: 0.8503 MB / 325.6 MB, free: 3.93 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.256e-05/0.04361, allocations: 12.5 kB / 325.6 MB, free: 3.918 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006812/0.04429, allocations: 0.6122 MB / 326.2 MB, free: 3.262 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005097/0.0448, allocations: 267.4 kB / 326.5 MB, free: 3.008 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01214/0.05693, allocations: 1.619 MB / 328.1 MB, free: 1.324 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002119/0.05714, allocations: 259.8 kB / 328.4 MB, free: 1.051 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.00023/0.05737, allocations: 90.19 kB / 328.5 MB, free: 0.9609 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002477/0.05762, allocations: 189.2 kB / 328.6 MB, free: 0.7773 MB / 314.7 MB Notification: Performance of SimCode: time 1.242e-06/0.05762, allocations: 4 kB / 328.6 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of Templates: time 0.01511/0.07273, allocations: 12.2 MB / 340.8 MB, free: 4.789 MB / 330.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 -ignoreHideResult -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.042690711095929]