Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.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.001023/0.001023, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.0009754/0.0009754, allocations: 171.9 kB / 24.92 MB, free: 8.723 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 1.019/1.019, allocations: 177.1 MB / 205.3 MB, free: 5.105 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.245/0.245, allocations: 29.42 MB / 291.2 MB, free: 2.43 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.AC1ph_DC.Elementary.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 316.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.478e-05/1.59e-05, allocations: 4 kB / 316.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.003929/0.003945, allocations: 4.578 MB / 321.5 MB, free: 11.36 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001691/0.005636, allocations: 1.317 MB / 322.8 MB, free: 10.04 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002062/0.005842, allocations: 23.81 kB / 322.8 MB, free: 10.01 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003637/0.006205, allocations: 115.1 kB / 322.9 MB, free: 9.898 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004624/0.006668, allocations: 330.1 kB / 323.2 MB, free: 9.574 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003618/0.00703, allocations: 175.5 kB / 323.4 MB, free: 9.402 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005668/0.007597, allocations: 0.6929 MB / 324.1 MB, free: 8.707 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.007755, allocations: 103.3 kB / 324.2 MB, free: 8.605 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005671/0.008322, allocations: 486.7 kB / 324.7 MB, free: 8.129 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003849/0.008707, allocations: 355.1 kB / 325 MB, free: 7.781 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.483e-05/0.008762, allocations: 36 kB / 325.1 MB, free: 7.746 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.385e-05/0.008826, allocations: 40 kB / 325.1 MB, free: 7.707 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001636/0.008989, allocations: 243.4 kB / 325.3 MB, free: 7.469 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001476/0.009137, allocations: 195.6 kB / 325.5 MB, free: 7.277 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003473/0.009484, allocations: 434.5 kB / 326 MB, free: 6.852 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.502e-06/0.009486, allocations: 0 / 326 MB, free: 6.852 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.009487, allocations: 0 / 326 MB, free: 6.852 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.944e-06/0.009493, allocations: 0 / 326 MB, free: 6.852 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.0008301/0.01032, allocations: 0.7261 MB / 326.7 MB, free: 6.102 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.014e-05/0.01035, allocations: 11.98 kB / 326.7 MB, free: 6.09 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.034e-05/0.01043, allocations: 68.88 kB / 326.8 MB, free: 6.023 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000459/0.01089, allocations: 412.2 kB / 327.2 MB, free: 5.598 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.01091, allocations: 25.03 kB / 327.2 MB, free: 5.57 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.166e-05/0.01097, allocations: 43.88 kB / 327.2 MB, free: 5.527 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000331/0.0113, allocations: 348 kB / 327.6 MB, free: 5.148 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.01131, allocations: 0 / 327.6 MB, free: 5.148 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.163e-05/0.01133, allocations: 12 kB / 327.6 MB, free: 5.137 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001147/0.01144, allocations: 24.64 kB / 327.6 MB, free: 5.113 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000149/0.01159, allocations: 123.2 kB / 327.7 MB, free: 4.996 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001226/0.01282, allocations: 1.328 MB / 329.1 MB, free: 3.617 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003372/0.01316, allocations: 234.5 kB / 329.3 MB, free: 3.367 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002022/0.01336, allocations: 141.7 kB / 329.4 MB, free: 3.223 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.01338, allocations: 8 kB / 329.4 MB, free: 3.215 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.0134, allocations: 34.56 kB / 329.5 MB, free: 3.172 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 1.543e-06/0.01341, allocations: 0 / 329.5 MB, free: 3.172 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.001217/0.01462, allocations: 0.6438 MB / 330.1 MB, free: 2.492 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/0.01466, allocations: 81.11 kB / 330.2 MB, free: 2.395 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001907/0.01485, allocations: 331.2 kB / 330.5 MB, free: 2.059 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/0.01488, allocations: 37.83 kB / 330.6 MB, free: 2.016 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.824e-05/0.01498, allocations: 213.6 kB / 330.8 MB, free: 1.801 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.189e-05/0.01505, allocations: 138.8 kB / 330.9 MB, free: 1.664 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.79e-05/0.01514, allocations: 90.14 kB / 331 MB, free: 1.57 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.01524, allocations: 354.7 kB / 331.3 MB, free: 1.215 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.833e-05/0.01532, allocations: 51.81 kB / 331.4 MB, free: 1.16 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/0.01545, allocations: 162.9 kB / 331.5 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000249/0.0157, allocations: 251.4 kB / 331.8 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.0157, allocations: 0 / 331.8 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.000496/0.01619, allocations: 390.7 kB / 332.2 MB, free: 280 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.01621, allocations: 11.94 kB / 332.2 MB, free: 268 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.01621, allocations: 416 / 332.2 MB, free: 268 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003719/0.01659, allocations: 155.2 kB / 332.3 MB, free: 104 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/0.01674, allocations: 79.89 kB / 332.4 MB, free: 24 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001989/0.01873, allocations: 3.288 MB / 335.7 MB, free: 12.55 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001318/0.01886, allocations: 43.67 kB / 335.7 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.987e-05/0.01888, allocations: 16.06 kB / 335.8 MB, free: 12.49 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * 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 {(1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001322/0.01902, allocations: 132.6 kB / 335.9 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.213e-05/0.01907, allocations: 39.95 kB / 335.9 MB, free: 12.31 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004593/0.01953, allocations: 398.5 kB / 336.3 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.01953, allocations: 4 kB / 336.3 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.01954, allocations: 4 kB / 336.3 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.01954, allocations: 7.984 kB / 336.3 MB, free: 11.87 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002433/0.01978, allocations: 225.8 kB / 336.5 MB, free: 11.63 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.01979, allocations: 3.938 kB / 336.6 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.795e-05/0.01987, allocations: 39.97 kB / 336.6 MB, free: 11.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004926/0.02037, allocations: 253.3 kB / 336.8 MB, free: 11.31 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.51e-05/0.0204, allocations: 31.97 kB / 336.9 MB, free: 11.28 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00257/0.02297, allocations: 4.893 MB / 341.8 MB, free: 5.984 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.02297, allocations: 0 / 341.8 MB, free: 5.984 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005579/0.02353, allocations: 0.5716 MB / 342.3 MB, free: 5.359 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.506e-05/0.02356, allocations: 47.58 kB / 342.4 MB, free: 5.312 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.462e-05/0.02361, allocations: 27.98 kB / 342.4 MB, free: 5.285 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.02371, allocations: 8.094 kB / 342.4 MB, free: 5.277 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.041e-05/0.02378, allocations: 39.86 kB / 342.5 MB, free: 5.238 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.0238, allocations: 15.92 kB / 342.5 MB, free: 5.223 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.492e-05/0.02389, allocations: 128.7 kB / 342.6 MB, free: 5.094 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02389, allocations: 0 / 342.6 MB, free: 5.094 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000381/0.02427, allocations: 167.9 kB / 342.8 MB, free: 4.93 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 14 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001154/0.02439, allocations: 100.3 kB / 342.9 MB, free: 4.824 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005901/0.02498, allocations: 0.4948 MB / 343.4 MB, free: 4.297 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.882e-06/0.02499, allocations: 4 kB / 343.4 MB, free: 4.293 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005406/0.02553, allocations: 0.6546 MB / 344 MB, free: 3.574 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003649/0.02589, allocations: 120.2 kB / 344.1 MB, free: 3.461 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001732/0.02762, allocations: 1.059 MB / 345.2 MB, free: 2.363 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001006/0.02772, allocations: 141.7 kB / 345.3 MB, free: 2.203 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001311/0.02786, allocations: 60.34 kB / 345.4 MB, free: 2.145 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001661/0.02802, allocations: 139.3 kB / 345.5 MB, free: 2.008 MB / 314.7 MB Notification: Performance of SimCode: time 5.41e-07/0.02802, allocations: 0 / 345.5 MB, free: 2.008 MB / 314.7 MB Notification: Performance of Templates: time 0.009596/0.03762, allocations: 8.456 MB / 354 MB, free: 9.699 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Line.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.1408886527642608]