Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.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.Processes.Tests.ConvectivePipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|heatCapacitor.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe") translateModel(ThermofluidStream.Processes.Tests.ConvectivePipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|heatCapacitor.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe") [: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.001797/0.001797, allocations: 179.5 kB / 7.458 MB, free: 2.5 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.8823/0.8823, allocations: 205.2 MB / 213.1 MB, free: 13.86 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.0007402/0.0007405, allocations: 95.02 kB / 261.1 MB, free: 13.55 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.4616/0.4616, allocations: 90.35 MB / 399.4 MB, free: 12.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.408e-06/4.448e-06, allocations: 0 / 471.7 MB, free: 3.754 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1933/0.1933, allocations: 66.26 MB / 0.5253 GB, free: 28.92 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3789/0.5722, allocations: 353.1 MB / 0.8701 GB, free: 14.44 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001719/0.5724, allocations: 75.41 kB / 0.8702 GB, free: 14.41 MB / 0.5573 GB Notification: Performance of FrontEnd: time 0.2946/0.867, allocations: 97.26 MB / 0.9651 GB, free: 173 MB / 0.573 GB Notification: Performance of Transformations before backend: time 2.564e-05/0.867, allocations: 9.188 kB / 0.9652 GB, free: 173 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001037/0.8681, allocations: 0.7842 MB / 0.9659 GB, free: 172.4 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 2.978e-05/0.8681, allocations: 9.5 kB / 0.9659 GB, free: 172.4 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000146/0.8682, allocations: 64.28 kB / 0.966 GB, free: 172.4 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003631/0.8686, allocations: 359.6 kB / 0.9663 GB, free: 172 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.8686, allocations: 13.69 kB / 0.9663 GB, free: 172 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.229e-05/0.8687, allocations: 27.77 kB / 0.9664 GB, free: 172 MB / 0.573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000457/0.8692, allocations: 371.3 kB / 0.9667 GB, free: 171.7 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004366/0.8696, allocations: 389 kB / 0.9671 GB, free: 171.3 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.8696, allocations: 0 / 0.9671 GB, free: 171.3 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.612e-05/0.8697, allocations: 0 / 0.9671 GB, free: 171.3 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.8697, allocations: 16 kB / 0.9671 GB, free: 171.3 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001609/0.8713, allocations: 1.991 MB / 0.9691 GB, free: 169.1 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002414/0.8715, allocations: 223.3 kB / 0.9693 GB, free: 168.9 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001771/0.8717, allocations: 177.8 kB / 0.9694 GB, free: 168.7 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001956/0.8719, allocations: 429.8 kB / 0.9699 GB, free: 168.2 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.443e-05/0.872, allocations: 46.34 kB / 0.9699 GB, free: 168.2 MB / 0.573 GB Notification: Performance of pre-optimization done (n=44): time 1.874e-06/0.872, allocations: 0 / 0.9699 GB, free: 168.2 MB / 0.573 GB Notification: Performance of matching and sorting (n=44): time 0.002641/0.8746, allocations: 0.7298 MB / 0.9706 GB, free: 167.4 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.644e-05/0.8746, allocations: 89.11 kB / 0.9707 GB, free: 167.3 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000172/0.8748, allocations: 254 kB / 0.9709 GB, free: 167.1 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.8748, allocations: 25.7 kB / 0.971 GB, free: 167 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 4.62e-05/0.8749, allocations: 184.4 kB / 0.9711 GB, free: 166.8 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 5.721e-05/0.875, allocations: 149.8 kB / 0.9713 GB, free: 166.7 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.591e-05/0.875, allocations: 0 / 0.9713 GB, free: 166.7 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 4.795e-05/0.875, allocations: 350.8 kB / 0.9716 GB, free: 166.3 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.8752, allocations: 120.9 kB / 0.9717 GB, free: 166.2 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001607/0.8753, allocations: 184.1 kB / 0.9719 GB, free: 166 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004112/0.8758, allocations: 148.7 kB / 0.972 GB, free: 165.9 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.8758, allocations: 0 / 0.972 GB, free: 165.9 MB / 0.573 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.002509/0.8783, allocations: 0.7612 MB / 0.9728 GB, free: 165.1 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 8.215e-06/0.8783, allocations: 4 kB / 0.9728 GB, free: 165.1 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.8783, allocations: 3.906 kB / 0.9728 GB, free: 165.1 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002309/0.8806, allocations: 493.2 kB / 0.9733 GB, free: 164.6 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002253/0.8809, allocations: 59.97 kB / 0.9733 GB, free: 164.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001159/0.882, allocations: 2.035 MB / 0.9753 GB, free: 162.4 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002166/0.8823, allocations: 35.83 kB / 0.9753 GB, free: 162.4 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.751e-05/0.8823, allocations: 19.98 kB / 0.9754 GB, free: 162.3 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (thermalConvection.turb_flag) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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: 1 {(1,100.0%) 3} * Non-linear torn systems: 1 {1 11} Notification: Performance of prepare postOptimizeDAE: time 6.977e-05/0.8824, allocations: 118.6 kB / 0.9755 GB, free: 162.2 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.175e-05/0.8824, allocations: 39.53 kB / 0.9755 GB, free: 162.2 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002674/0.8851, allocations: 0.8317 MB / 0.9763 GB, free: 161.3 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.8851, allocations: 4 kB / 0.9763 GB, free: 161.3 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.8852, allocations: 4 kB / 0.9763 GB, free: 161.3 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.8852, allocations: 3.984 kB / 0.9763 GB, free: 161.3 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003001/0.8882, allocations: 1.318 MB / 0.9776 GB, free: 159.9 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.8882, allocations: 0 / 0.9776 GB, free: 159.9 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002062/0.8884, allocations: 59.91 kB / 0.9777 GB, free: 159.9 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002286/0.8907, allocations: 485.3 kB / 0.9781 GB, free: 159.4 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.584e-05/0.8907, allocations: 11.89 kB / 0.9782 GB, free: 159.4 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00108/0.8918, allocations: 2.038 MB / 0.9802 GB, free: 157.2 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.8918, allocations: 0 / 0.9802 GB, free: 157.2 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002725/0.8946, allocations: 1.141 MB / 0.9813 GB, free: 156.1 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.93e-05/0.8946, allocations: 124.4 kB / 0.9814 GB, free: 155.9 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.108e-05/0.8947, allocations: 12.05 kB / 0.9814 GB, free: 155.9 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000251/0.8949, allocations: 8 kB / 0.9814 GB, free: 155.9 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.255e-05/0.895, allocations: 27.95 kB / 0.9814 GB, free: 155.9 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.477e-05/0.895, allocations: 16.09 kB / 0.9814 GB, free: 155.8 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.0001155/0.8951, allocations: 204.5 kB / 0.9816 GB, free: 155.6 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0004669/0.8956, allocations: 207.5 kB / 0.9818 GB, free: 155.4 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (flowResistance.inlet.m_flow,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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: 1 {(1,100.0%) 3} * Non-linear torn systems: 1 {1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003735/0.896, allocations: 411.3 kB / 0.9822 GB, free: 155.1 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0005798/0.8966, allocations: 499.8 kB / 0.9827 GB, free: 154.6 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.8966, allocations: 4.25 kB / 0.9827 GB, free: 154.5 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003646/0.897, allocations: 343.2 kB / 0.983 GB, free: 154.2 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005175/0.8975, allocations: 105.1 kB / 0.9831 GB, free: 154.1 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009119/0.8984, allocations: 0.6481 MB / 0.9838 GB, free: 153.4 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002526/0.8987, allocations: 0.882 MB / 0.9846 GB, free: 152.5 MB / 0.573 GB Notification: Performance of SimCode: time 2.21e-07/0.8987, allocations: 0 / 0.9846 GB, free: 152.5 MB / 0.573 GB Notification: Performance of Templates: time 0.01099/0.9097, allocations: 9.554 MB / 0.994 GB, free: 143.1 MB / 0.573 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConvectivePipe_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches