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.0009333/0.0009333, 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.001028/0.001028, allocations: 161.4 kB / 24.56 MB, free: 16 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.087/1.087, allocations: 177.2 MB / 205 MB, free: 5.633 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.2415/0.2415, allocations: 29.41 MB / 290.9 MB, free: 2.504 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.[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.094e-06/2.094e-06, allocations: 0 / 369.6 MB, free: 11.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.559e-05/3.768e-05, allocations: 2.312 kB / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyState): time 0.007177/0.007215, allocations: 6.441 MB / 376.1 MB, free: 4.547 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003217/0.01043, allocations: 2.321 MB / 378.4 MB, free: 2.219 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003684/0.0108, allocations: 35.69 kB / 378.4 MB, free: 2.184 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007916/0.01159, allocations: 310 kB / 378.7 MB, free: 1.879 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008019/0.01239, allocations: 0.5165 MB / 379.2 MB, free: 1.359 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009167/0.01331, allocations: 474.6 kB / 379.7 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001128/0.01444, allocations: 1.297 MB / 381 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005911/0.01503, allocations: 0.5135 MB / 381.5 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009773/0.01601, allocations: 0.7324 MB / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008354/0.01684, allocations: 0.6194 MB / 382.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001627/0.017, allocations: 76 kB / 382.9 MB, free: 13.64 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004525/0.01746, allocations: 235.6 kB / 383.2 MB, free: 13.41 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004293/0.01789, allocations: 0.5182 MB / 383.7 MB, free: 12.89 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003733/0.01826, allocations: 371.1 kB / 384.1 MB, free: 12.53 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008357/0.0191, allocations: 0.9226 MB / 385 MB, free: 11.6 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.0191, allocations: 0 / 385 MB, free: 11.6 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.0191, allocations: 0 / 385 MB, free: 11.6 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.01911, allocations: 7.938 kB / 385 MB, free: 11.59 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.001442/0.02055, allocations: 1.365 MB / 386.4 MB, free: 10.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.02059, allocations: 15.98 kB / 386.4 MB, free: 10.17 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006784/0.02127, allocations: 299.9 kB / 386.7 MB, free: 9.875 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007566/0.02203, allocations: 0.6616 MB / 387.3 MB, free: 9.188 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.246e-05/0.02207, allocations: 66.38 kB / 387.4 MB, free: 9.125 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.316e-05/0.02216, allocations: 80.36 kB / 387.5 MB, free: 9.047 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000913/0.02308, allocations: 0.9007 MB / 388.4 MB, free: 8.027 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/0.0231, allocations: 3.938 kB / 388.4 MB, free: 8.023 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.087e-05/0.02315, allocations: 40 kB / 388.4 MB, free: 7.984 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.267e-05/0.0232, allocations: 53.98 kB / 388.5 MB, free: 7.934 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006239/0.02383, allocations: 469 kB / 388.9 MB, free: 7.465 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003276/0.0271, allocations: 5.051 MB / 394 MB, free: 2.203 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006133/0.02771, allocations: 473.3 kB / 394.4 MB, free: 1.711 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002386/0.02795, allocations: 219.4 kB / 394.7 MB, free: 1.48 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.046e-05/0.02799, allocations: 16.48 kB / 394.7 MB, free: 1.465 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003472/0.02834, allocations: 352.8 kB / 395 MB, free: 1.082 MB / 362.7 MB Notification: Performance of pre-optimization done (n=65): time 1.553e-06/0.02834, allocations: 0 / 395 MB, free: 1.082 MB / 362.7 MB Notification: Performance of matching and sorting (n=66): time 0.002799/0.03114, allocations: 1.82 MB / 396.8 MB, free: 15.22 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.787e-05/0.03122, allocations: 170.8 kB / 397 MB, free: 15.02 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004397/0.03166, allocations: 0.6047 MB / 397.6 MB, free: 14.4 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/0.03169, allocations: 41.69 kB / 397.6 MB, free: 14.35 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002728/0.03197, allocations: 0.5376 MB / 398.2 MB, free: 13.81 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001376/0.0321, allocations: 234.1 kB / 398.4 MB, free: 13.58 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001492/0.03225, allocations: 156.3 kB / 398.6 MB, free: 13.41 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.03244, allocations: 0.5664 MB / 399.1 MB, free: 12.84 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001972/0.03263, allocations: 151.6 kB / 399.3 MB, free: 12.68 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003835/0.03302, allocations: 0.5475 MB / 399.8 MB, free: 11.96 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007026/0.03372, allocations: 0.7371 MB / 400.6 MB, free: 11.04 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.03373, allocations: 4 kB / 400.6 MB, free: 11.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001117/0.03484, allocations: 0.9086 MB / 401.5 MB, free: 10.1 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.37e-05/0.03489, allocations: 36.2 kB / 401.5 MB, free: 10.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.0349, allocations: 8 kB / 401.5 MB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007242/0.03562, allocations: 287.8 kB / 401.8 MB, free: 9.762 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002677/0.03589, allocations: 139.8 kB / 401.9 MB, free: 9.625 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003282/0.03917, allocations: 4.785 MB / 406.7 MB, free: 4.598 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002152/0.03939, allocations: 31.98 kB / 406.8 MB, free: 4.566 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.552e-05/0.03943, allocations: 44.22 kB / 406.8 MB, free: 4.523 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.0001936/0.03963, allocations: 252.8 kB / 407 MB, free: 4.262 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.537e-05/0.03971, allocations: 107.5 kB / 407.1 MB, free: 4.156 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009094/0.04062, allocations: 0.7216 MB / 407.9 MB, free: 3.398 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.04063, allocations: 11.94 kB / 407.9 MB, free: 3.387 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.04063, allocations: 4 kB / 407.9 MB, free: 3.383 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.04064, allocations: 8.031 kB / 407.9 MB, free: 3.375 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001817/0.04246, allocations: 1.588 MB / 409.5 MB, free: 1.707 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.04246, allocations: 3.984 kB / 409.5 MB, free: 1.703 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001617/0.04262, allocations: 79.98 kB / 409.6 MB, free: 1.625 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005206/0.04314, allocations: 259.1 kB / 409.8 MB, free: 1.363 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.815e-05/0.04317, allocations: 12 kB / 409.8 MB, free: 1.352 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002935/0.04611, allocations: 4.76 MB / 414.6 MB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.04611, allocations: 3.984 kB / 414.6 MB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009717/0.04708, allocations: 0.9246 MB / 415.5 MB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.336e-05/0.04715, allocations: 67.53 kB / 415.6 MB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.879e-05/0.04719, allocations: 15.98 kB / 415.6 MB, free: 11.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001544/0.04735, allocations: 19.94 kB / 415.6 MB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.04745, allocations: 56.39 kB / 415.7 MB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.009e-05/0.04748, allocations: 16 kB / 415.7 MB, free: 11.18 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000267/0.04775, allocations: 375 kB / 416.1 MB, free: 10.82 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04775, allocations: 0 / 416.1 MB, free: 10.82 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005919/0.04834, allocations: 268 kB / 416.3 MB, free: 10.56 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.0001344/0.04848, allocations: 119.1 kB / 416.4 MB, free: 10.43 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001258/0.04973, allocations: 1.055 MB / 417.5 MB, free: 9.324 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.04974, allocations: 0 / 417.5 MB, free: 9.324 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005653/0.0503, allocations: 0.7771 MB / 418.3 MB, free: 8.492 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005496/0.05085, allocations: 177.5 kB / 418.4 MB, free: 8.328 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002241/0.05309, allocations: 1.588 MB / 420 MB, free: 6.664 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001806/0.05327, allocations: 263.8 kB / 420.3 MB, free: 6.387 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002476/0.05352, allocations: 150.1 kB / 420.4 MB, free: 6.238 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.289e-05/0.05361, allocations: 56.48 kB / 420.5 MB, free: 6.184 MB / 394.7 MB Notification: Performance of SimCode: time 6.51e-07/0.05361, allocations: 0 / 420.5 MB, free: 6.184 MB / 394.7 MB Notification: Performance of Templates: time 0.01408/0.06769, allocations: 11.36 MB / 431.8 MB, free: 10.98 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.597536056302488]