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.0008758/0.0008758, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001857/0.001857, allocations: 181 kB / 23.36 MB, free: 1.129 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.9145/0.9145, allocations: 177.1 MB / 203.8 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6686/0.6686, allocations: 118.6 MB / 378.9 MB, free: 1.344 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.122e-06/1.122e-06, allocations: 0 / 430.8 MB, free: 13.36 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.013e-05/1.125e-05, allocations: 5.688 kB / 430.8 MB, free: 13.36 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.2586/0.2586, allocations: 130.6 MB / 0.5482 GB, free: 8.777 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003249/0.2619, allocations: 3.171 MB / 0.5513 GB, free: 5.602 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002326/0.2621, allocations: 31.69 kB / 0.5513 GB, free: 5.57 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003709/0.2625, allocations: 134.8 kB / 0.5515 GB, free: 5.438 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0006186/0.2631, allocations: 472.8 kB / 0.5519 GB, free: 4.973 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007174/0.2638, allocations: 498.1 kB / 0.5524 GB, free: 4.484 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.000713/0.2645, allocations: 1.065 MB / 0.5534 GB, free: 3.418 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000169/0.2647, allocations: 104.2 kB / 0.5535 GB, free: 3.316 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005171/0.2652, allocations: 0.5687 MB / 0.5541 GB, free: 2.746 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004307/0.2656, allocations: 454.8 kB / 0.5545 GB, free: 2.301 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.893e-05/0.2657, allocations: 56 kB / 0.5546 GB, free: 2.246 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004456/0.2661, allocations: 403.2 kB / 0.555 GB, free: 1.852 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.2663, allocations: 163.3 kB / 0.5551 GB, free: 1.691 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001679/0.2664, allocations: 239.4 kB / 0.5553 GB, free: 1.457 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007158/0.2671, allocations: 0.8526 MB / 0.5562 GB, free: 0.6016 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.2671, allocations: 0 / 0.5562 GB, free: 0.6016 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.81e-07/0.2671, allocations: 4 kB / 0.5562 GB, free: 0.5977 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.2671, allocations: 0 / 0.5562 GB, free: 0.5977 MB / 0.4948 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.001079/0.2682, allocations: 0.9574 MB / 0.5571 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.765e-05/0.2683, allocations: 15.97 kB / 0.5571 GB, free: 15.6 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001657/0.2684, allocations: 112.7 kB / 0.5572 GB, free: 15.49 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004781/0.2689, allocations: 444.6 kB / 0.5577 GB, free: 15.03 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.793e-05/0.269, allocations: 152.3 kB / 0.5578 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.207e-05/0.269, allocations: 48.33 kB / 0.5579 GB, free: 14.81 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006926/0.2697, allocations: 487.1 kB / 0.5583 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.2697, allocations: 7.938 kB / 0.5583 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.038e-05/0.2698, allocations: 16 kB / 0.5583 GB, free: 14.28 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.682e-05/0.2698, allocations: 20.98 kB / 0.5584 GB, free: 14.26 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00029/0.2701, allocations: 225.6 kB / 0.5586 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001601/0.2717, allocations: 1.332 MB / 0.5599 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00047/0.2722, allocations: 358.3 kB / 0.5602 GB, free: 12.32 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001694/0.2723, allocations: 134.3 kB / 0.5604 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000632/0.273, allocations: 305.5 kB / 0.5606 GB, free: 11.89 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.273, allocations: 39.06 kB / 0.5607 GB, free: 11.84 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=62): time 2.044e-06/0.273, allocations: 0 / 0.5607 GB, free: 11.84 MB / 0.5105 GB Notification: Performance of matching and sorting (n=64): time 0.001478/0.2745, allocations: 1.012 MB / 0.5617 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.207e-05/0.2745, allocations: 55.91 kB / 0.5617 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001999/0.2747, allocations: 363.3 kB / 0.5621 GB, free: 10.36 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.206e-05/0.2747, allocations: 37.7 kB / 0.5621 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.437e-05/0.2748, allocations: 214.7 kB / 0.5623 GB, free: 10.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001086/0.2749, allocations: 237.9 kB / 0.5625 GB, free: 9.867 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.275, allocations: 106.3 kB / 0.5626 GB, free: 9.758 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.971e-05/0.2751, allocations: 374.6 kB / 0.563 GB, free: 9.383 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/0.2752, allocations: 65.28 kB / 0.5631 GB, free: 9.32 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.2754, allocations: 157.1 kB / 0.5632 GB, free: 9.145 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002761/0.2756, allocations: 273.1 kB / 0.5635 GB, free: 8.859 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2756, allocations: 0 / 0.5635 GB, free: 8.859 MB / 0.5105 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0005122/0.2762, allocations: 424.4 kB / 0.5639 GB, free: 8.434 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.2762, allocations: 4 kB / 0.5639 GB, free: 8.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.2762, allocations: 4 kB / 0.5639 GB, free: 8.426 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002227/0.2764, allocations: 112.3 kB / 0.564 GB, free: 8.312 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002414/0.2766, allocations: 103.9 kB / 0.5641 GB, free: 8.211 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001424/0.2781, allocations: 1.829 MB / 0.5659 GB, free: 6.289 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001388/0.2782, allocations: 16 kB / 0.5659 GB, free: 6.273 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.944e-05/0.2782, allocations: 15.98 kB / 0.5659 GB, free: 6.258 MB / 0.5105 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.0001256/0.2784, allocations: 144.5 kB / 0.566 GB, free: 6.105 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.2785, allocations: 71.88 kB / 0.5661 GB, free: 6.035 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006634/0.2791, allocations: 0.565 MB / 0.5667 GB, free: 5.457 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.2791, allocations: 8 kB / 0.5667 GB, free: 5.449 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.2791, allocations: 0 / 0.5667 GB, free: 5.449 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.2792, allocations: 11.92 kB / 0.5667 GB, free: 5.438 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000969/0.2801, allocations: 0.8345 MB / 0.5675 GB, free: 4.574 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.2801, allocations: 7.984 kB / 0.5675 GB, free: 4.566 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002295/0.2804, allocations: 95.81 kB / 0.5676 GB, free: 4.473 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001978/0.2806, allocations: 100.7 kB / 0.5677 GB, free: 4.371 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.824e-05/0.2806, allocations: 23.91 kB / 0.5677 GB, free: 4.348 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001085/0.2817, allocations: 1.791 MB / 0.5695 GB, free: 2.465 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2817, allocations: 0 / 0.5695 GB, free: 2.465 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006876/0.2824, allocations: 0.6392 MB / 0.5701 GB, free: 1.793 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.2825, allocations: 75.58 kB / 0.5702 GB, free: 1.719 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.431e-05/0.2825, allocations: 17.19 kB / 0.5702 GB, free: 1.703 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.2827, allocations: 27.97 kB / 0.5702 GB, free: 1.676 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.116e-05/0.2827, allocations: 48.39 kB / 0.5702 GB, free: 1.629 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.646e-05/0.2827, allocations: 15.98 kB / 0.5703 GB, free: 1.613 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001112/0.2829, allocations: 168.4 kB / 0.5704 GB, free: 1.445 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3e-08/0.2829, allocations: 7.938 kB / 0.5704 GB, free: 1.438 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004332/0.2833, allocations: 239.6 kB / 0.5707 GB, free: 1.203 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (51): * Single equations (assignments): 48 * 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.0002576/0.2835, allocations: 215.8 kB / 0.5709 GB, free: 0.9844 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005792/0.2841, allocations: 0.5486 MB / 0.5714 GB, free: 424 kB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.2841, allocations: 4 kB / 0.5714 GB, free: 420 kB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000362/0.2845, allocations: 435.1 kB / 0.5718 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008/0.2853, allocations: 246.5 kB / 0.5721 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001468/0.2868, allocations: 1.147 MB / 0.5732 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.363e-05/0.2869, allocations: 147.7 kB / 0.5733 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002149/0.2871, allocations: 104.6 kB / 0.5734 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003372/0.2874, allocations: 221.2 kB / 0.5736 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of SimCode: time 5.01e-07/0.2874, allocations: 0 / 0.5736 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of Templates: time 0.01468/0.3021, allocations: 13.37 MB / 0.5867 GB, free: 1 MB / 0.5261 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=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.Turbine_ref.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.536683389917016]