Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.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.001592/0.001592, allocations: 81.58 kB / 19.18 MB, free: 2.527 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.001803/0.001803, allocations: 164.3 kB / 22.46 MB, free: 5.359 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.413/1.413, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo): time 0.7431/0.7431, allocations: 80.2 MB / 339.4 MB, free: 10.88 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/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(ThermofluidStream.Processes.Tests.Turbine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|turbine.m_flow|turbine1.m_flow|turbine1.omega|turbine1.phi",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine") translateModel(ThermofluidStream.Processes.Tests.Turbine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|turbine.m_flow|turbine1.m_flow|turbine1.omega|turbine1.phi",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 0.4929 GB, free: 25.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.273e-05/2.405e-05, allocations: 5.375 kB / 0.4929 GB, free: 25.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.1613/0.1613, allocations: 130.1 MB / 0.6199 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01497/0.1763, allocations: 10.23 MB / 0.6299 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006237/0.1769, allocations: 35.69 kB / 0.6299 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001053/0.178, allocations: 266 kB / 0.6302 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001935/0.1799, allocations: 0.6132 MB / 0.6308 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002365/0.1823, allocations: 0.7271 MB / 0.6315 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001554/0.1838, allocations: 1.042 MB / 0.6325 GB, free: 116 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003315/0.1841, allocations: 102.2 kB / 0.6326 GB, free: 16 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0014/0.1855, allocations: 0.5571 MB / 0.6332 GB, free: 15.46 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009356/0.1865, allocations: 438.9 kB / 0.6336 GB, free: 15.03 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001674/0.1866, allocations: 59.94 kB / 0.6336 GB, free: 14.97 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002301/0.1889, allocations: 0.9082 MB / 0.6345 GB, free: 14.06 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002561/0.1892, allocations: 163.3 kB / 0.6347 GB, free: 13.9 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004474/0.1896, allocations: 235.4 kB / 0.6349 GB, free: 13.67 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002356/0.192, allocations: 1.161 MB / 0.636 GB, free: 12.5 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.192, allocations: 0 / 0.636 GB, free: 12.5 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.92e-07/0.192, allocations: 0 / 0.636 GB, free: 12.5 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.512e-05/0.192, allocations: 0 / 0.636 GB, free: 12.5 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.002685/0.1947, allocations: 1.014 MB / 0.637 GB, free: 11.46 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.1948, allocations: 10.06 kB / 0.637 GB, free: 11.45 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003149/0.1951, allocations: 88.47 kB / 0.6371 GB, free: 11.36 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009221/0.196, allocations: 463.2 kB / 0.6376 GB, free: 10.88 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001538/0.1961, allocations: 144.4 kB / 0.6377 GB, free: 10.71 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/0.1963, allocations: 56.31 kB / 0.6378 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001438/0.1977, allocations: 0.7138 MB / 0.6385 GB, free: 9.91 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.13e-05/0.1977, allocations: 0 / 0.6385 GB, free: 9.91 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.085e-05/0.1978, allocations: 16 kB / 0.6385 GB, free: 9.895 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.899e-05/0.1978, allocations: 24.94 kB / 0.6385 GB, free: 9.871 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001351/0.1992, allocations: 0.6753 MB / 0.6392 GB, free: 9.195 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004066/0.2032, allocations: 1.916 MB / 0.641 GB, free: 7.238 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001383/0.2046, allocations: 0.5877 MB / 0.6416 GB, free: 6.641 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007047/0.2053, allocations: 323.1 kB / 0.6419 GB, free: 6.324 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001552/0.2069, allocations: 308.2 kB / 0.6422 GB, free: 6.023 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.775e-05/0.2069, allocations: 39 kB / 0.6422 GB, free: 5.977 MB / 0.545 GB Notification: Performance of pre-optimization done (n=62): time 3.066e-06/0.2069, allocations: 4 kB / 0.6422 GB, free: 5.973 MB / 0.545 GB Notification: Performance of matching and sorting (n=64): time 0.004769/0.2117, allocations: 1.957 MB / 0.6442 GB, free: 3.984 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.747e-05/0.2118, allocations: 63.84 kB / 0.6442 GB, free: 3.91 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004676/0.2122, allocations: 366 kB / 0.6446 GB, free: 3.547 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.719e-05/0.2123, allocations: 33.7 kB / 0.6446 GB, free: 3.508 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002234/0.2125, allocations: 261.4 kB / 0.6448 GB, free: 3.25 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002135/0.2127, allocations: 226 kB / 0.6451 GB, free: 3.027 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002207/0.2129, allocations: 118.3 kB / 0.6452 GB, free: 2.902 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002007/0.2131, allocations: 362.8 kB / 0.6455 GB, free: 2.539 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005484/0.2137, allocations: 257.2 kB / 0.6458 GB, free: 2.289 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000612/0.2143, allocations: 333.1 kB / 0.6461 GB, free: 1.941 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001211/0.2155, allocations: 0.6154 MB / 0.6467 GB, free: 1.305 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.2155, allocations: 0 / 0.6467 GB, free: 1.305 MB / 0.545 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001915/0.2174, allocations: 0.8488 MB / 0.6475 GB, free: 456 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.2175, allocations: 14.06 kB / 0.6475 GB, free: 444 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.131e-05/0.2175, allocations: 7.984 kB / 0.6475 GB, free: 436 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004644/0.2179, allocations: 120.8 kB / 0.6477 GB, free: 312 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005277/0.2185, allocations: 115.8 kB / 0.6478 GB, free: 196 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00317/0.2216, allocations: 2.324 MB / 0.65 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003659/0.222, allocations: 19.98 kB / 0.6501 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.207e-05/0.2221, allocations: 27.97 kB / 0.6501 GB, free: 13.72 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003175/0.2224, allocations: 193.6 kB / 0.6503 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002315/0.2226, allocations: 67.66 kB / 0.6503 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002163/0.2248, allocations: 1.026 MB / 0.6513 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.2248, allocations: 4 kB / 0.6513 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.2248, allocations: 4 kB / 0.6513 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/0.2248, allocations: 3.984 kB / 0.6513 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0029/0.2277, allocations: 1.499 MB / 0.6528 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.184e-05/0.2277, allocations: 0 / 0.6528 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004893/0.2282, allocations: 95.88 kB / 0.6529 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004472/0.2287, allocations: 132.7 kB / 0.653 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-05/0.2287, allocations: 15.98 kB / 0.653 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002933/0.2316, allocations: 2.258 MB / 0.6552 GB, free: 8.254 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/0.2317, allocations: 7.922 kB / 0.6552 GB, free: 8.246 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002551/0.2342, allocations: 1.263 MB / 0.6565 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.2343, allocations: 43.67 kB / 0.6565 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.839e-05/0.2344, allocations: 15.95 kB / 0.6565 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003559/0.2348, allocations: 20.03 kB / 0.6566 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.2349, allocations: 56.27 kB / 0.6566 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.764e-05/0.2349, allocations: 23.98 kB / 0.6566 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003785/0.2353, allocations: 287.1 kB / 0.6569 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2353, allocations: 0 / 0.6569 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009584/0.2363, allocations: 295.4 kB / 0.6572 GB, free: 6.242 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (turbine.m_flow,turbine1.m_flow,turbine1.phi,turbine1.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(2,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007981/0.2371, allocations: 405.6 kB / 0.6576 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001896/0.239, allocations: 0.8613 MB / 0.6584 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.598e-06/0.239, allocations: 0 / 0.6584 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001088/0.2401, allocations: 0.5752 MB / 0.659 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001304/0.2414, allocations: 237 kB / 0.6592 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002745/0.2441, allocations: 1.293 MB / 0.6605 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003847/0.2445, allocations: 309.5 kB / 0.6608 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004637/0.245, allocations: 124.6 kB / 0.6609 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001876/0.2452, allocations: 68.47 kB / 0.6609 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of SimCode: time 7.61e-07/0.2452, allocations: 0 / 0.6609 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of Templates: time 0.02643/0.2716, allocations: 14.47 MB / 0.6751 GB, free: 4 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.sim & ./ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.Turbine_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.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: 5.7813839465379715]