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.001359/0.001359, allocations: 84.23 kB / 20.68 MB, free: 1.027 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.001404/0.001404, allocations: 171.4 kB / 23.96 MB, free: 4.148 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.4/1.4, allocations: 177.1 MB / 204.3 MB, free: 9.168 MB / 190.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.1715/0.1715, allocations: 29.44 MB / 290.1 MB, free: 3.266 MB / 270.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.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.363e-06/1.363e-06, allocations: 0 / 430.7 MB, free: 1.93 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.795e-05/2.932e-05, allocations: 2.281 kB / 430.7 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.006354/0.006383, allocations: 4.744 MB / 435.5 MB, free: 13.15 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002123/0.008506, allocations: 1.235 MB / 436.7 MB, free: 11.91 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001896/0.008696, allocations: 23.81 kB / 436.7 MB, free: 11.89 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004613/0.009157, allocations: 123 kB / 436.8 MB, free: 11.77 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006993/0.009856, allocations: 342.1 kB / 437.2 MB, free: 11.43 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004321/0.01029, allocations: 167.6 kB / 437.3 MB, free: 11.27 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007536/0.01104, allocations: 0.6928 MB / 438 MB, free: 10.57 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002026/0.01124, allocations: 100.7 kB / 438.1 MB, free: 10.47 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005581/0.0118, allocations: 398.8 kB / 438.5 MB, free: 10.08 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006306/0.01243, allocations: 423 kB / 438.9 MB, free: 9.668 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.571e-05/0.01253, allocations: 44 kB / 439 MB, free: 9.625 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.01265, allocations: 52 kB / 439 MB, free: 9.574 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002771/0.01292, allocations: 247.3 kB / 439.3 MB, free: 9.332 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002681/0.01319, allocations: 203.5 kB / 439.5 MB, free: 9.133 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006958/0.01389, allocations: 0.6037 MB / 440.1 MB, free: 8.527 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.01389, allocations: 0 / 440.1 MB, free: 8.527 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.01389, allocations: 0 / 440.1 MB, free: 8.527 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.203e-06/0.0139, allocations: 0 / 440.1 MB, free: 8.527 MB / 366.1 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.001879/0.01578, allocations: 0.8917 MB / 441 MB, free: 7.602 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.01581, allocations: 15.92 kB / 441 MB, free: 7.586 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/0.01593, allocations: 56.61 kB / 441 MB, free: 7.531 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001177/0.0171, allocations: 0.5494 MB / 441.6 MB, free: 6.953 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.762e-05/0.01713, allocations: 29.02 kB / 441.6 MB, free: 6.926 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.446e-05/0.01723, allocations: 43.94 kB / 441.7 MB, free: 6.883 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008552/0.01808, allocations: 0.548 MB / 442.2 MB, free: 6.305 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.01809, allocations: 0 / 442.2 MB, free: 6.305 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.355e-05/0.01814, allocations: 12 kB / 442.2 MB, free: 6.293 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000327/0.01846, allocations: 88.52 kB / 442.3 MB, free: 6.207 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005741/0.01904, allocations: 358.3 kB / 442.6 MB, free: 5.855 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002873/0.02191, allocations: 1.872 MB / 444.5 MB, free: 3.922 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009488/0.02286, allocations: 385 kB / 444.9 MB, free: 3.527 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006325/0.02349, allocations: 320.5 kB / 445.2 MB, free: 3.211 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.602e-05/0.02352, allocations: 4 kB / 445.2 MB, free: 3.207 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.93e-05/0.02356, allocations: 38.56 kB / 445.3 MB, free: 3.16 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 1.623e-06/0.02356, allocations: 0 / 445.3 MB, free: 3.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=33): time 0.004457/0.02802, allocations: 1.956 MB / 447.2 MB, free: 1.145 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.9e-05/0.02808, allocations: 81.11 kB / 447.3 MB, free: 1.047 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004225/0.0285, allocations: 373.6 kB / 447.7 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.169e-05/0.02854, allocations: 33.7 kB / 447.7 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000199/0.02874, allocations: 252.6 kB / 447.9 MB, free: 396 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001374/0.02888, allocations: 151 kB / 448.1 MB, free: 244 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001608/0.02904, allocations: 102.1 kB / 448.2 MB, free: 136 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.1733/0.2024, allocations: 358 kB / 448.5 MB, free: 29.86 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00047/0.2028, allocations: 243.1 kB / 448.8 MB, free: 29.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003801/0.2032, allocations: 366.2 kB / 449.1 MB, free: 29.74 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007227/0.2039, allocations: 0.6139 MB / 449.7 MB, free: 29.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.204, allocations: 1.062 kB / 449.7 MB, free: 29.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001706/0.2057, allocations: 1.015 MB / 450.8 MB, free: 29.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.2057, allocations: 7.062 kB / 450.8 MB, free: 29.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.2057, allocations: 4.641 kB / 450.8 MB, free: 29.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009991/0.2067, allocations: 410.4 kB / 451.2 MB, free: 29.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003082/0.207, allocations: 87.56 kB / 451.3 MB, free: 29.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004588/0.2116, allocations: 4.848 MB / 456.1 MB, free: 25.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004058/0.212, allocations: 44.66 kB / 456.1 MB, free: 25.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.096e-05/0.212, allocations: 19.78 kB / 456.2 MB, free: 25.95 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (48): * Single equations (assignments): 46 * 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.0002705/0.2123, allocations: 200.1 kB / 456.4 MB, free: 25.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.79e-05/0.2124, allocations: 44 kB / 456.4 MB, free: 25.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001499/0.2139, allocations: 0.8315 MB / 457.2 MB, free: 25.49 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.2139, allocations: 4.188 kB / 457.2 MB, free: 25.49 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.2139, allocations: 3.734 kB / 457.2 MB, free: 25.49 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.2139, allocations: 4.109 kB / 457.2 MB, free: 25.49 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001871/0.2158, allocations: 1.285 MB / 458.5 MB, free: 24.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.2158, allocations: 1.219 kB / 458.5 MB, free: 24.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001797/0.2159, allocations: 44.86 kB / 458.6 MB, free: 24.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001211/0.2172, allocations: 434.3 kB / 459 MB, free: 24.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.61e-05/0.2172, allocations: 34.59 kB / 459 MB, free: 24.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004229/0.2215, allocations: 6.201 MB / 465.2 MB, free: 19.65 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.2215, allocations: 1.094 kB / 465.2 MB, free: 19.65 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001652/0.2231, allocations: 1.119 MB / 466.4 MB, free: 19.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.981e-05/0.2232, allocations: 41.3 kB / 466.4 MB, free: 19.15 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.789e-05/0.2233, allocations: 37.91 kB / 466.4 MB, free: 19.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003017/0.2236, allocations: 38.84 kB / 466.5 MB, free: 19.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.2237, allocations: 36.7 kB / 466.5 MB, free: 19.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.535e-05/0.2237, allocations: 19.33 kB / 466.5 MB, free: 19.13 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002762/0.224, allocations: 253.8 kB / 466.8 MB, free: 19 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.224, allocations: 1.375 kB / 466.8 MB, free: 19 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000695/0.2247, allocations: 153.9 kB / 466.9 MB, free: 18.99 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (29): * Single equations (assignments): 21 * 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.000174/0.2249, allocations: 121.5 kB / 467 MB, free: 18.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001527/0.2264, allocations: 0.8811 MB / 467.9 MB, free: 18.51 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2264, allocations: 0 / 467.9 MB, free: 18.51 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001275/0.2277, allocations: 0.8514 MB / 468.8 MB, free: 17.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006733/0.2284, allocations: 122.2 kB / 468.9 MB, free: 17.92 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002095/0.2304, allocations: 1.546 MB / 470.4 MB, free: 17.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002755/0.2307, allocations: 281 kB / 470.7 MB, free: 16.96 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001985/0.2309, allocations: 72 kB / 470.8 MB, free: 16.94 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.8e-05/0.231, allocations: 34.97 kB / 470.8 MB, free: 16.93 MB / 366.1 MB Notification: Performance of SimCode: time 4.1e-07/0.231, allocations: 0 / 470.8 MB, free: 16.93 MB / 366.1 MB Notification: Performance of Templates: time 0.01216/0.2432, allocations: 7.99 MB / 478.8 MB, free: 13.14 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.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: 4.86132138594985]