Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.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.0008075/0.0008075, 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.003341/0.003341, allocations: 160.7 kB / 24.7 MB, free: 9.43 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.8765/0.8765, allocations: 177.1 MB / 205 MB, free: 5.723 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.208/0.208, allocations: 29.41 MB / 290.9 MB, free: 2.426 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.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") translateModel(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 431.5 MB, free: 13.08 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.114e-05/2.264e-05, allocations: 2.281 kB / 431.5 MB, free: 13.07 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.004299/0.004321, allocations: 4.581 MB / 436.1 MB, free: 8.465 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001311/0.005633, allocations: 1.281 MB / 437.3 MB, free: 7.18 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001454/0.005778, allocations: 23.75 kB / 437.4 MB, free: 7.156 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006954/0.006474, allocations: 393.1 kB / 437.7 MB, free: 6.773 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003193/0.006793, allocations: 254.4 kB / 438 MB, free: 6.523 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000262/0.007055, allocations: 175.5 kB / 438.2 MB, free: 6.352 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000427/0.007482, allocations: 0.5643 MB / 438.7 MB, free: 5.785 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000322/0.007804, allocations: 262.1 kB / 439 MB, free: 5.523 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003213/0.008125, allocations: 354.9 kB / 439.3 MB, free: 5.176 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002448/0.00837, allocations: 259.2 kB / 439.6 MB, free: 4.922 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.459e-05/0.008405, allocations: 32 kB / 439.6 MB, free: 4.891 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000181/0.008586, allocations: 127.7 kB / 439.7 MB, free: 4.766 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001236/0.008709, allocations: 195.5 kB / 439.9 MB, free: 4.574 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000109/0.008818, allocations: 155.6 kB / 440.1 MB, free: 4.422 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004053/0.009224, allocations: 0.5257 MB / 440.6 MB, free: 3.895 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.009226, allocations: 0 / 440.6 MB, free: 3.895 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.009227, allocations: 3.938 kB / 440.6 MB, free: 3.891 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.009233, allocations: 4 kB / 440.6 MB, free: 3.887 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0007223/0.009955, allocations: 0.6504 MB / 441.3 MB, free: 3.203 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.009989, allocations: 15.98 kB / 441.3 MB, free: 3.188 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003494/0.01034, allocations: 88.55 kB / 441.4 MB, free: 3.102 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004183/0.01076, allocations: 352 kB / 441.7 MB, free: 2.727 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.01077, allocations: 25.38 kB / 441.7 MB, free: 2.699 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.758e-05/0.01086, allocations: 48.69 kB / 441.8 MB, free: 2.652 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004403/0.0113, allocations: 484.9 kB / 442.3 MB, free: 2.156 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.01132, allocations: 4 kB / 442.3 MB, free: 2.152 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.61e-05/0.01134, allocations: 16 kB / 442.3 MB, free: 2.137 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.404e-05/0.0114, allocations: 24.98 kB / 442.3 MB, free: 2.109 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006058/0.012, allocations: 347.7 kB / 442.6 MB, free: 1.773 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00122/0.01322, allocations: 1.402 MB / 444 MB, free: 312 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002315/0.01345, allocations: 161.1 kB / 444.2 MB, free: 132 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.01356, allocations: 105.7 kB / 444.3 MB, free: 20 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/0.01358, allocations: 4 kB / 444.3 MB, free: 16 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1576/0.1712, allocations: 37.12 kB / 444.3 MB, free: 54.79 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 2.965e-06/0.1712, allocations: 0 / 444.3 MB, free: 54.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.001019/0.1722, allocations: 0.7154 MB / 445.1 MB, free: 54.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.901e-05/0.1722, allocations: 80.95 kB / 445.1 MB, free: 54.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/0.1724, allocations: 307.6 kB / 445.4 MB, free: 54.37 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.1724, allocations: 29.02 kB / 445.5 MB, free: 54.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.613e-05/0.1725, allocations: 256.3 kB / 445.7 MB, free: 54.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.171e-05/0.1725, allocations: 78.12 kB / 445.8 MB, free: 54.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.571e-05/0.1726, allocations: 62.34 kB / 445.9 MB, free: 54.14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.491e-05/0.1726, allocations: 342.6 kB / 446.2 MB, free: 53.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.798e-05/0.1727, allocations: 96.66 kB / 446.3 MB, free: 53.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.1728, allocations: 203.9 kB / 446.5 MB, free: 53.63 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002171/0.173, allocations: 324.9 kB / 446.8 MB, free: 53.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.173, allocations: 0 / 446.8 MB, free: 53.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004327/0.1734, allocations: 430.5 kB / 447.2 MB, free: 53.26 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.1734, allocations: 6.438 kB / 447.2 MB, free: 53.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002528/0.1737, allocations: 264.7 kB / 447.5 MB, free: 53.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00019/0.1739, allocations: 79.09 kB / 447.6 MB, free: 53.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.174, allocations: 59.97 kB / 447.6 MB, free: 53.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007432/0.1748, allocations: 1.591 MB / 449.2 MB, free: 51.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.723e-05/0.1748, allocations: 14.02 kB / 449.2 MB, free: 51.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.1749, allocations: 16.31 kB / 449.2 MB, free: 51.78 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 (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000127/0.175, allocations: 191.5 kB / 449.4 MB, free: 51.63 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.643e-05/0.175, allocations: 28.5 kB / 449.5 MB, free: 51.62 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002347/0.1752, allocations: 265.2 kB / 449.7 MB, free: 51.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1752, allocations: 7.188 kB / 449.7 MB, free: 51.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.033e-06/0.1753, allocations: 0 / 449.7 MB, free: 51.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1753, allocations: 7.062 kB / 449.7 MB, free: 51.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005293/0.1758, allocations: 0.6305 MB / 450.4 MB, free: 51.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1758, allocations: 3.344 kB / 450.4 MB, free: 51.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001239/0.1759, allocations: 44.95 kB / 450.4 MB, free: 51.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.1759, allocations: 4.359 kB / 450.4 MB, free: 51.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.1759, allocations: 13.28 kB / 450.4 MB, free: 51.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.1759, allocations: 7 kB / 450.4 MB, free: 51.11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.1759, allocations: 3.938 kB / 450.4 MB, free: 51.1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002702/0.1762, allocations: 447.2 kB / 450.9 MB, free: 50.84 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.421e-05/0.1762, allocations: 35.3 kB / 450.9 MB, free: 50.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.109e-05/0.1762, allocations: 15.05 kB / 450.9 MB, free: 50.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.231e-05/0.1763, allocations: 3.031 kB / 450.9 MB, free: 50.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.373e-05/0.1763, allocations: 20.38 kB / 450.9 MB, free: 50.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.1764, allocations: 6.188 kB / 451 MB, free: 50.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.952e-05/0.1765, allocations: 215 kB / 451.2 MB, free: 50.68 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1765, allocations: 0 / 451.2 MB, free: 50.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002247/0.1767, allocations: 86.75 kB / 451.2 MB, free: 50.68 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * 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 (23): * Single equations (assignments): 22 * 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 7.009e-05/0.1767, allocations: 99.84 kB / 451.3 MB, free: 50.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003426/0.1771, allocations: 362 kB / 451.7 MB, free: 50.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1771, allocations: 4 kB / 451.7 MB, free: 50.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.118e-05/0.1772, allocations: 98.06 kB / 451.8 MB, free: 50.37 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002996/0.1775, allocations: 80.55 kB / 451.9 MB, free: 50.35 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007551/0.1782, allocations: 0.8831 MB / 452.8 MB, free: 49.84 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001229/0.1783, allocations: 245.4 kB / 453 MB, free: 49.73 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.421e-05/0.1784, allocations: 34.75 kB / 453 MB, free: 49.73 MB / 410.7 MB Notification: Performance of SimCode: time 6.91e-07/0.1784, allocations: 0 / 453 MB, free: 49.73 MB / 410.7 MB Notification: Performance of Templates: time 0.003989/0.1824, allocations: 5.501 MB / 458.5 MB, free: 49.3 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.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.991219253279269]