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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002302/0.002302, allocations: 173.7 kB / 7.458 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9515/0.9515, allocations: 205.2 MB / 213.1 MB, free: 13.87 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.0007472/0.0007473, allocations: 86.69 kB / 261.1 MB, free: 13.56 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.5039/0.5039, allocations: 90.35 MB / 399.4 MB, free: 12.3 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.18e-06/5.28e-06, allocations: 0 / 471.7 MB, free: 3.832 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.2397, allocations: 66.25 MB / 0.5253 GB, free: 28.87 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6788/0.9186, allocations: 436.4 MB / 0.9515 GB, free: 162.6 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001969/0.9188, allocations: 76.88 kB / 0.9516 GB, free: 162.6 MB / 0.5886 GB Notification: Performance of FrontEnd: time 0.1735/1.092, allocations: 101.4 MB / 1.051 GB, free: 100.6 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.904e-05/1.092, allocations: 12 kB / 1.051 GB, free: 100.6 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.001372/1.094, allocations: 0.8139 MB / 1.051 GB, free: 99.77 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/1.094, allocations: 8.031 kB / 1.051 GB, free: 99.76 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001109/1.094, allocations: 59.25 kB / 1.051 GB, free: 99.7 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004459/1.094, allocations: 378.5 kB / 1.052 GB, free: 99.29 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.572e-05/1.094, allocations: 20 kB / 1.052 GB, free: 99.27 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.504e-05/1.095, allocations: 24 kB / 1.052 GB, free: 99.25 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005517/1.095, allocations: 453.8 kB / 1.052 GB, free: 98.8 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004898/1.096, allocations: 392.5 kB / 1.053 GB, free: 98.41 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/1.096, allocations: 0 / 1.053 GB, free: 98.41 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.091e-05/1.096, allocations: 0 / 1.053 GB, free: 98.41 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/1.096, allocations: 8 kB / 1.053 GB, free: 98.41 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001823/1.097, allocations: 2.126 MB / 1.055 GB, free: 96.04 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004551/1.098, allocations: 444.3 kB / 1.055 GB, free: 95.6 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002474/1.098, allocations: 238.2 kB / 1.055 GB, free: 95.37 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001756/1.1, allocations: 1.831 MB / 1.057 GB, free: 93.32 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.75e-05/1.1, allocations: 39 kB / 1.057 GB, free: 93.28 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=55): time 1.654e-06/1.1, allocations: 0 / 1.057 GB, free: 93.28 MB / 0.5886 GB Notification: Performance of matching and sorting (n=55): time 0.001437/1.101, allocations: 0.6223 MB / 1.058 GB, free: 92.64 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.023e-05/1.101, allocations: 59.78 kB / 1.058 GB, free: 92.57 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001903/1.102, allocations: 259.4 kB / 1.058 GB, free: 92.31 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.602e-05/1.102, allocations: 25.7 kB / 1.058 GB, free: 92.28 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.543e-05/1.102, allocations: 176.5 kB / 1.058 GB, free: 92.1 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 7.474e-05/1.102, allocations: 181.2 kB / 1.059 GB, free: 91.92 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.919e-05/1.102, allocations: 3.938 kB / 1.059 GB, free: 91.92 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.974e-05/1.102, allocations: 350.8 kB / 1.059 GB, free: 91.57 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001951/1.102, allocations: 153 kB / 1.059 GB, free: 91.41 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002259/1.102, allocations: 212.7 kB / 1.059 GB, free: 91.19 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008666/1.103, allocations: 309.1 kB / 1.06 GB, free: 90.89 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/1.103, allocations: 0 / 1.06 GB, free: 90.89 MB / 0.5886 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001325/1.105, allocations: 0.6573 MB / 1.06 GB, free: 90.22 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/1.105, allocations: 4 kB / 1.06 GB, free: 90.22 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/1.105, allocations: 0 / 1.06 GB, free: 90.22 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002366/1.105, allocations: 65.78 kB / 1.06 GB, free: 90.15 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002925/1.105, allocations: 87.89 kB / 1.06 GB, free: 90.06 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001348/1.107, allocations: 2.587 MB / 1.063 GB, free: 87.24 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002322/1.107, allocations: 23.69 kB / 1.063 GB, free: 87.22 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.882e-05/1.107, allocations: 27.94 kB / 1.063 GB, free: 87.19 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 8.399e-05/1.107, allocations: 122.1 kB / 1.063 GB, free: 87.07 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.319e-05/1.107, allocations: 35.53 kB / 1.063 GB, free: 87.03 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001734/1.109, allocations: 0.8486 MB / 1.064 GB, free: 86.17 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/1.109, allocations: 12 kB / 1.064 GB, free: 86.16 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/1.109, allocations: 0 / 1.064 GB, free: 86.16 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/1.109, allocations: 3.984 kB / 1.064 GB, free: 86.16 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002186/1.111, allocations: 1.397 MB / 1.065 GB, free: 84.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/1.111, allocations: 7.938 kB / 1.065 GB, free: 84.69 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002834/1.111, allocations: 91.95 kB / 1.065 GB, free: 84.6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001808/1.111, allocations: 61.66 kB / 1.065 GB, free: 84.53 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.766e-05/1.111, allocations: 15.98 kB / 1.065 GB, free: 84.52 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00123/1.113, allocations: 2.586 MB / 1.068 GB, free: 81.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/1.113, allocations: 0 / 1.068 GB, free: 81.7 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001642/1.114, allocations: 1.065 MB / 1.069 GB, free: 80.59 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.552e-05/1.114, allocations: 120.6 kB / 1.069 GB, free: 80.46 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.161e-05/1.115, allocations: 7.906 kB / 1.069 GB, free: 80.45 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000235/1.115, allocations: 19.94 kB / 1.069 GB, free: 80.43 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.869e-05/1.115, allocations: 40.56 kB / 1.069 GB, free: 80.39 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.372e-05/1.115, allocations: 27.89 kB / 1.069 GB, free: 80.36 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.0001269/1.115, allocations: 195.1 kB / 1.069 GB, free: 80.17 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000568/1.116, allocations: 211.6 kB / 1.07 GB, free: 79.96 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 (55): * Single equations (assignments): 49 * 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.0004399/1.116, allocations: 393 kB / 1.07 GB, free: 79.57 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0007286/1.117, allocations: 0.6371 MB / 1.071 GB, free: 78.92 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/1.117, allocations: 7.938 kB / 1.071 GB, free: 78.91 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0004924/1.117, allocations: 481.3 kB / 1.071 GB, free: 78.42 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006097/1.118, allocations: 117.2 kB / 1.071 GB, free: 78.31 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/1.119, allocations: 0.7183 MB / 1.072 GB, free: 77.56 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003272/1.119, allocations: 0.9075 MB / 1.073 GB, free: 76.62 MB / 0.5886 GB Notification: Performance of SimCode: time 7.01e-07/1.119, allocations: 0 / 1.073 GB, free: 76.62 MB / 0.5886 GB Notification: Performance of Templates: time 0.01298/1.132, allocations: 10.09 MB / 1.083 GB, free: 66.59 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