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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-main/package.mo", uses=false) Using package ThermofluidStream with version 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-main/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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 3.2.3+maint.om/package.mo): time 0.002534/0.002533, allocations: 175.4 kB / 16.12 MB, free: 5.699 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.919/1.919, allocations: 205.4 MB / 222.3 MB, free: 8.941 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008939/0.0008939, allocations: 101.1 kB / 270.6 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-main/package.mo): time 0.9241/0.9241, allocations: 89.58 MB / 408.5 MB, free: 4.512 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004657/0.0004658, allocations: 12.22 kB / 485.2 MB, free: 7.66 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.384/0.3845, allocations: 66.01 MB / 0.5383 GB, free: 34.58 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.192/1.576, allocations: 437.1 MB / 0.9651 GB, free: 190.1 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000231/1.577, allocations: 90.66 kB / 0.9652 GB, free: 190 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.2053/1.782, allocations: 101 MB / 1.064 GB, free: 87.97 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.497e-06/1.782, allocations: 0 / 1.064 GB, free: 87.97 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.79e-05/1.782, allocations: 20 kB / 1.064 GB, free: 87.95 MB / 0.5886 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.002268/1.784, allocations: 0.8494 MB / 1.065 GB, free: 87.05 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/1.784, allocations: 8.031 kB / 1.065 GB, free: 87.04 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005695/1.785, allocations: 84.23 kB / 1.065 GB, free: 86.96 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007762/1.786, allocations: 383.6 kB / 1.065 GB, free: 86.54 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.652e-05/1.786, allocations: 33.38 kB / 1.065 GB, free: 86.51 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/1.786, allocations: 48.31 kB / 1.065 GB, free: 86.46 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008083/1.787, allocations: 462.9 kB / 1.066 GB, free: 86.01 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/1.787, allocations: 192 / 1.066 GB, free: 86.01 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.881e-05/1.787, allocations: 19.94 kB / 1.066 GB, free: 85.99 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/1.787, allocations: 8 kB / 1.066 GB, free: 85.98 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007462/1.788, allocations: 499.7 kB / 1.066 GB, free: 85.5 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002794/1.79, allocations: 2.174 MB / 1.068 GB, free: 83.07 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008711/1.791, allocations: 0.5405 MB / 1.069 GB, free: 82.52 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003712/1.792, allocations: 258.5 kB / 1.069 GB, free: 82.27 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002238/1.794, allocations: 1.775 MB / 1.071 GB, free: 80.28 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/1.794, allocations: 39 kB / 1.071 GB, free: 80.23 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=55): time 2.645e-06/1.794, allocations: 0 / 1.071 GB, free: 80.23 MB / 0.5886 GB Notification: Performance of matching and sorting (n=55): time 0.001758/1.796, allocations: 0.9191 MB / 1.072 GB, free: 79.27 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/1.796, allocations: 59.83 kB / 1.072 GB, free: 79.2 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003274/1.796, allocations: 333.6 kB / 1.072 GB, free: 78.86 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.408e-05/1.796, allocations: 37.64 kB / 1.072 GB, free: 78.82 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/1.796, allocations: 220.5 kB / 1.072 GB, free: 78.6 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/1.796, allocations: 185.3 kB / 1.073 GB, free: 78.41 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.171e-05/1.796, allocations: 12 kB / 1.073 GB, free: 78.4 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.32e-05/1.797, allocations: 358.8 kB / 1.073 GB, free: 78.04 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002723/1.797, allocations: 165.1 kB / 1.073 GB, free: 77.88 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003033/1.797, allocations: 234.2 kB / 1.073 GB, free: 77.64 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005986/1.798, allocations: 442.9 kB / 1.074 GB, free: 77.19 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/1.798, allocations: 0 / 1.074 GB, free: 77.19 MB / 0.5886 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0009499/1.799, allocations: 0.5813 MB / 1.074 GB, free: 76.6 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/1.799, allocations: 7.938 kB / 1.074 GB, free: 76.59 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/1.799, allocations: 0 / 1.074 GB, free: 76.59 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002979/1.799, allocations: 65.8 kB / 1.074 GB, free: 76.52 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000316/1.799, allocations: 91.83 kB / 1.074 GB, free: 76.43 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00176/1.801, allocations: 2.714 MB / 1.077 GB, free: 73.45 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003731/1.802, allocations: 47.73 kB / 1.077 GB, free: 73.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.701e-05/1.802, allocations: 20 kB / 1.077 GB, free: 73.38 MB / 0.5886 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 () * Number of clocked 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.0002401/1.802, allocations: 173.4 kB / 1.077 GB, free: 73.2 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.337e-05/1.802, allocations: 47.38 kB / 1.077 GB, free: 73.16 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00138/1.803, allocations: 0.6962 MB / 1.078 GB, free: 72.45 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/1.803, allocations: 8 kB / 1.078 GB, free: 72.44 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/1.803, allocations: 3.938 kB / 1.078 GB, free: 72.44 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/1.803, allocations: 3.984 kB / 1.078 GB, free: 72.43 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001941/1.805, allocations: 1.315 MB / 1.079 GB, free: 71.05 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/1.805, allocations: 0 / 1.079 GB, free: 71.05 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002864/1.806, allocations: 83.89 kB / 1.079 GB, free: 70.96 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002179/1.806, allocations: 69.59 kB / 1.079 GB, free: 70.89 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.44e-05/1.806, allocations: 20.05 kB / 1.08 GB, free: 70.87 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001616/1.808, allocations: 2.71 MB / 1.082 GB, free: 67.89 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/1.808, allocations: 3.984 kB / 1.082 GB, free: 67.89 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001307/1.809, allocations: 0.9476 MB / 1.083 GB, free: 66.91 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001618/1.809, allocations: 132.4 kB / 1.083 GB, free: 66.77 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.381e-05/1.809, allocations: 16 kB / 1.083 GB, free: 66.75 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002835/1.809, allocations: 23.84 kB / 1.083 GB, free: 66.73 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/1.81, allocations: 44.31 kB / 1.083 GB, free: 66.68 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-05/1.81, allocations: 23.98 kB / 1.083 GB, free: 66.66 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0002575/1.81, allocations: 235.2 kB / 1.084 GB, free: 66.44 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.81e-07/1.81, allocations: 0 / 1.084 GB, free: 66.44 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0008536/1.811, allocations: 215.7 kB / 1.084 GB, free: 66.23 MB / 0.5886 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 () * Number of clocked 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.0006555/1.811, allocations: 383.8 kB / 1.084 GB, free: 65.84 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001154/1.813, allocations: 0.6951 MB / 1.085 GB, free: 65.13 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/1.813, allocations: 0 / 1.085 GB, free: 65.13 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0006258/1.813, allocations: 0.5079 MB / 1.085 GB, free: 64.59 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00096/1.814, allocations: 142.2 kB / 1.085 GB, free: 64.46 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001997/1.816, allocations: 1.204 MB / 1.087 GB, free: 63.22 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000415/1.817, allocations: 0.8439 MB / 1.087 GB, free: 62.35 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0004418/1.817, allocations: 87.41 kB / 1.087 GB, free: 62.27 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001297/1.817, allocations: 51.42 kB / 1.088 GB, free: 62.21 MB / 0.5886 GB Notification: Performance of SimCode: time 1.242e-06/1.817, allocations: 0 / 1.088 GB, free: 62.21 MB / 0.5886 GB Notification: Performance of Templates: time 0.02206/1.839, allocations: 11.04 MB / 1.098 GB, free: 51.27 MB / 0.5886 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