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.0009735/0.0009735, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001043/0.001043, allocations: 169 kB / 24.99 MB, free: 8.789 MB / 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.9538/0.9538, allocations: 177.1 MB / 205.3 MB, free: 5.605 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.2319/0.2319, allocations: 29.41 MB / 291.2 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 1.532e-06/1.532e-06, allocations: 0 / 369.6 MB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.374e-05/2.528e-05, allocations: 9.344 kB / 369.6 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyState): time 0.00735/0.007375, allocations: 7.594 MB / 377.2 MB, free: 3.695 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003353/0.01073, allocations: 2.313 MB / 379.5 MB, free: 1.375 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004023/0.01113, allocations: 43.62 kB / 379.6 MB, free: 1.332 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001284/0.01242, allocations: 0.8477 MB / 380.4 MB, free: 492 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008656/0.01328, allocations: 0.532 MB / 381 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008839/0.01416, allocations: 474.6 kB / 381.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001098/0.01526, allocations: 1.301 MB / 382.7 MB, free: 14.18 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006072/0.01587, allocations: 0.5096 MB / 383.2 MB, free: 13.66 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001044/0.01691, allocations: 0.7594 MB / 384 MB, free: 12.89 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006736/0.01759, allocations: 0.6195 MB / 384.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.278e-05/0.01768, allocations: 76 kB / 384.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000375/0.01805, allocations: 239.5 kB / 384.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003367/0.01839, allocations: 0.5221 MB / 385.4 MB, free: 11.44 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003038/0.0187, allocations: 371.2 kB / 385.8 MB, free: 11.08 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008491/0.01954, allocations: 0.9265 MB / 386.7 MB, free: 10.15 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.01955, allocations: 0 / 386.7 MB, free: 10.15 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.01955, allocations: 0 / 386.7 MB, free: 10.15 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.988e-05/0.01957, allocations: 0 / 386.7 MB, free: 10.15 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.001564/0.02113, allocations: 1.369 MB / 388.1 MB, free: 8.734 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.02117, allocations: 15.98 kB / 388.1 MB, free: 8.719 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008412/0.02201, allocations: 291.9 kB / 388.4 MB, free: 8.434 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009967/0.02301, allocations: 0.6616 MB / 389.1 MB, free: 7.746 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.866e-05/0.02306, allocations: 66.36 kB / 389.1 MB, free: 7.684 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.348e-05/0.02315, allocations: 84.36 kB / 389.2 MB, free: 7.602 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009906/0.02414, allocations: 0.8969 MB / 390.1 MB, free: 6.586 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.706e-05/0.02417, allocations: 7.938 kB / 390.1 MB, free: 6.578 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.445e-05/0.02422, allocations: 36 kB / 390.1 MB, free: 6.543 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.943e-05/0.02428, allocations: 61.91 kB / 390.2 MB, free: 6.484 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000685/0.02497, allocations: 461 kB / 390.7 MB, free: 6.023 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003536/0.0285, allocations: 5.059 MB / 395.7 MB, free: 0.7539 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000648/0.02915, allocations: 462.6 kB / 396.2 MB, free: 276 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002441/0.02939, allocations: 219.3 kB / 396.4 MB, free: 40 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.617e-05/0.02943, allocations: 20.5 kB / 396.4 MB, free: 20 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003658/0.0298, allocations: 352.8 kB / 396.7 MB, free: 15.64 MB / 378.7 MB Notification: Performance of pre-optimization done (n=65): time 2.145e-06/0.0298, allocations: 0 / 396.7 MB, free: 15.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=66): time 0.003222/0.03302, allocations: 1.82 MB / 398.6 MB, free: 13.78 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.095e-05/0.03309, allocations: 162.9 kB / 398.7 MB, free: 13.58 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004759/0.03357, allocations: 0.6086 MB / 399.3 MB, free: 12.96 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.433e-05/0.0336, allocations: 41.77 kB / 399.4 MB, free: 12.91 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002698/0.03387, allocations: 0.5377 MB / 399.9 MB, free: 12.37 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001413/0.03401, allocations: 238.1 kB / 400.1 MB, free: 12.13 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001462/0.03416, allocations: 156.3 kB / 400.3 MB, free: 11.97 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.03432, allocations: 0.5703 MB / 400.9 MB, free: 11.39 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002038/0.03453, allocations: 143.6 kB / 401 MB, free: 11.24 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003647/0.03489, allocations: 0.5397 MB / 401.5 MB, free: 10.53 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000622/0.03551, allocations: 0.7488 MB / 402.3 MB, free: 9.594 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.381e-06/0.03552, allocations: 4 kB / 402.3 MB, free: 9.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001097/0.03661, allocations: 0.8976 MB / 403.2 MB, free: 8.664 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.873e-05/0.03665, allocations: 37.7 kB / 403.2 MB, free: 8.621 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/0.03667, allocations: 11.98 kB / 403.2 MB, free: 8.609 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007441/0.03741, allocations: 287.1 kB / 403.5 MB, free: 8.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002871/0.0377, allocations: 139.8 kB / 403.7 MB, free: 8.184 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003528/0.04123, allocations: 4.793 MB / 408.5 MB, free: 3.148 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003313/0.04156, allocations: 35.92 kB / 408.5 MB, free: 3.113 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.562e-05/0.0416, allocations: 40 kB / 408.5 MB, free: 3.074 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.0002531/0.04186, allocations: 248.7 kB / 408.8 MB, free: 2.816 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.221e-05/0.04195, allocations: 103.5 kB / 408.9 MB, free: 2.715 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009745/0.04292, allocations: 0.7293 MB / 409.6 MB, free: 1.949 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.04293, allocations: 8 kB / 409.6 MB, free: 1.941 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.04294, allocations: 4 kB / 409.6 MB, free: 1.938 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.04295, allocations: 15.92 kB / 409.6 MB, free: 1.922 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001787/0.04473, allocations: 1.584 MB / 411.2 MB, free: 264 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.04474, allocations: 4 kB / 411.2 MB, free: 260 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001702/0.04491, allocations: 71.91 kB / 411.3 MB, free: 188 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005689/0.04548, allocations: 255.3 kB / 411.5 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.132e-05/0.04551, allocations: 12 kB / 411.5 MB, free: 15.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003216/0.04872, allocations: 4.768 MB / 416.3 MB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.04873, allocations: 0 / 416.3 MB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000992/0.04972, allocations: 0.9169 MB / 417.2 MB, free: 9.922 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.04982, allocations: 71.52 kB / 417.3 MB, free: 9.852 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.832e-05/0.04988, allocations: 12 kB / 417.3 MB, free: 9.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000175/0.05005, allocations: 23.92 kB / 417.3 MB, free: 9.816 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.05017, allocations: 60.33 kB / 417.4 MB, free: 9.758 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-05/0.0502, allocations: 23.98 kB / 417.4 MB, free: 9.734 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002782/0.05047, allocations: 371 kB / 417.8 MB, free: 9.375 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.05047, allocations: 0 / 417.8 MB, free: 9.375 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006656/0.05114, allocations: 268 kB / 418 MB, free: 9.113 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.0001269/0.05127, allocations: 119.1 kB / 418.2 MB, free: 8.988 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001092/0.05236, allocations: 1.047 MB / 419.2 MB, free: 7.887 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.05236, allocations: 4.062 kB / 419.2 MB, free: 7.883 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008273/0.05319, allocations: 0.7682 MB / 420 MB, free: 7.059 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000555/0.05374, allocations: 172.5 kB / 420.1 MB, free: 6.898 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002249/0.05599, allocations: 1.595 MB / 421.7 MB, free: 5.227 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000191/0.05618, allocations: 259.9 kB / 422 MB, free: 4.953 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002856/0.05647, allocations: 158.2 kB / 422.2 MB, free: 4.797 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.61e-05/0.05656, allocations: 52.48 kB / 422.2 MB, free: 4.746 MB / 394.7 MB Notification: Performance of SimCode: time 8.61e-07/0.05656, allocations: 0 / 422.2 MB, free: 4.746 MB / 394.7 MB Notification: Performance of Templates: time 0.01384/0.0704, allocations: 11.37 MB / 433.6 MB, free: 9.531 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.468148833140731]