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.001632/0.001632, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.00182/0.00182, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.538/1.538, allocations: 230.6 MB / 258.2 MB, free: 7.797 MB / 206.1 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.1889/0.1889, allocations: 38.56 MB / 353.2 MB, free: 12.3 MB / 286.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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002224/0.002224, allocations: 79.88 kB / 493.7 MB, free: 4.168 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.3098, allocations: 62.46 MB / 0.5432 GB, free: 400 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyState): time 0.009705/0.3195, allocations: 7.165 MB / 0.5502 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004849/0.3243, allocations: 2.215 MB / 0.5523 GB, free: 9.215 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006214/0.3249, allocations: 37.19 kB / 0.5524 GB, free: 9.195 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002504/0.3274, allocations: 0.8379 MB / 0.5532 GB, free: 8.559 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001564/0.329, allocations: 0.5135 MB / 0.5537 GB, free: 8.133 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001435/0.3304, allocations: 457.5 kB / 0.5541 GB, free: 7.801 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001729/0.3322, allocations: 1.281 MB / 0.5554 GB, free: 7.082 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008198/0.333, allocations: 0.5088 MB / 0.5559 GB, free: 6.746 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001078/0.3341, allocations: 0.5722 MB / 0.5564 GB, free: 6.414 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001115/0.3352, allocations: 0.6761 MB / 0.5571 GB, free: 5.895 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001521/0.3353, allocations: 72 kB / 0.5572 GB, free: 5.824 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006211/0.336, allocations: 231.7 kB / 0.5574 GB, free: 5.598 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005572/0.3365, allocations: 0.4986 MB / 0.5579 GB, free: 5.098 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005826/0.3371, allocations: 441.9 kB / 0.5583 GB, free: 4.664 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001657/0.3388, allocations: 1.261 MB / 0.5595 GB, free: 3.398 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3388, allocations: 0 / 0.5595 GB, free: 3.398 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3388, allocations: 0 / 0.5595 GB, free: 3.398 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.613e-05/0.3388, allocations: 0 / 0.5595 GB, free: 3.398 MB / 398.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.002437/0.3412, allocations: 1.269 MB / 0.5608 GB, free: 2.086 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.3413, allocations: 8.031 kB / 0.5608 GB, free: 2.078 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001086/0.3423, allocations: 200.1 kB / 0.561 GB, free: 1.883 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001454/0.3438, allocations: 0.6556 MB / 0.5616 GB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.821e-05/0.3439, allocations: 70.38 kB / 0.5617 GB, free: 1.125 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001405/0.344, allocations: 88.11 kB / 0.5618 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001879/0.3459, allocations: 1.208 MB / 0.5629 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.001e-05/0.3459, allocations: 11.88 kB / 0.5629 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.1e-05/0.346, allocations: 36 kB / 0.563 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.667e-05/0.3461, allocations: 53.98 kB / 0.563 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001617/0.3477, allocations: 0.9539 MB / 0.564 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005811/0.3535, allocations: 4.332 MB / 0.5682 GB, free: 10.17 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00122/0.3547, allocations: 0.6516 MB / 0.5688 GB, free: 9.496 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005716/0.3553, allocations: 381 kB / 0.5692 GB, free: 9.109 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.319e-05/0.3553, allocations: 12.5 kB / 0.5692 GB, free: 9.098 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006958/0.356, allocations: 462.6 kB / 0.5696 GB, free: 8.613 MB / 414.1 MB Notification: Performance of pre-optimization done (n=65): time 2.715e-06/0.356, allocations: 0 / 0.5696 GB, free: 8.613 MB / 414.1 MB Notification: Performance of matching and sorting (n=66): time 0.005535/0.3616, allocations: 2.384 MB / 0.572 GB, free: 6.191 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000121/0.3617, allocations: 170.9 kB / 0.5721 GB, free: 5.988 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007389/0.3624, allocations: 0.5858 MB / 0.5727 GB, free: 5.398 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.576e-05/0.3625, allocations: 45.7 kB / 0.5728 GB, free: 5.348 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004329/0.3629, allocations: 0.4921 MB / 0.5732 GB, free: 4.848 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002229/0.3631, allocations: 234.1 kB / 0.5735 GB, free: 4.617 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000232/0.3634, allocations: 158.6 kB / 0.5736 GB, free: 4.457 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002137/0.3636, allocations: 390.7 kB / 0.574 GB, free: 4.066 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005122/0.3641, allocations: 315.5 kB / 0.5743 GB, free: 3.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000736/0.3648, allocations: 0.5737 MB / 0.5748 GB, free: 3.051 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001324/0.3662, allocations: 0.9545 MB / 0.5758 GB, free: 1.957 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.654e-06/0.3662, allocations: 4 kB / 0.5758 GB, free: 1.953 MB / 414.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002308/0.3685, allocations: 1.247 MB / 0.577 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.28e-05/0.3685, allocations: 40.7 kB / 0.577 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.71e-05/0.3686, allocations: 12 kB / 0.577 GB, free: 0.625 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001077/0.3696, allocations: 333.4 kB / 0.5774 GB, free: 300 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005166/0.3701, allocations: 151.7 kB / 0.5775 GB, free: 148 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006511/0.3767, allocations: 4.976 MB / 0.5824 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005651/0.3772, allocations: 32.03 kB / 0.5824 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.166e-05/0.3773, allocations: 39.98 kB / 0.5824 GB, free: 10.89 MB / 430.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.000536/0.3778, allocations: 355.2 kB / 0.5828 GB, free: 10.53 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/0.3779, allocations: 75.53 kB / 0.5828 GB, free: 10.46 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002064/0.38, allocations: 1.067 MB / 0.5839 GB, free: 9.355 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-05/0.38, allocations: 15.92 kB / 0.5839 GB, free: 9.34 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.38, allocations: 4 kB / 0.5839 GB, free: 9.336 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.38, allocations: 0 / 0.5839 GB, free: 9.336 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003463/0.3835, allocations: 1.866 MB / 0.5857 GB, free: 7.402 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.3835, allocations: 160 / 0.5857 GB, free: 7.402 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003269/0.3838, allocations: 83.89 kB / 0.5858 GB, free: 7.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008904/0.3847, allocations: 301.5 kB / 0.5861 GB, free: 7.02 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.609e-05/0.3848, allocations: 16 kB / 0.5861 GB, free: 7.004 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006265/0.391, allocations: 4.916 MB / 0.5909 GB, free: 1.879 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.391, allocations: 0 / 0.5909 GB, free: 1.879 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002017/0.3931, allocations: 1.148 MB / 0.592 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001841/0.3932, allocations: 75.45 kB / 0.5921 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.012e-05/0.3933, allocations: 12 kB / 0.5921 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003364/0.3937, allocations: 23.98 kB / 0.5921 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/0.3938, allocations: 56.34 kB / 0.5922 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-05/0.3938, allocations: 23.98 kB / 0.5922 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000501/0.3943, allocations: 395.1 kB / 0.5926 GB, free: 112 kB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3943, allocations: 0 / 0.5926 GB, free: 112 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009854/0.3953, allocations: 272 kB / 0.5929 GB, free: 15.84 MB / 446.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.0001629/0.3955, allocations: 111.1 kB / 0.593 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00195/0.3974, allocations: 1.184 MB / 0.5941 GB, free: 14.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.3975, allocations: 0 / 0.5941 GB, free: 14.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00116/0.3986, allocations: 0.7771 MB / 0.5949 GB, free: 13.67 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009237/0.3995, allocations: 185.7 kB / 0.5951 GB, free: 13.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003151/0.4027, allocations: 1.894 MB / 0.5969 GB, free: 11.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006243/0.4033, allocations: 0.508 MB / 0.5974 GB, free: 11 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001563/0.4035, allocations: 55.42 kB / 0.5974 GB, free: 10.95 MB / 446.1 MB Notification: Performance of SimCode: time 5.72e-07/0.4035, allocations: 0 / 0.5974 GB, free: 10.95 MB / 446.1 MB Notification: Performance of Templates: time 0.02442/0.4279, allocations: 17.47 MB / 0.6145 GB, free: 9.496 MB / 462.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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.SimulationSteadyState.mat","/var/lib/jenkins1/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: 10.151866301894188]