Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.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.0007838/0.0007838, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.003173/0.003173, allocations: 162.4 kB / 24.7 MB, free: 8.91 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.8265/0.8265, allocations: 177.1 MB / 205 MB, free: 5.715 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.2077/0.2077, 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.Generation.TurbineGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|generator.powerAngle|sensor.p.1.|sensor.p.2.|sensor.p.3.|sensor1.p.1.|sensor1.p.2.|sensor1.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator") translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|generator.powerAngle|sensor.p.1.|sensor.p.2.|sensor.p.3.|sensor1.p.1.|sensor1.p.2.|sensor1.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 431.5 MB, free: 13.11 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.292e-05/2.442e-05, allocations: 2.281 kB / 431.5 MB, free: 13.11 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.005896/0.005921, allocations: 7.098 MB / 438.6 MB, free: 5.977 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00372/0.009641, allocations: 2.828 MB / 441.4 MB, free: 3.141 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005259/0.01017, allocations: 35.69 kB / 441.4 MB, free: 3.105 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001264/0.01143, allocations: 0.7104 MB / 442.2 MB, free: 2.395 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001749/0.01318, allocations: 0.7303 MB / 442.9 MB, free: 1.66 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008748/0.01405, allocations: 390.9 kB / 443.3 MB, free: 1.277 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1505/0.1645, allocations: 1.395 MB / 444.7 MB, free: 44.05 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007986/0.1653, allocations: 0.5459 MB / 445.2 MB, free: 44.01 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007476/0.1661, allocations: 0.7587 MB / 446 MB, free: 44.01 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005512/0.1666, allocations: 0.5928 MB / 446.6 MB, free: 44.01 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.708e-05/0.1667, allocations: 74.88 kB / 446.6 MB, free: 44.01 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000565/0.1673, allocations: 0.4931 MB / 447.1 MB, free: 44.01 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000231/0.1675, allocations: 472.8 kB / 447.6 MB, free: 43.98 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002164/0.1677, allocations: 362.8 kB / 447.9 MB, free: 43.95 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009866/0.1687, allocations: 1.449 MB / 449.4 MB, free: 43.86 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1687, allocations: 1.281 kB / 449.4 MB, free: 43.86 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1687, allocations: 0 / 449.4 MB, free: 43.86 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.383e-05/0.1687, allocations: 0 / 449.4 MB, free: 43.86 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.001288/0.17, allocations: 1.226 MB / 450.6 MB, free: 43.23 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.17, allocations: 9.344 kB / 450.6 MB, free: 43.23 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006371/0.1707, allocations: 226.8 kB / 450.9 MB, free: 43.17 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007587/0.1714, allocations: 0.6677 MB / 451.5 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.768e-05/0.1715, allocations: 63.3 kB / 451.6 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001389/0.1716, allocations: 98.41 kB / 451.7 MB, free: 42.92 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000838/0.1724, allocations: 1.102 MB / 452.8 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.195e-05/0.1725, allocations: 3.312 kB / 452.8 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.236e-05/0.1725, allocations: 34.62 kB / 452.8 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.203e-05/0.1726, allocations: 67.89 kB / 452.9 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007638/0.1734, allocations: 0.8683 MB / 453.8 MB, free: 42.74 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002463/0.1758, allocations: 3.513 MB / 457.3 MB, free: 40.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000366/0.1762, allocations: 339.9 kB / 457.6 MB, free: 40.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002014/0.1764, allocations: 258 kB / 457.8 MB, free: 40.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.1764, allocations: 7.594 kB / 457.9 MB, free: 40.56 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.732e-05/0.1764, allocations: 41.78 kB / 457.9 MB, free: 40.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=48): time 1.803e-06/0.1764, allocations: 0 / 457.9 MB, free: 40.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=51): time 0.00161/0.178, allocations: 1.662 MB / 459.6 MB, free: 39.69 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.1781, allocations: 84.8 kB / 459.6 MB, free: 39.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003233/0.1784, allocations: 0.5338 MB / 460.2 MB, free: 39.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.1784, allocations: 41.08 kB / 460.2 MB, free: 39.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001342/0.1786, allocations: 487.7 kB / 460.7 MB, free: 38.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.547e-05/0.1786, allocations: 198 kB / 460.9 MB, free: 38.76 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.1787, allocations: 132.2 kB / 461 MB, free: 38.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.356e-05/0.1788, allocations: 376.6 kB / 461.4 MB, free: 38.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002173/0.179, allocations: 253.6 kB / 461.6 MB, free: 38.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002613/0.1793, allocations: 477.9 kB / 462.1 MB, free: 37.93 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005276/0.1798, allocations: 0.779 MB / 462.9 MB, free: 37.45 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1798, allocations: 0 / 462.9 MB, free: 37.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.00105/0.1809, allocations: 1.031 MB / 463.9 MB, free: 37.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.1809, allocations: 10.19 kB / 463.9 MB, free: 37.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006746/0.1815, allocations: 0.7137 MB / 464.6 MB, free: 36.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003813/0.1819, allocations: 222.5 kB / 464.8 MB, free: 36.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002632/0.1822, allocations: 156 kB / 465 MB, free: 36.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00259/0.1848, allocations: 5.26 MB / 470.3 MB, free: 32.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002604/0.185, allocations: 35.66 kB / 470.3 MB, free: 32.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.689e-05/0.1851, allocations: 37.41 kB / 470.3 MB, free: 32.53 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.000264/0.1853, allocations: 300.1 kB / 470.6 MB, free: 32.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.223e-05/0.1854, allocations: 66.45 kB / 470.7 MB, free: 32.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005115/0.1859, allocations: 0.6056 MB / 471.3 MB, free: 32.05 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.1859, allocations: 9.969 kB / 471.3 MB, free: 32.05 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.1859, allocations: 4 kB / 471.3 MB, free: 32.05 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.1859, allocations: 7.875 kB / 471.3 MB, free: 32.04 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/0.1871, allocations: 1.286 MB / 472.6 MB, free: 31.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.1871, allocations: 7.062 kB / 472.6 MB, free: 31.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002998/0.1874, allocations: 129.3 kB / 472.7 MB, free: 31.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.1874, allocations: 2.844 kB / 472.7 MB, free: 31.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/0.1874, allocations: 16.34 kB / 472.8 MB, free: 31.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.1874, allocations: 6.125 kB / 472.8 MB, free: 31.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.1874, allocations: 2.75 kB / 472.8 MB, free: 31.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006329/0.188, allocations: 0.9248 MB / 473.7 MB, free: 30.96 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001165/0.1882, allocations: 101 kB / 473.8 MB, free: 30.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.138e-05/0.1882, allocations: 24.5 kB / 473.8 MB, free: 30.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.1883, allocations: 22.11 kB / 473.8 MB, free: 30.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.607e-05/0.1884, allocations: 37.55 kB / 473.9 MB, free: 30.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.1884, allocations: 9.344 kB / 473.9 MB, free: 30.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002079/0.1886, allocations: 367.1 kB / 474.2 MB, free: 30.72 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1886, allocations: 0 / 474.2 MB, free: 30.72 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005118/0.1891, allocations: 236.9 kB / 474.5 MB, free: 30.69 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (turboGrp.phi,turboGrp.w,generator.i_s[1],generator.i_s[2],generator.i_s[3],RLgen1.i[1],RLgen1.i[2],RLgen1.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 (54): * Single equations (assignments): 53 * 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 0.0002184/0.1893, allocations: 137 kB / 474.6 MB, free: 30.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008321/0.1902, allocations: 1.018 MB / 475.6 MB, free: 30.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1902, allocations: 3.188 kB / 475.6 MB, free: 30.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001944/0.1904, allocations: 249.9 kB / 475.9 MB, free: 29.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000451/0.1908, allocations: 147 kB / 476 MB, free: 29.93 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001649/0.1925, allocations: 1.942 MB / 478 MB, free: 28.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002748/0.1927, allocations: 488.9 kB / 478.4 MB, free: 28.74 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001109/0.1928, allocations: 57.77 kB / 478.5 MB, free: 28.73 MB / 410.7 MB Notification: Performance of SimCode: time 8.62e-07/0.1928, allocations: 0 / 478.5 MB, free: 28.73 MB / 410.7 MB Notification: Performance of Templates: time 0.01463/0.2075, allocations: 15.56 MB / 494.1 MB, free: 27.28 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.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.0052779745310545]