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.001489/0.001489, 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 3.2.3+maint.om/package.mo): time 1.566/1.566, allocations: 205.3 MB / 213.4 MB, free: 13.77 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.0008667/0.0008667, allocations: 89.38 kB / 261.4 MB, free: 13.44 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.7406/0.7406, allocations: 90.36 MB / 399.7 MB, free: 12.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.53e-05/1.525e-05, allocations: 4 kB / 472.2 MB, free: 3.473 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.3558, allocations: 66.26 MB / 0.5258 GB, free: 28.96 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.06/1.416, allocations: 436.5 MB / 0.9521 GB, free: 219.2 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001898/1.416, allocations: 83.95 kB / 0.9522 GB, free: 219.1 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.1801/1.596, allocations: 101 MB / 1.051 GB, free: 117.1 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.714e-06/1.596, allocations: 0 / 1.051 GB, free: 117.1 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.698e-05/1.596, allocations: 12 kB / 1.051 GB, free: 117.1 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.001349/1.598, allocations: 0.7948 MB / 1.052 GB, free: 116.3 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/1.598, allocations: 11.97 kB / 1.052 GB, free: 116.3 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004159/1.598, allocations: 91.2 kB / 1.052 GB, free: 116.2 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004227/1.599, allocations: 375.4 kB / 1.052 GB, free: 115.8 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.521e-05/1.599, allocations: 16 kB / 1.052 GB, free: 115.7 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.596e-05/1.599, allocations: 24 kB / 1.052 GB, free: 115.7 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005798/1.599, allocations: 454.4 kB / 1.053 GB, free: 115.3 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005646/1.6, allocations: 391.9 kB / 1.053 GB, free: 114.9 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/1.6, allocations: 0 / 1.053 GB, free: 114.9 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.274e-05/1.6, allocations: 0 / 1.053 GB, free: 114.9 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.715e-05/1.6, allocations: 8 kB / 1.053 GB, free: 114.9 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001876/1.602, allocations: 2.127 MB / 1.055 GB, free: 112.5 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006572/1.602, allocations: 0.5081 MB / 1.055 GB, free: 112 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002689/1.603, allocations: 230.5 kB / 1.056 GB, free: 111.8 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00185/1.605, allocations: 1.822 MB / 1.057 GB, free: 109.7 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/1.605, allocations: 39 kB / 1.058 GB, free: 109.7 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=55): time 2.054e-06/1.605, allocations: 4 kB / 1.058 GB, free: 109.7 MB / 0.5886 GB Notification: Performance of matching and sorting (n=55): time 0.001348/1.606, allocations: 0.5813 MB / 1.058 GB, free: 109.1 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.405e-05/1.606, allocations: 59.78 kB / 1.058 GB, free: 109 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001988/1.606, allocations: 249.2 kB / 1.058 GB, free: 108.8 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.96e-05/1.606, allocations: 29.7 kB / 1.058 GB, free: 108.7 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 9.47e-05/1.606, allocations: 220.4 kB / 1.059 GB, free: 108.5 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 8.813e-05/1.606, allocations: 185.2 kB / 1.059 GB, free: 108.3 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.133e-05/1.606, allocations: 0 / 1.059 GB, free: 108.3 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.789e-05/1.607, allocations: 354.8 kB / 1.059 GB, free: 108 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001985/1.607, allocations: 149.1 kB / 1.059 GB, free: 107.8 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002185/1.607, allocations: 213.2 kB / 1.059 GB, free: 107.6 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007461/1.608, allocations: 273.9 kB / 1.06 GB, free: 107.3 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/1.608, allocations: 7.938 kB / 1.06 GB, free: 107.3 MB / 0.5886 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001216/1.609, allocations: 0.6008 MB / 1.06 GB, free: 106.7 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/1.609, allocations: 13.17 kB / 1.06 GB, free: 106.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/1.609, allocations: 7.984 kB / 1.06 GB, free: 106.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002454/1.609, allocations: 61.62 kB / 1.06 GB, free: 106.6 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003169/1.61, allocations: 87.89 kB / 1.06 GB, free: 106.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001384/1.611, allocations: 2.611 MB / 1.063 GB, free: 103.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002521/1.611, allocations: 35.55 kB / 1.063 GB, free: 103.7 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.637e-05/1.611, allocations: 20 kB / 1.063 GB, free: 103.7 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 () * 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.000102/1.611, allocations: 117.4 kB / 1.063 GB, free: 103.5 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.546e-05/1.612, allocations: 43.47 kB / 1.063 GB, free: 103.5 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001534/1.613, allocations: 0.7332 MB / 1.064 GB, free: 102.8 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/1.613, allocations: 8 kB / 1.064 GB, free: 102.7 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/1.613, allocations: 3.938 kB / 1.064 GB, free: 102.7 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/1.613, allocations: 7.984 kB / 1.064 GB, free: 102.7 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001995/1.615, allocations: 1.311 MB / 1.065 GB, free: 101.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/1.615, allocations: 4 kB / 1.065 GB, free: 101.4 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002946/1.615, allocations: 87.83 kB / 1.065 GB, free: 101.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001794/1.616, allocations: 61.66 kB / 1.065 GB, free: 101.2 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.5e-05/1.616, allocations: 8 kB / 1.065 GB, free: 101.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001262/1.617, allocations: 2.615 MB / 1.068 GB, free: 98.35 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/1.617, allocations: 4.031 kB / 1.068 GB, free: 98.34 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001559/1.619, allocations: 1.002 MB / 1.069 GB, free: 97.3 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.828e-05/1.619, allocations: 120.4 kB / 1.069 GB, free: 97.17 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.45e-05/1.619, allocations: 4.062 kB / 1.069 GB, free: 97.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002449/1.619, allocations: 15.92 kB / 1.069 GB, free: 97.15 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.495e-05/1.619, allocations: 40.38 kB / 1.069 GB, free: 97.11 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.337e-05/1.619, allocations: 19.98 kB / 1.069 GB, free: 97.09 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001422/1.619, allocations: 200.6 kB / 1.069 GB, free: 96.89 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.4e-07/1.619, allocations: 7.938 kB / 1.069 GB, free: 96.89 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000621/1.62, allocations: 195.6 kB / 1.07 GB, free: 96.7 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 () * 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.0004729/1.62, allocations: 373.5 kB / 1.07 GB, free: 96.32 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0007713/1.621, allocations: 0.6408 MB / 1.071 GB, free: 95.66 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/1.621, allocations: 4 kB / 1.071 GB, free: 95.66 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0004716/1.622, allocations: 481.5 kB / 1.071 GB, free: 95.17 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006954/1.622, allocations: 136.9 kB / 1.071 GB, free: 95.04 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/1.623, allocations: 0.7017 MB / 1.072 GB, free: 94.3 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000246/1.624, allocations: 0.8437 MB / 1.073 GB, free: 93.43 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0003073/1.624, allocations: 87.08 kB / 1.073 GB, free: 93.34 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/1.624, allocations: 47.42 kB / 1.073 GB, free: 93.3 MB / 0.5886 GB Notification: Performance of SimCode: time 2.6e-07/1.624, allocations: 0 / 1.073 GB, free: 93.3 MB / 0.5886 GB Notification: Performance of Templates: time 0.01376/1.638, allocations: 9.262 MB / 1.082 GB, free: 84.09 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