Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_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.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/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_OM_adaptions_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_OM_adaptions_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.01112/0.01112, allocations: 171.8 kB / 15.11 MB, free: 5.973 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.879/1.879, allocations: 205.4 MB / 221.3 MB, free: 13.82 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.001089/0.00109, allocations: 86.86 kB / 269.6 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.921/0.921, allocations: 90.59 MB / 408.4 MB, free: 14.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003944/0.0003944, allocations: 12 kB / 485.2 MB, free: 2.066 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5085/0.5089, allocations: 66.27 MB / 0.5386 GB, free: 45.73 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8596/1.369, allocations: 437.2 MB / 0.9655 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003501/1.369, allocations: 88.05 kB / 0.9656 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.6249/1.994, allocations: 101.9 MB / 1.065 GB, free: 160.3 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.006e-06/1.994, allocations: 0 / 1.065 GB, free: 160.3 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.038e-05/1.994, allocations: 15.83 kB / 1.065 GB, free: 160.2 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.002497/1.997, allocations: 0.8504 MB / 1.066 GB, free: 159.4 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/1.997, allocations: 8.031 kB / 1.066 GB, free: 159.3 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006571/1.997, allocations: 91.2 kB / 1.066 GB, free: 159.3 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008019/1.998, allocations: 372.7 kB / 1.066 GB, free: 158.9 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.794e-05/1.998, allocations: 33.84 kB / 1.066 GB, free: 158.8 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/1.998, allocations: 44 kB / 1.067 GB, free: 158.8 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008505/1.999, allocations: 451.3 kB / 1.067 GB, free: 158.3 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/1.999, allocations: 0 / 1.067 GB, free: 158.3 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.322e-05/1.999, allocations: 16 kB / 1.067 GB, free: 158.3 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.916e-05/1.999, allocations: 15.95 kB / 1.067 GB, free: 158.3 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007329/2, allocations: 0.4919 MB / 1.067 GB, free: 157.8 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002717/2.003, allocations: 2.205 MB / 1.07 GB, free: 155.4 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008435/2.004, allocations: 0.521 MB / 1.07 GB, free: 154.8 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002261/2.006, allocations: 1.812 MB / 1.072 GB, free: 152.8 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/2.006, allocations: 39 kB / 1.072 GB, free: 152.8 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=55): time 1.583e-06/2.006, allocations: 3.938 kB / 1.072 GB, free: 152.8 MB / 0.5886 GB Notification: Performance of matching and sorting (n=55): time 0.001743/2.008, allocations: 1.235 MB / 1.073 GB, free: 151.4 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/2.008, allocations: 59.84 kB / 1.073 GB, free: 151.4 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002851/2.008, allocations: 292.9 kB / 1.073 GB, free: 151.1 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.716e-05/2.008, allocations: 37.64 kB / 1.074 GB, free: 151 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/2.008, allocations: 220.5 kB / 1.074 GB, free: 150.8 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.000123/2.008, allocations: 193.2 kB / 1.074 GB, free: 150.6 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.38e-05/2.008, allocations: 8 kB / 1.074 GB, free: 150.6 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.365e-05/2.008, allocations: 354.8 kB / 1.074 GB, free: 150.3 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002774/2.009, allocations: 173 kB / 1.074 GB, free: 150.1 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002857/2.009, allocations: 226.3 kB / 1.075 GB, free: 149.8 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003192/2.009, allocations: 198 kB / 1.075 GB, free: 149.7 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/2.009, allocations: 3.938 kB / 1.075 GB, free: 149.7 MB / 0.5886 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008803/2.01, allocations: 0.5813 MB / 1.075 GB, free: 149.1 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/2.01, allocations: 8 kB / 1.075 GB, free: 149 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/2.01, allocations: 4 kB / 1.075 GB, free: 149 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002602/2.011, allocations: 57.67 kB / 1.075 GB, free: 149 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000317/2.011, allocations: 95.97 kB / 1.076 GB, free: 148.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001536/2.012, allocations: 2.729 MB / 1.078 GB, free: 145.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003253/2.013, allocations: 47.62 kB / 1.078 GB, free: 145.8 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.09e-05/2.013, allocations: 23.98 kB / 1.078 GB, free: 145.8 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.0001978/2.013, allocations: 165.7 kB / 1.078 GB, free: 145.7 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.186e-05/2.013, allocations: 43.44 kB / 1.078 GB, free: 145.6 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001231/2.014, allocations: 0.7033 MB / 1.079 GB, free: 144.9 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.18e-05/2.014, allocations: 8 kB / 1.079 GB, free: 144.9 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/2.014, allocations: 4 kB / 1.079 GB, free: 144.9 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/2.014, allocations: 3.984 kB / 1.079 GB, free: 144.9 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001698/2.016, allocations: 1.336 MB / 1.081 GB, free: 143.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/2.016, allocations: 0 / 1.081 GB, free: 143.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003027/2.016, allocations: 79.89 kB / 1.081 GB, free: 143.4 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001855/2.017, allocations: 69.59 kB / 1.081 GB, free: 143.3 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.121e-05/2.017, allocations: 19.98 kB / 1.081 GB, free: 143.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001422/2.018, allocations: 2.738 MB / 1.083 GB, free: 140.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/2.018, allocations: 0 / 1.083 GB, free: 140.3 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001212/2.019, allocations: 0.9782 MB / 1.084 GB, free: 139.3 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.766e-05/2.019, allocations: 128.4 kB / 1.084 GB, free: 139.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.378e-05/2.02, allocations: 12 kB / 1.084 GB, free: 139.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002651/2.02, allocations: 24 kB / 1.084 GB, free: 139.1 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.77e-05/2.02, allocations: 40.38 kB / 1.084 GB, free: 139.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.478e-05/2.02, allocations: 19.98 kB / 1.085 GB, free: 139.1 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001997/2.02, allocations: 239.2 kB / 1.085 GB, free: 138.8 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.1e-07/2.02, allocations: 0 / 1.085 GB, free: 138.8 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0006794/2.021, allocations: 207.7 kB / 1.085 GB, free: 138.6 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.0005759/2.021, allocations: 384.9 kB / 1.085 GB, free: 138.3 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0009771/2.022, allocations: 0.7041 MB / 1.086 GB, free: 137.5 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/2.022, allocations: 0 / 1.086 GB, free: 137.5 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0005478/2.023, allocations: 0.5002 MB / 1.086 GB, free: 137 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007081/2.024, allocations: 145.1 kB / 1.087 GB, free: 136.9 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001488/2.025, allocations: 1.198 MB / 1.088 GB, free: 135.7 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002764/2.025, allocations: 0.8556 MB / 1.089 GB, free: 134.8 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0003108/2.026, allocations: 96.12 kB / 1.089 GB, free: 134.7 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/2.026, allocations: 47.42 kB / 1.089 GB, free: 134.6 MB / 0.5886 GB Notification: Performance of SimCode: time 2.3e-07/2.026, allocations: 4 kB / 1.089 GB, free: 134.6 MB / 0.5886 GB Notification: Performance of Templates: time 0.01624/2.042, allocations: 10.86 MB / 1.099 GB, free: 123.9 MB / 0.5886 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches