Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.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_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|heatCapacitor.T|heatCapacitor1.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_serial") translateModel(ThermofluidStream.Processes.Tests.ConvectivePipe_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|heatCapacitor.T|heatCapacitor1.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_serial") [: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.001834/0.001834, allocations: 177.5 kB / 7.455 MB, free: 2.512 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.8801/0.8801, allocations: 205.2 MB / 213.1 MB, free: 13.85 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.0007382/0.0007382, allocations: 90.09 kB / 261.1 MB, free: 13.54 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.4615/0.4615, allocations: 90.34 MB / 399.4 MB, free: 12.28 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.418e-06/4.438e-06, allocations: 0 / 471.7 MB, free: 3.82 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.196/0.196, allocations: 66.26 MB / 0.5253 GB, free: 28.96 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3735/0.5696, allocations: 353.3 MB / 0.8703 GB, free: 14.8 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000176/0.5698, allocations: 77.28 kB / 0.8704 GB, free: 14.76 MB / 0.5573 GB Notification: Performance of FrontEnd: time 0.3409/0.9107, allocations: 131.7 MB / 0.999 GB, free: 140.3 MB / 0.573 GB Notification: Performance of Transformations before backend: time 3.125e-05/0.9108, allocations: 16 kB / 0.999 GB, free: 140.3 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: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.001361/0.9121, allocations: 1.028 MB / 1 GB, free: 139.2 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 2.916e-05/0.9122, allocations: 12.03 kB / 1 GB, free: 139.2 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001879/0.9124, allocations: 90.91 kB / 1 GB, free: 139.1 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00045/0.9128, allocations: 464.3 kB / 1.001 GB, free: 138.6 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.9129, allocations: 20 kB / 1.001 GB, free: 138.6 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.542e-05/0.9129, allocations: 36 kB / 1.001 GB, free: 138.5 MB / 0.573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006755/0.9136, allocations: 0.5649 MB / 1.001 GB, free: 138 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006488/0.9143, allocations: 0.5565 MB / 1.002 GB, free: 137.4 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.9143, allocations: 0 / 1.002 GB, free: 137.4 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.89e-05/0.9143, allocations: 0 / 1.002 GB, free: 137.4 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/0.9144, allocations: 20 kB / 1.002 GB, free: 137.4 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002294/0.9166, allocations: 2.902 MB / 1.005 GB, free: 134.2 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003598/0.917, allocations: 327.4 kB / 1.005 GB, free: 133.9 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002673/0.9173, allocations: 272.1 kB / 1.005 GB, free: 133.6 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002867/0.9176, allocations: 0.6733 MB / 1.006 GB, free: 132.8 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.259e-05/0.9176, allocations: 43.22 kB / 1.006 GB, free: 132.7 MB / 0.573 GB Notification: Performance of pre-optimization done (n=69): time 1.653e-06/0.9176, allocations: 0 / 1.006 GB, free: 132.7 MB / 0.573 GB Notification: Performance of matching and sorting (n=69): time 0.004613/0.9222, allocations: 1.255 MB / 1.007 GB, free: 131.5 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.747e-05/0.9223, allocations: 89.75 kB / 1.007 GB, free: 131.3 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002372/0.9225, allocations: 325.1 kB / 1.007 GB, free: 131 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.724e-05/0.9225, allocations: 25.7 kB / 1.007 GB, free: 131 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 6.338e-05/0.9226, allocations: 252.3 kB / 1.008 GB, free: 130.7 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 8.478e-05/0.9227, allocations: 228.5 kB / 1.008 GB, free: 130.5 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.279e-05/0.9227, allocations: 0 / 1.008 GB, free: 130.5 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 5.899e-05/0.9228, allocations: 366.8 kB / 1.008 GB, free: 130.1 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002374/0.923, allocations: 201.5 kB / 1.008 GB, free: 130 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002575/0.9233, allocations: 281.7 kB / 1.009 GB, free: 129.7 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006465/0.9239, allocations: 239.1 kB / 1.009 GB, free: 129.4 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.924, allocations: 0 / 1.009 GB, free: 129.4 MB / 0.573 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.004681/0.9286, allocations: 1.313 MB / 1.01 GB, free: 128.1 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 8.887e-06/0.9287, allocations: 4 kB / 1.01 GB, free: 128.1 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.9287, allocations: 4 kB / 1.01 GB, free: 128.1 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004514/0.9332, allocations: 0.9274 MB / 1.011 GB, free: 127.1 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003248/0.9335, allocations: 95.89 kB / 1.011 GB, free: 127 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001699/0.9352, allocations: 2.787 MB / 1.014 GB, free: 124.1 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003256/0.9356, allocations: 55.7 kB / 1.014 GB, free: 124 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.079e-05/0.9356, allocations: 28.06 kB / 1.014 GB, free: 124 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 2 (thermalConvection1.turb_flag,thermalConvection.turb_flag) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 53 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 2 {1 11,1 11} Notification: Performance of prepare postOptimizeDAE: time 8.597e-05/0.9357, allocations: 124.8 kB / 1.014 GB, free: 123.9 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.378e-05/0.9358, allocations: 59.25 kB / 1.014 GB, free: 123.8 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004932/0.9407, allocations: 1.399 MB / 1.016 GB, free: 122.4 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.9408, allocations: 11.91 kB / 1.016 GB, free: 122.4 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.9408, allocations: 4 kB / 1.016 GB, free: 122.4 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.9408, allocations: 3.984 kB / 1.016 GB, free: 122.4 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005338/0.9461, allocations: 2.032 MB / 1.018 GB, free: 120.3 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.9461, allocations: 0 / 1.018 GB, free: 120.3 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002871/0.9464, allocations: 87.83 kB / 1.018 GB, free: 120.2 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004387/0.9508, allocations: 0.9235 MB / 1.019 GB, free: 119.3 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.698e-05/0.9509, allocations: 11.98 kB / 1.019 GB, free: 119.3 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001609/0.9525, allocations: 2.779 MB / 1.021 GB, free: 116.3 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.9525, allocations: 0 / 1.021 GB, free: 116.3 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004875/0.9574, allocations: 1.796 MB / 1.023 GB, free: 114.5 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.776e-05/0.9575, allocations: 144.2 kB / 1.023 GB, free: 114.3 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.193e-05/0.9575, allocations: 4 kB / 1.023 GB, free: 114.3 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000338/0.9579, allocations: 23.89 kB / 1.023 GB, free: 114.3 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.04e-05/0.958, allocations: 36.59 kB / 1.023 GB, free: 114.3 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.443e-05/0.958, allocations: 23.98 kB / 1.023 GB, free: 114.2 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.0001606/0.9582, allocations: 255.2 kB / 1.024 GB, free: 114 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0005898/0.9588, allocations: 299.4 kB / 1.024 GB, free: 113.7 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (heatCapacitor.T,thermalConvection1.inlet.m_flow,heatCapacitor1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 43 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 2 {1 11,1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004898/0.9593, allocations: 0.5449 MB / 1.024 GB, free: 113.1 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0008603/0.9601, allocations: 0.7016 MB / 1.025 GB, free: 112.4 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.9601, allocations: 0 / 1.025 GB, free: 112.4 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005195/0.9607, allocations: 470.1 kB / 1.025 GB, free: 112 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006679/0.9613, allocations: 137.7 kB / 1.026 GB, free: 111.8 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.9627, allocations: 0.9698 MB / 1.027 GB, free: 110.8 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003255/0.963, allocations: 0.9765 MB / 1.028 GB, free: 109.8 MB / 0.573 GB Notification: Performance of SimCode: time 2.5e-07/0.963, allocations: 3.938 kB / 1.028 GB, free: 109.8 MB / 0.573 GB Notification: Performance of Templates: time 0.01588/0.9789, allocations: 14.48 MB / 1.042 GB, free: 95.44 MB / 0.573 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_serial -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConvectivePipe_serial_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches