Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo) Using package ObsoleteModelica4 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|flowResistance.rear.m_flow|flowResistance1.rear.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance") translateModel(ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|flowResistance.rear.m_flow|flowResistance1.rear.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009715/0.0009719, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 221.5 MB / 229.6 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009056/0.0009054, allocations: 96.05 kB / 280.5 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo): time 0.008931/0.008931, allocations: 1.567 MB / 332.8 MB, free: 13.54 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.7117/0.7117, allocations: 90.04 MB / 474 MB, free: 13.02 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.835e-05/1.833e-05, allocations: 0 / 0.5375 GB, free: 33.08 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1438, allocations: 69.37 MB / 0.6052 GB, free: 104 kB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.215/1.358, allocations: 436.6 MB / 1.032 GB, free: 121.2 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002089/1.359, allocations: 88.77 kB / 1.032 GB, free: 121.2 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.1982/1.557, allocations: 103.1 MB / 1.132 GB, free: 29.21 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.415e-06/1.557, allocations: 0 / 1.132 GB, free: 29.21 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.622e-05/1.557, allocations: 15.94 kB / 1.132 GB, free: 29.2 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001875/1.559, allocations: 0.8102 MB / 1.133 GB, free: 28.34 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/1.559, allocations: 8.031 kB / 1.133 GB, free: 28.34 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005626/1.56, allocations: 79.31 kB / 1.133 GB, free: 28.26 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006516/1.56, allocations: 379.4 kB / 1.134 GB, free: 27.84 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.026e-05/1.56, allocations: 16 kB / 1.134 GB, free: 27.83 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.36e-05/1.56, allocations: 28 kB / 1.134 GB, free: 27.8 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007216/1.561, allocations: 450.5 kB / 1.134 GB, free: 27.36 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006389/1.562, allocations: 383.9 kB / 1.134 GB, free: 26.98 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/1.562, allocations: 0 / 1.134 GB, free: 26.98 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.887e-05/1.562, allocations: 11.94 kB / 1.134 GB, free: 26.97 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.761e-05/1.562, allocations: 12 kB / 1.134 GB, free: 26.96 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002789/1.565, allocations: 2.115 MB / 1.136 GB, free: 24.6 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007634/1.565, allocations: 0.5005 MB / 1.137 GB, free: 24.09 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003046/1.566, allocations: 235.5 kB / 1.137 GB, free: 23.86 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002276/1.568, allocations: 1.822 MB / 1.139 GB, free: 21.82 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/1.568, allocations: 39 kB / 1.139 GB, free: 21.78 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=55): time 2.345e-06/1.568, allocations: 0 / 1.139 GB, free: 21.78 MB / 0.6042 GB Notification: Performance of matching and sorting (n=55): time 0.001509/1.57, allocations: 0.5968 MB / 1.14 GB, free: 21.17 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.27e-05/1.57, allocations: 55.84 kB / 1.14 GB, free: 21.1 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002229/1.57, allocations: 245.2 kB / 1.14 GB, free: 20.86 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/1.57, allocations: 25.7 kB / 1.14 GB, free: 20.83 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.808e-05/1.57, allocations: 220.5 kB / 1.14 GB, free: 20.61 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.707e-05/1.57, allocations: 189.2 kB / 1.14 GB, free: 20.43 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.117e-05/1.57, allocations: 0 / 1.14 GB, free: 20.43 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.394e-05/1.57, allocations: 346.8 kB / 1.141 GB, free: 20.08 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001965/1.57, allocations: 165 kB / 1.141 GB, free: 19.92 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002153/1.571, allocations: 205.2 kB / 1.141 GB, free: 19.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007784/1.571, allocations: 281.8 kB / 1.141 GB, free: 19.43 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/1.571, allocations: 0 / 1.141 GB, free: 19.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001264/1.573, allocations: 0.6125 MB / 1.142 GB, free: 18.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/1.573, allocations: 7.938 kB / 1.142 GB, free: 18.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/1.573, allocations: 4 kB / 1.142 GB, free: 18.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002529/1.573, allocations: 57.67 kB / 1.142 GB, free: 18.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003022/1.573, allocations: 95.91 kB / 1.142 GB, free: 18.63 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001431/1.575, allocations: 2.622 MB / 1.145 GB, free: 15.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002974/1.575, allocations: 23.72 kB / 1.145 GB, free: 15.75 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.366e-05/1.575, allocations: 24.05 kB / 1.145 GB, free: 15.73 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001019/1.575, allocations: 108.9 kB / 1.145 GB, free: 15.61 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.492e-05/1.575, allocations: 43.44 kB / 1.145 GB, free: 15.57 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001566/1.577, allocations: 0.7288 MB / 1.145 GB, free: 14.84 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.839e-06/1.577, allocations: 15.98 kB / 1.145 GB, free: 14.82 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/1.577, allocations: 0 / 1.145 GB, free: 14.82 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/1.577, allocations: 0 / 1.145 GB, free: 14.82 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002076/1.579, allocations: 1.315 MB / 1.147 GB, free: 13.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/1.579, allocations: 0 / 1.147 GB, free: 13.45 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002869/1.579, allocations: 83.84 kB / 1.147 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001788/1.58, allocations: 69.59 kB / 1.147 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.292e-05/1.58, allocations: 20.05 kB / 1.147 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001304/1.581, allocations: 2.606 MB / 1.149 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/1.581, allocations: 4.031 kB / 1.149 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001532/1.582, allocations: 0.994 MB / 1.15 GB, free: 9.395 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.181e-05/1.583, allocations: 120.5 kB / 1.151 GB, free: 9.258 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.85e-05/1.583, allocations: 7.953 kB / 1.151 GB, free: 9.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002522/1.583, allocations: 15.84 kB / 1.151 GB, free: 9.234 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.35e-05/1.583, allocations: 40.38 kB / 1.151 GB, free: 9.195 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.384e-05/1.583, allocations: 20.05 kB / 1.151 GB, free: 9.176 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001532/1.583, allocations: 200.6 kB / 1.151 GB, free: 8.98 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/1.583, allocations: 0 / 1.151 GB, free: 8.98 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006543/1.584, allocations: 195.6 kB / 1.151 GB, free: 8.789 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (flowResistance.rear.m_flow,flowResistance1.rear.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005362/1.584, allocations: 393.2 kB / 1.151 GB, free: 8.395 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008066/1.585, allocations: 0.6409 MB / 1.152 GB, free: 7.734 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/1.585, allocations: 0 / 1.152 GB, free: 7.734 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004797/1.586, allocations: 481.5 kB / 1.153 GB, free: 7.246 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007005/1.586, allocations: 130.3 kB / 1.153 GB, free: 7.125 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/1.588, allocations: 0.6978 MB / 1.153 GB, free: 6.391 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/1.588, allocations: 0.8515 MB / 1.154 GB, free: 5.516 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003389/1.588, allocations: 82.84 kB / 1.154 GB, free: 5.438 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/1.588, allocations: 51.41 kB / 1.154 GB, free: 5.387 MB / 0.6042 GB Notification: Performance of SimCode: time 6.01e-07/1.588, allocations: 0 / 1.154 GB, free: 5.387 MB / 0.6042 GB Notification: Performance of Templates: time 0.343/1.931, allocations: 9.25 MB / 1.163 GB, free: 179.4 MB / 0.6042 GB make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.makefile (rm -f ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.sim & ./ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance_ref.mat","../files/ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches