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.0008667/0.0008667, allocations: 91.61 kB / 21.44 MB, free: 3.098 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.001259/0.001259, allocations: 158.1 kB / 24.7 MB, free: 9.438 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.8473/0.8473, allocations: 177.2 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.2346/0.2346, allocations: 29.41 MB / 290.9 MB, free: 2.434 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.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.843e-06/1.843e-06, allocations: 0 / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.692e-05/2.876e-05, allocations: 2.281 kB / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.00615/0.006179, allocations: 4.742 MB / 436.2 MB, free: 8.32 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001479/0.007658, allocations: 1.239 MB / 437.5 MB, free: 7.078 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002131/0.007871, allocations: 23.81 kB / 437.5 MB, free: 7.055 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003783/0.008249, allocations: 119 kB / 437.6 MB, free: 6.938 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005552/0.008804, allocations: 346.1 kB / 437.9 MB, free: 6.598 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003684/0.009173, allocations: 171.6 kB / 438.1 MB, free: 6.43 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005636/0.009736, allocations: 0.6928 MB / 438.8 MB, free: 5.734 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001865/0.009923, allocations: 96.67 kB / 438.9 MB, free: 5.637 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004761/0.0104, allocations: 410.7 kB / 439.3 MB, free: 5.234 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004378/0.01084, allocations: 423 kB / 439.7 MB, free: 4.82 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.406e-05/0.01089, allocations: 48 kB / 439.8 MB, free: 4.773 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.653e-05/0.01096, allocations: 48 kB / 439.8 MB, free: 4.727 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000161/0.01112, allocations: 247.3 kB / 440 MB, free: 4.484 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001443/0.01126, allocations: 203.5 kB / 440.2 MB, free: 4.285 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004568/0.01172, allocations: 0.6075 MB / 440.8 MB, free: 3.676 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.01172, allocations: 0 / 440.8 MB, free: 3.676 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.01172, allocations: 4 kB / 440.9 MB, free: 3.672 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.166e-05/0.01174, allocations: 0 / 440.9 MB, free: 3.672 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001179/0.01291, allocations: 0.88 MB / 441.7 MB, free: 2.762 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.01295, allocations: 15.98 kB / 441.7 MB, free: 2.746 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.769e-05/0.01304, allocations: 56.61 kB / 441.8 MB, free: 2.691 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007046/0.01374, allocations: 0.5455 MB / 442.3 MB, free: 2.117 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/0.01376, allocations: 29.03 kB / 442.4 MB, free: 2.09 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.406e-05/0.01383, allocations: 51.89 kB / 442.4 MB, free: 2.039 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005178/0.01434, allocations: 0.548 MB / 443 MB, free: 1.461 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.01435, allocations: 0 / 443 MB, free: 1.461 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.742e-05/0.01438, allocations: 15.98 kB / 443 MB, free: 1.445 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001768/0.01456, allocations: 88.53 kB / 443.1 MB, free: 1.359 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000375/0.01493, allocations: 354.3 kB / 443.4 MB, free: 1.012 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1448/0.1597, allocations: 1.869 MB / 445.3 MB, free: 49.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005209/0.1603, allocations: 374.8 kB / 445.7 MB, free: 49.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003181/0.1606, allocations: 315.1 kB / 446 MB, free: 49.66 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.1606, allocations: 8.453 kB / 446 MB, free: 49.66 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.655e-05/0.1606, allocations: 40.09 kB / 446 MB, free: 49.62 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 4.99e-06/0.1606, allocations: 0 / 446 MB, free: 49.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.002223/0.1629, allocations: 1.95 MB / 448 MB, free: 49.33 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/0.1629, allocations: 84.34 kB / 448 MB, free: 49.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002027/0.1631, allocations: 378.6 kB / 448.4 MB, free: 49.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.1631, allocations: 31.83 kB / 448.4 MB, free: 49.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.316e-05/0.1632, allocations: 256.3 kB / 448.7 MB, free: 48.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.312e-05/0.1632, allocations: 139.7 kB / 448.8 MB, free: 48.89 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.998e-05/0.1633, allocations: 99.19 kB / 448.9 MB, free: 48.87 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.478e-05/0.1634, allocations: 356.1 kB / 449.3 MB, free: 48.56 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001873/0.1636, allocations: 249.4 kB / 449.5 MB, free: 48.56 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002195/0.1638, allocations: 363.7 kB / 449.9 MB, free: 48.44 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004213/0.1642, allocations: 0.619 MB / 450.5 MB, free: 48.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1642, allocations: 3.156 kB / 450.5 MB, free: 48.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0008444/0.165, allocations: 1.005 MB / 451.5 MB, free: 48.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.1651, allocations: 12.84 kB / 451.5 MB, free: 48.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1651, allocations: 3.25 kB / 451.5 MB, free: 48.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004912/0.1656, allocations: 406.5 kB / 451.9 MB, free: 48.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.1657, allocations: 90.22 kB / 452 MB, free: 48.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00235/0.1681, allocations: 4.852 MB / 456.9 MB, free: 44.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001557/0.1682, allocations: 41.39 kB / 456.9 MB, free: 44.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.924e-05/0.1682, allocations: 18.25 kB / 456.9 MB, free: 44.89 MB / 410.7 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.0001329/0.1684, allocations: 203.6 kB / 457.1 MB, free: 44.75 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.149e-05/0.1684, allocations: 46.31 kB / 457.2 MB, free: 44.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007/0.1691, allocations: 0.8245 MB / 458 MB, free: 44.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.1691, allocations: 5.562 kB / 458 MB, free: 44.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.1691, allocations: 4.656 kB / 458 MB, free: 44.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1691, allocations: 3.375 kB / 458 MB, free: 44.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000989/0.1701, allocations: 1.278 MB / 459.3 MB, free: 43.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1701, allocations: 0 / 459.3 MB, free: 43.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.542e-05/0.1702, allocations: 46.83 kB / 459.3 MB, free: 43.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005192/0.1707, allocations: 443.1 kB / 459.8 MB, free: 43.76 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.31e-05/0.1707, allocations: 38.39 kB / 459.8 MB, free: 43.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002/0.1727, allocations: 6.193 MB / 466 MB, free: 38.58 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1727, allocations: 0 / 466 MB, free: 38.58 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008337/0.1736, allocations: 1.122 MB / 467.1 MB, free: 38.11 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.19e-05/0.1736, allocations: 48.14 kB / 467.2 MB, free: 38.08 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.057e-05/0.1737, allocations: 28.06 kB / 467.2 MB, free: 38.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/0.1738, allocations: 36.81 kB / 467.2 MB, free: 38.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.404e-05/0.1738, allocations: 35.06 kB / 467.3 MB, free: 38.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-05/0.1739, allocations: 22.59 kB / 467.3 MB, free: 38.06 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001209/0.174, allocations: 257.5 kB / 467.5 MB, free: 37.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.174, allocations: 0 / 467.5 MB, free: 37.93 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003592/0.1743, allocations: 153.6 kB / 467.7 MB, free: 37.92 MB / 410.7 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.0001/0.1744, allocations: 122 kB / 467.8 MB, free: 37.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007785/0.1752, allocations: 0.8868 MB / 468.7 MB, free: 37.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1752, allocations: 0 / 468.7 MB, free: 37.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000571/0.1758, allocations: 0.842 MB / 469.5 MB, free: 36.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003899/0.1762, allocations: 137.6 kB / 469.7 MB, free: 36.84 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.1775, allocations: 1.589 MB / 471.2 MB, free: 35.96 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001414/0.1776, allocations: 273.6 kB / 471.5 MB, free: 35.86 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.519e-05/0.1777, allocations: 43.17 kB / 471.6 MB, free: 35.85 MB / 410.7 MB Notification: Performance of SimCode: time 5.91e-07/0.1777, allocations: 0 / 471.6 MB, free: 35.85 MB / 410.7 MB Notification: Performance of Templates: time 0.009939/0.1876, allocations: 13.83 MB / 485.4 MB, free: 34.91 MB / 410.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=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: 6.557306065224111]