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.00166/0.00166, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.002031/0.002031, allocations: 161.6 kB / 24.26 MB, free: 180 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 1.495/1.495, allocations: 177.2 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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.3544/0.3544, allocations: 29.41 MB / 290.5 MB, free: 2.461 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.833e-06/1.833e-06, allocations: 0 / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.948e-05/3.131e-05, allocations: 2.312 kB / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyState): time 0.01049/0.01052, allocations: 7.125 MB / 376 MB, free: 4.156 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004883/0.01541, allocations: 2.231 MB / 378.2 MB, free: 1.918 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004447/0.01585, allocations: 39.69 kB / 378.3 MB, free: 1.879 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002496/0.01835, allocations: 0.8281 MB / 379.1 MB, free: 1.047 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001314/0.01966, allocations: 0.5203 MB / 379.6 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001384/0.02104, allocations: 482.6 kB / 380.1 MB, free: 52 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001725/0.02277, allocations: 1.301 MB / 381.4 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008358/0.02361, allocations: 0.5096 MB / 381.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001144/0.02475, allocations: 0.7477 MB / 382.7 MB, free: 13.48 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001262/0.02601, allocations: 0.6194 MB / 383.3 MB, free: 12.86 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000136/0.02615, allocations: 76 kB / 383.4 MB, free: 12.78 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005149/0.02666, allocations: 235.5 kB / 383.6 MB, free: 12.55 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005876/0.02725, allocations: 0.5104 MB / 384.1 MB, free: 12.04 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005255/0.02778, allocations: 371.2 kB / 384.5 MB, free: 11.68 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001599/0.02938, allocations: 1.269 MB / 385.7 MB, free: 10.4 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.02938, allocations: 0 / 385.7 MB, free: 10.4 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.02938, allocations: 0 / 385.7 MB, free: 10.4 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.238e-05/0.02939, allocations: 0 / 385.7 MB, free: 10.4 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.002486/0.03188, allocations: 1.249 MB / 387 MB, free: 9.113 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.03192, allocations: 12.02 kB / 387 MB, free: 9.102 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001241/0.03316, allocations: 296 kB / 387.3 MB, free: 8.812 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001392/0.03455, allocations: 0.69 MB / 388 MB, free: 8.098 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.18e-05/0.03462, allocations: 62.38 kB / 388 MB, free: 8.039 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001492/0.03477, allocations: 84.36 kB / 388.1 MB, free: 7.957 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002033/0.0368, allocations: 1.209 MB / 389.3 MB, free: 6.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.377e-05/0.03684, allocations: 7.938 kB / 389.3 MB, free: 6.652 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.311e-05/0.03693, allocations: 35.98 kB / 389.4 MB, free: 6.617 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.08e-05/0.03701, allocations: 57.98 kB / 389.4 MB, free: 6.562 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001936/0.03895, allocations: 0.9539 MB / 390.4 MB, free: 5.598 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006129/0.04508, allocations: 4.326 MB / 394.7 MB, free: 1.094 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001305/0.04638, allocations: 0.6644 MB / 395.4 MB, free: 416 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006109/0.04699, allocations: 377.6 kB / 395.7 MB, free: 24 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.172e-05/0.04704, allocations: 16.5 kB / 395.7 MB, free: 8 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000783/0.04783, allocations: 462.6 kB / 396.2 MB, free: 15.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=65): time 2.174e-06/0.04783, allocations: 0 / 396.2 MB, free: 15.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=66): time 0.006277/0.05411, allocations: 2.412 MB / 398.6 MB, free: 13.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001395/0.05424, allocations: 174.8 kB / 398.8 MB, free: 12.86 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007911/0.05504, allocations: 0.5781 MB / 399.4 MB, free: 12.28 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.937e-05/0.0551, allocations: 41.7 kB / 399.4 MB, free: 12.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005002/0.0556, allocations: 495.9 kB / 399.9 MB, free: 11.74 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002448/0.05584, allocations: 234 kB / 400.1 MB, free: 11.51 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002612/0.0561, allocations: 162.6 kB / 400.3 MB, free: 11.34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002605/0.05636, allocations: 378.8 kB / 400.6 MB, free: 10.96 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000542/0.0569, allocations: 315.5 kB / 400.9 MB, free: 10.65 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008358/0.05774, allocations: 0.5854 MB / 401.5 MB, free: 9.934 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001471/0.05921, allocations: 0.9545 MB / 402.5 MB, free: 8.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.197e-06/0.05921, allocations: 0 / 402.5 MB, free: 8.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002534/0.06175, allocations: 1.278 MB / 403.8 MB, free: 7.535 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.407e-05/0.0618, allocations: 41.69 kB / 403.8 MB, free: 7.488 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-05/0.06182, allocations: 8 kB / 403.8 MB, free: 7.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001461/0.06328, allocations: 394 kB / 404.2 MB, free: 7.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000882/0.06416, allocations: 147.7 kB / 404.3 MB, free: 6.945 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007141/0.0713, allocations: 4.992 MB / 409.3 MB, free: 1.754 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006213/0.07192, allocations: 36.08 kB / 409.4 MB, free: 1.719 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.678e-05/0.072, allocations: 40 kB / 409.4 MB, free: 1.68 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.0006178/0.07262, allocations: 365.5 kB / 409.8 MB, free: 1.309 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001842/0.0728, allocations: 99.53 kB / 409.9 MB, free: 1.211 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002196/0.075, allocations: 1.067 MB / 410.9 MB, free: 116 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/0.07501, allocations: 8 kB / 410.9 MB, free: 108 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.07502, allocations: 4 kB / 410.9 MB, free: 104 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/0.07503, allocations: 7.922 kB / 410.9 MB, free: 96 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003837/0.07887, allocations: 1.866 MB / 412.8 MB, free: 14.16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.07887, allocations: 3.938 kB / 412.8 MB, free: 14.15 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003415/0.07921, allocations: 84.05 kB / 412.9 MB, free: 14.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001179/0.08039, allocations: 341.4 kB / 413.2 MB, free: 13.73 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.738e-05/0.08044, allocations: 24 kB / 413.3 MB, free: 13.71 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006754/0.08719, allocations: 4.921 MB / 418.2 MB, free: 8.582 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.0872, allocations: 4 kB / 418.2 MB, free: 8.578 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002354/0.08955, allocations: 1.164 MB / 419.3 MB, free: 7.359 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001627/0.08971, allocations: 71.61 kB / 419.4 MB, free: 7.289 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.244e-05/0.08981, allocations: 19.94 kB / 419.4 MB, free: 7.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003475/0.09015, allocations: 27.91 kB / 419.5 MB, free: 7.242 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001557/0.09031, allocations: 56.39 kB / 419.5 MB, free: 7.188 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.73e-05/0.09036, allocations: 20 kB / 419.5 MB, free: 7.168 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000549/0.09091, allocations: 399 kB / 419.9 MB, free: 6.785 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.09091, allocations: 0 / 419.9 MB, free: 6.785 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000984/0.09189, allocations: 268 kB / 420.2 MB, free: 6.523 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.0001902/0.09208, allocations: 119.1 kB / 420.3 MB, free: 6.398 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002043/0.09412, allocations: 1.183 MB / 421.5 MB, free: 5.168 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.09412, allocations: 0 / 421.5 MB, free: 5.168 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001201/0.09533, allocations: 0.7617 MB / 422.3 MB, free: 4.363 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008914/0.09622, allocations: 195.8 kB / 422.4 MB, free: 4.184 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003114/0.09933, allocations: 1.815 MB / 424.3 MB, free: 2.305 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006472/0.09998, allocations: 0.5 MB / 424.8 MB, free: 1.773 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004549/0.1004, allocations: 174.1 kB / 424.9 MB, free: 1.602 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.1006, allocations: 56.48 kB / 425 MB, free: 1.547 MB / 394.7 MB Notification: Performance of SimCode: time 9.12e-07/0.1006, allocations: 4 kB / 425 MB, free: 1.543 MB / 394.7 MB Notification: Performance of Templates: time 0.02175/0.1223, allocations: 11.22 MB / 436.2 MB, free: 6.48 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.462060965015553]