Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.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.001045/0.001045, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.005193/0.005193, allocations: 163 kB / 24.7 MB, free: 9.426 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.8458/0.8458, allocations: 177.1 MB / 205 MB, free: 5.734 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.2117/0.2117, allocations: 29.41 MB / 290.8 MB, free: 2.438 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.AC3ph.Elementary.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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.AC3ph.Elementary.Line") translateModel(PowerSystems.Examples.AC3ph.Elementary.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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.AC3ph.Elementary.Line") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 431.5 MB, free: 13.11 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.546e-05/2.697e-05, allocations: 2.281 kB / 431.5 MB, free: 13.11 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Line): time 0.004696/0.004723, allocations: 4.983 MB / 436.5 MB, free: 8.098 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001793/0.006516, allocations: 1.679 MB / 438.1 MB, free: 6.414 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000191/0.006707, allocations: 23.81 kB / 438.2 MB, free: 6.391 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007602/0.007467, allocations: 429.9 kB / 438.6 MB, free: 5.969 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003665/0.007833, allocations: 306.1 kB / 438.9 MB, free: 5.668 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000569/0.008402, allocations: 406.7 kB / 439.3 MB, free: 5.27 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000484/0.008886, allocations: 0.7518 MB / 440 MB, free: 4.516 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003498/0.009236, allocations: 306.4 kB / 440.3 MB, free: 4.203 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004015/0.009638, allocations: 442.7 kB / 440.8 MB, free: 3.77 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006405/0.01028, allocations: 443 kB / 441.2 MB, free: 3.336 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.212e-05/0.01033, allocations: 48 kB / 441.2 MB, free: 3.289 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002183/0.01055, allocations: 187.6 kB / 441.4 MB, free: 3.105 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001782/0.01073, allocations: 307.2 kB / 441.7 MB, free: 2.805 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001578/0.01088, allocations: 235.5 kB / 442 MB, free: 2.574 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006038/0.01149, allocations: 0.8335 MB / 442.8 MB, free: 1.738 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.01149, allocations: 0 / 442.8 MB, free: 1.738 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.01149, allocations: 4 kB / 442.8 MB, free: 1.734 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.0115, allocations: 7.938 kB / 442.8 MB, free: 1.727 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.0009973/0.0125, allocations: 0.8531 MB / 443.6 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.01253, allocations: 11.98 kB / 443.7 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005944/0.01312, allocations: 164.4 kB / 443.8 MB, free: 0.668 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006521/0.01377, allocations: 488.5 kB / 444.3 MB, free: 172 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.0138, allocations: 33.38 kB / 444.3 MB, free: 140 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002375/0.01404, allocations: 140.4 kB / 444.5 MB, free: 0 / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1518/0.1659, allocations: 0.8536 MB / 445.3 MB, free: 54.49 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/0.1659, allocations: 1.875 kB / 445.3 MB, free: 54.49 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.351e-05/0.1659, allocations: 19.59 kB / 445.3 MB, free: 54.49 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002147/0.1661, allocations: 72.98 kB / 445.4 MB, free: 54.49 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005226/0.1666, allocations: 0.6257 MB / 446 MB, free: 54.31 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002032/0.1687, allocations: 3.486 MB / 449.5 MB, free: 51.96 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005582/0.1692, allocations: 0.5253 MB / 450.1 MB, free: 51.77 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002349/0.1695, allocations: 315.3 kB / 450.4 MB, free: 51.65 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.729e-05/0.1695, allocations: 10.59 kB / 450.4 MB, free: 51.65 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.435e-05/0.1695, allocations: 41.25 kB / 450.4 MB, free: 51.61 MB / 410.7 MB Notification: Performance of pre-optimization done (n=48): time 1.433e-06/0.1695, allocations: 0.5 kB / 450.4 MB, free: 51.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=49): time 0.001589/0.1711, allocations: 1.779 MB / 452.2 MB, free: 50.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.063e-05/0.1711, allocations: 87.89 kB / 452.3 MB, free: 50.72 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.1713, allocations: 415.5 kB / 452.7 MB, free: 50.52 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/0.1714, allocations: 33.7 kB / 452.7 MB, free: 50.48 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.823e-05/0.1715, allocations: 333.8 kB / 453 MB, free: 50.24 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.063e-05/0.1715, allocations: 213.6 kB / 453.2 MB, free: 50.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.1716, allocations: 150.2 kB / 453.4 MB, free: 50.04 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.583e-05/0.1717, allocations: 368.4 kB / 453.8 MB, free: 49.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002868/0.172, allocations: 376.7 kB / 454.1 MB, free: 49.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003325/0.1723, allocations: 0.5972 MB / 454.7 MB, free: 49.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006955/0.173, allocations: 1.067 MB / 455.8 MB, free: 48.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.173, allocations: 0 / 455.8 MB, free: 48.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002132/0.1751, allocations: 1.977 MB / 457.8 MB, free: 47.95 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.1752, allocations: 13.09 kB / 457.8 MB, free: 47.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.1752, allocations: 6.656 kB / 457.8 MB, free: 47.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001164/0.1763, allocations: 0.9479 MB / 458.7 MB, free: 47.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002009/0.1765, allocations: 118.7 kB / 458.8 MB, free: 47.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005228/0.1818, allocations: 7.869 MB / 466.7 MB, free: 43.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002142/0.182, allocations: 33.83 kB / 466.7 MB, free: 43.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-05/0.182, allocations: 41.47 kB / 466.8 MB, free: 43.41 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (60): * Single equations (assignments): 58 * 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%), (23,12,23.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001837/0.1822, allocations: 254.6 kB / 467 MB, free: 43.24 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.713e-05/0.1822, allocations: 50.84 kB / 467.1 MB, free: 43.21 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006253/0.1829, allocations: 0.7242 MB / 467.8 MB, free: 42.92 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.1829, allocations: 11.61 kB / 467.8 MB, free: 42.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.1829, allocations: 0 / 467.8 MB, free: 42.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.1829, allocations: 3.469 kB / 467.8 MB, free: 42.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001188/0.1841, allocations: 1.354 MB / 469.2 MB, free: 42.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.1841, allocations: 3.438 kB / 469.2 MB, free: 42.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004873/0.1846, allocations: 181.2 kB / 469.4 MB, free: 42.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.1846, allocations: 3.219 kB / 469.4 MB, free: 42.33 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.235e-05/0.1846, allocations: 27.44 kB / 469.4 MB, free: 42.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.1846, allocations: 3.188 kB / 469.4 MB, free: 42.32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.1846, allocations: 3.5 kB / 469.4 MB, free: 42.32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007403/0.1853, allocations: 0.9987 MB / 470.4 MB, free: 41.84 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.067e-05/0.1854, allocations: 53.72 kB / 470.4 MB, free: 41.81 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.688e-05/0.1854, allocations: 29.62 kB / 470.5 MB, free: 41.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/0.1856, allocations: 24.33 kB / 470.5 MB, free: 41.79 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.459e-05/0.1856, allocations: 39.81 kB / 470.5 MB, free: 41.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.159e-05/0.1856, allocations: 14.97 kB / 470.6 MB, free: 41.78 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001372/0.1858, allocations: 273.1 kB / 470.8 MB, free: 41.65 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1858, allocations: 0 / 470.8 MB, free: 41.65 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004076/0.1862, allocations: 209.4 kB / 471 MB, free: 41.63 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 21 (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.v[3,1],line.v[3,2],line.v[3,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],line.i[3,1],line.i[3,2],line.i[3,3],line.i[3,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 (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.578e-05/0.1863, allocations: 132.5 kB / 471.2 MB, free: 41.52 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001218/0.1875, allocations: 1.409 MB / 472.6 MB, free: 40.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1875, allocations: 0 / 472.6 MB, free: 40.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002373/0.1877, allocations: 301.4 kB / 472.9 MB, free: 40.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003947/0.1881, allocations: 130.6 kB / 473 MB, free: 40.78 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001864/0.19, allocations: 2.348 MB / 475.3 MB, free: 39.53 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001978/0.1902, allocations: 387.8 kB / 475.7 MB, free: 39.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.1903, allocations: 49.91 kB / 475.8 MB, free: 39.39 MB / 410.7 MB Notification: Performance of SimCode: time 5.31e-07/0.1903, allocations: 0 / 475.8 MB, free: 39.39 MB / 410.7 MB Notification: Performance of Templates: time 0.009464/0.1998, allocations: 11.77 MB / 487.5 MB, free: 38.51 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Line.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] "" Variables in the reference: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] Variables in the result: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],time [Calling sys.exit(0), Time elapsed: 8.253433370962739]