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.3.1-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-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.0008747/0.0008747, allocations: 174.4 kB / 16.12 MB, free: 5.574 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.403/1.403, allocations: 205.4 MB / 222.3 MB, free: 9.023 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.0007718/0.0007717, allocations: 101 kB / 270.6 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-OM_adaptions/package.mo): time 0.7493/0.7493, allocations: 89.62 MB / 408.5 MB, free: 4.473 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004142/0.0004142, allocations: 12.22 kB / 485.2 MB, free: 7.625 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3506/0.351, allocations: 66 MB / 0.5383 GB, free: 34.53 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.022/1.373, allocations: 437.1 MB / 0.9652 GB, free: 190.2 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002917/1.373, allocations: 87.94 kB / 0.9652 GB, free: 190.1 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.1939/1.567, allocations: 101 MB / 1.064 GB, free: 88.07 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.395e-06/1.567, allocations: 0 / 1.064 GB, free: 88.07 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.344e-05/1.567, allocations: 19.94 kB / 1.064 GB, free: 88.05 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.001946/1.569, allocations: 0.8455 MB / 1.065 GB, free: 87.15 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/1.569, allocations: 12.03 kB / 1.065 GB, free: 87.14 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000537/1.57, allocations: 80.23 kB / 1.065 GB, free: 87.06 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006364/1.571, allocations: 383.6 kB / 1.065 GB, free: 86.64 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.036e-05/1.571, allocations: 37.38 kB / 1.065 GB, free: 86.61 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.375e-05/1.571, allocations: 44.31 kB / 1.065 GB, free: 86.57 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007896/1.572, allocations: 463 kB / 1.066 GB, free: 86.11 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/1.572, allocations: 192 / 1.066 GB, free: 86.11 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.068e-05/1.572, allocations: 23.94 kB / 1.066 GB, free: 86.09 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.565e-05/1.572, allocations: 8 kB / 1.066 GB, free: 86.08 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007079/1.572, allocations: 495.7 kB / 1.066 GB, free: 85.6 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002249/1.575, allocations: 2.178 MB / 1.068 GB, free: 83.17 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007899/1.575, allocations: 0.5444 MB / 1.069 GB, free: 82.62 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003501/1.576, allocations: 258.5 kB / 1.069 GB, free: 82.36 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001997/1.578, allocations: 1.771 MB / 1.071 GB, free: 80.38 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/1.578, allocations: 39 kB / 1.071 GB, free: 80.33 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=55): time 2.705e-06/1.578, allocations: 0 / 1.071 GB, free: 80.33 MB / 0.5886 GB Notification: Performance of matching and sorting (n=55): time 0.001639/1.579, allocations: 0.9269 MB / 1.072 GB, free: 79.36 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/1.58, allocations: 59.83 kB / 1.072 GB, free: 79.29 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003107/1.58, allocations: 333.6 kB / 1.072 GB, free: 78.95 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.225e-05/1.58, allocations: 41.64 kB / 1.072 GB, free: 78.91 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/1.58, allocations: 220.5 kB / 1.072 GB, free: 78.68 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/1.58, allocations: 181.3 kB / 1.073 GB, free: 78.5 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.252e-05/1.58, allocations: 8 kB / 1.073 GB, free: 78.5 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001011/1.58, allocations: 354.8 kB / 1.073 GB, free: 78.14 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002751/1.581, allocations: 177.1 kB / 1.073 GB, free: 77.97 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002841/1.581, allocations: 230.3 kB / 1.073 GB, free: 77.73 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005863/1.581, allocations: 438.9 kB / 1.074 GB, free: 77.28 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/1.581, allocations: 0 / 1.074 GB, free: 77.28 MB / 0.5886 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0009325/1.582, allocations: 0.5812 MB / 1.074 GB, free: 76.7 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/1.582, allocations: 8 kB / 1.074 GB, free: 76.69 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/1.582, allocations: 0 / 1.074 GB, free: 76.69 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002875/1.583, allocations: 65.67 kB / 1.074 GB, free: 76.62 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003077/1.583, allocations: 84.02 kB / 1.074 GB, free: 76.54 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001611/1.585, allocations: 2.713 MB / 1.077 GB, free: 73.55 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003209/1.585, allocations: 47.55 kB / 1.077 GB, free: 73.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.015e-05/1.585, allocations: 24.06 kB / 1.077 GB, free: 73.48 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.0002161/1.585, allocations: 165.7 kB / 1.077 GB, free: 73.31 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.945e-05/1.585, allocations: 47.38 kB / 1.077 GB, free: 73.26 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001197/1.587, allocations: 0.6927 MB / 1.078 GB, free: 72.56 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/1.587, allocations: 15.94 kB / 1.078 GB, free: 72.54 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/1.587, allocations: 7.938 kB / 1.078 GB, free: 72.54 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/1.587, allocations: 3.984 kB / 1.078 GB, free: 72.53 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00181/1.588, allocations: 1.311 MB / 1.079 GB, free: 71.15 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/1.588, allocations: 8.172 kB / 1.079 GB, free: 71.14 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002764/1.589, allocations: 79.89 kB / 1.079 GB, free: 71.06 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001893/1.589, allocations: 65.64 kB / 1.08 GB, free: 70.99 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.304e-05/1.589, allocations: 19.98 kB / 1.08 GB, free: 70.97 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001432/1.59, allocations: 2.721 MB / 1.082 GB, free: 67.98 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/1.59, allocations: 0 / 1.082 GB, free: 67.98 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001284/1.592, allocations: 0.9438 MB / 1.083 GB, free: 67.01 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/1.592, allocations: 124.4 kB / 1.083 GB, free: 66.87 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.913e-05/1.592, allocations: 15.94 kB / 1.083 GB, free: 66.86 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002624/1.592, allocations: 27.91 kB / 1.083 GB, free: 66.83 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/1.592, allocations: 48.31 kB / 1.083 GB, free: 66.78 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.509e-05/1.592, allocations: 19.98 kB / 1.083 GB, free: 66.76 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0002041/1.593, allocations: 239.2 kB / 1.084 GB, free: 66.54 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.81e-07/1.593, allocations: 0 / 1.084 GB, free: 66.54 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0007388/1.593, allocations: 211.7 kB / 1.084 GB, free: 66.33 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.0006277/1.594, allocations: 381.9 kB / 1.084 GB, free: 65.95 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001073/1.595, allocations: 0.7029 MB / 1.085 GB, free: 65.23 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/1.595, allocations: 3.938 kB / 1.085 GB, free: 65.22 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0005762/1.596, allocations: 0.504 MB / 1.085 GB, free: 64.69 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000827/1.596, allocations: 146.5 kB / 1.085 GB, free: 64.55 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001642/1.598, allocations: 1.202 MB / 1.087 GB, free: 63.32 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/1.598, allocations: 0.84 MB / 1.087 GB, free: 62.45 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0003691/1.599, allocations: 91.53 kB / 1.088 GB, free: 62.36 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/1.599, allocations: 51.42 kB / 1.088 GB, free: 62.31 MB / 0.5886 GB Notification: Performance of SimCode: time 5.91e-07/1.599, allocations: 0 / 1.088 GB, free: 62.31 MB / 0.5886 GB Notification: Performance of Templates: time 0.01764/1.617, allocations: 11.04 MB / 1.098 GB, free: 51.34 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