Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.001349/0.001349, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001508/0.001508, allocations: 157.7 kB / 22.75 MB, free: 1.684 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 1.555/1.555, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 1.046/1.046, allocations: 118.6 MB / 378.2 MB, free: 1.461 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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_dev_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_dev_ThermofluidStream.Processes.Tests.Turbine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 482.9 MB, free: 8.266 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.247e-05/3.405e-05, allocations: 2.312 kB / 482.9 MB, free: 8.262 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.1906/0.1907, allocations: 130.2 MB / 0.5987 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.01626/0.2069, allocations: 10.28 MB / 0.6087 GB, free: 4.105 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006667/0.2076, allocations: 31.69 kB / 0.6087 GB, free: 4.074 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.001052/0.2087, allocations: 274 kB / 0.609 GB, free: 3.805 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001892/0.2106, allocations: 0.6209 MB / 0.6096 GB, free: 3.18 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.002301/0.2129, allocations: 0.7506 MB / 0.6103 GB, free: 2.426 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001803/0.2147, allocations: 1.058 MB / 0.6114 GB, free: 1.363 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003054/0.215, allocations: 118.1 kB / 0.6115 GB, free: 1.25 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001172/0.2161, allocations: 0.5649 MB / 0.612 GB, free: 0.6836 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008799/0.217, allocations: 438.9 kB / 0.6125 GB, free: 260 kB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001501/0.2172, allocations: 56 kB / 0.6125 GB, free: 204 kB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002221/0.2194, allocations: 0.9199 MB / 0.6134 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0002199/0.2196, allocations: 159.3 kB / 0.6136 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.000408/0.22, allocations: 235.4 kB / 0.6138 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.00232/0.2223, allocations: 1.192 MB / 0.615 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.2223, allocations: 4 kB / 0.615 GB, free: 13.69 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.032e-06/0.2223, allocations: 4 kB / 0.615 GB, free: 13.69 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.706e-05/0.2224, allocations: 0 / 0.615 GB, free: 13.69 MB / 0.5417 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.002515/0.2249, allocations: 1.041 MB / 0.616 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.2249, allocations: 8.031 kB / 0.616 GB, free: 12.6 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003904/0.2253, allocations: 140.4 kB / 0.6161 GB, free: 12.46 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.2263, allocations: 0.4992 MB / 0.6166 GB, free: 11.94 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001645/0.2265, allocations: 140.4 kB / 0.6167 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/0.2266, allocations: 60.31 kB / 0.6168 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001354/0.228, allocations: 0.7103 MB / 0.6175 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.228, allocations: 3.938 kB / 0.6175 GB, free: 10.97 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.112e-05/0.228, allocations: 20 kB / 0.6175 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.691e-05/0.2281, allocations: 21 kB / 0.6175 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001572/0.2296, allocations: 0.6753 MB / 0.6182 GB, free: 10.26 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003898/0.2335, allocations: 1.881 MB / 0.62 GB, free: 8.336 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001355/0.2349, allocations: 0.5293 MB / 0.6205 GB, free: 7.797 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006821/0.2356, allocations: 303.5 kB / 0.6208 GB, free: 7.5 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001717/0.2373, allocations: 328.2 kB / 0.6212 GB, free: 7.18 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.968e-05/0.2373, allocations: 39.06 kB / 0.6212 GB, free: 7.133 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=62): time 1.853e-06/0.2373, allocations: 4 kB / 0.6212 GB, free: 7.129 MB / 0.5417 GB Notification: Performance of matching and sorting (n=64): time 0.004743/0.2421, allocations: 1.844 MB / 0.623 GB, free: 5.242 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.359e-05/0.2421, allocations: 55.91 kB / 0.623 GB, free: 5.176 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000528/0.2427, allocations: 401.8 kB / 0.6234 GB, free: 4.77 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.576e-05/0.2427, allocations: 37.7 kB / 0.6235 GB, free: 4.727 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002455/0.243, allocations: 265.4 kB / 0.6237 GB, free: 4.465 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002351/0.2432, allocations: 234 kB / 0.6239 GB, free: 4.234 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002202/0.2434, allocations: 110.3 kB / 0.624 GB, free: 4.121 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002465/0.2437, allocations: 362.8 kB / 0.6244 GB, free: 3.758 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005363/0.2442, allocations: 229.2 kB / 0.6246 GB, free: 3.535 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008805/0.2451, allocations: 309 kB / 0.6249 GB, free: 3.211 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001225/0.2463, allocations: 0.553 MB / 0.6254 GB, free: 2.641 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2463, allocations: 0 / 0.6254 GB, free: 2.641 MB / 0.5417 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001982/0.2483, allocations: 0.8253 MB / 0.6263 GB, free: 1.805 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.2483, allocations: 4.188 kB / 0.6263 GB, free: 1.801 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.981e-05/0.2483, allocations: 8 kB / 0.6263 GB, free: 1.793 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005532/0.2489, allocations: 140.7 kB / 0.6264 GB, free: 1.652 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005468/0.2494, allocations: 107.9 kB / 0.6265 GB, free: 1.547 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003447/0.2529, allocations: 2.325 MB / 0.6288 GB, free: 15.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003857/0.2533, allocations: 23.98 kB / 0.6288 GB, free: 15.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.611e-05/0.2533, allocations: 23.98 kB / 0.6288 GB, free: 15.07 MB / 0.5573 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.0003562/0.2537, allocations: 197.6 kB / 0.629 GB, free: 14.87 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002655/0.2539, allocations: 99.67 kB / 0.6291 GB, free: 14.77 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00222/0.2562, allocations: 0.9833 MB / 0.6301 GB, free: 13.78 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.2562, allocations: 7.938 kB / 0.6301 GB, free: 13.77 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.2562, allocations: 4 kB / 0.6301 GB, free: 13.77 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.2562, allocations: 0 / 0.6301 GB, free: 13.77 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00293/0.2591, allocations: 1.413 MB / 0.6315 GB, free: 12.31 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.014e-05/0.2591, allocations: 0 / 0.6315 GB, free: 12.31 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005173/0.2596, allocations: 95.88 kB / 0.6315 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006982/0.2603, allocations: 140.8 kB / 0.6317 GB, free: 12.07 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.267e-05/0.2604, allocations: 23.92 kB / 0.6317 GB, free: 12.05 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003222/0.2636, allocations: 2.274 MB / 0.6339 GB, free: 9.68 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.2636, allocations: 0 / 0.6339 GB, free: 9.68 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002591/0.2662, allocations: 1.189 MB / 0.6351 GB, free: 8.473 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002795/0.2665, allocations: 115.6 kB / 0.6352 GB, free: 8.359 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.1e-05/0.2666, allocations: 19.95 kB / 0.6352 GB, free: 8.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003469/0.2669, allocations: 19.98 kB / 0.6352 GB, free: 8.32 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.267, allocations: 44.41 kB / 0.6353 GB, free: 8.277 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.514e-05/0.2671, allocations: 23.98 kB / 0.6353 GB, free: 8.254 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004196/0.2675, allocations: 314.8 kB / 0.6356 GB, free: 7.945 MB / 0.5573 GB Notification: Performance of sort global known variables: time 9e-08/0.2675, allocations: 0 / 0.6356 GB, free: 7.945 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0009902/0.2685, allocations: 299.4 kB / 0.6359 GB, free: 7.652 MB / 0.5573 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.000735/0.2692, allocations: 406.1 kB / 0.6363 GB, free: 7.25 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001877/0.2711, allocations: 0.8064 MB / 0.6371 GB, free: 6.418 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.2711, allocations: 0 / 0.6371 GB, free: 6.418 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001095/0.2722, allocations: 0.5359 MB / 0.6376 GB, free: 5.855 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001303/0.2735, allocations: 256.9 kB / 0.6378 GB, free: 5.621 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003016/0.2765, allocations: 1.316 MB / 0.6391 GB, free: 4.27 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003976/0.2769, allocations: 317.9 kB / 0.6394 GB, free: 3.93 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004858/0.2774, allocations: 149.7 kB / 0.6396 GB, free: 3.797 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001929/0.2776, allocations: 64.45 kB / 0.6396 GB, free: 3.734 MB / 0.5573 GB Notification: Performance of SimCode: time 1.132e-06/0.2776, allocations: 4 kB / 0.6396 GB, free: 3.73 MB / 0.5573 GB Notification: Performance of Templates: time 0.1953/0.4729, allocations: 14.66 MB / 0.6539 GB, free: 168.4 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine.sim & ./ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_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_dev_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: 6.652725146035664]