Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|n_nt.1.|n_nt.2.|n_nt.3.|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_1.y|input_mflow_2.y|input_mflow_0.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|n_nt.1.|n_nt.2.|n_nt.3.|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_1.y|input_mflow_2.y|input_mflow_0.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002532/0.002532, allocations: 172.3 kB / 8.147 MB, free: 2.211 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.833/1.833, allocations: 205.2 MB / 213.8 MB, free: 13.92 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00124/0.00124, allocations: 88.56 kB / 261.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2794/0.2794, allocations: 43.5 MB / 353.2 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.166e-05/1.182e-05, allocations: 0 / 417.7 MB, free: 40.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.318, allocations: 58.83 MB / 476.6 MB, free: 5.109 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1703/0.4884, allocations: 92.1 MB / 0.5553 GB, free: 6.953 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000398/0.4888, allocations: 103.2 kB / 0.5554 GB, free: 6.855 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.04732/0.5362, allocations: 10.3 MB / 0.5655 GB, free: 12.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2e-05/0.5362, allocations: 4 kB / 0.5655 GB, free: 12.39 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001358/0.5376, allocations: 0.6229 MB / 0.5661 GB, free: 11.72 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.5377, allocations: 12.03 kB / 0.5661 GB, free: 11.71 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001233/0.5378, allocations: 43.44 kB / 0.5662 GB, free: 11.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005258/0.5383, allocations: 282.2 kB / 0.5664 GB, free: 11.35 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.497e-05/0.5384, allocations: 20 kB / 0.5664 GB, free: 11.33 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.818e-05/0.5385, allocations: 20 kB / 0.5665 GB, free: 11.31 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009456/0.5394, allocations: 341.6 kB / 0.5668 GB, free: 10.97 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001177/0.5406, allocations: 0.5003 MB / 0.5673 GB, free: 10.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.5407, allocations: 0 / 0.5673 GB, free: 10.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.462e-05/0.5407, allocations: 0 / 0.5673 GB, free: 10.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.854e-05/0.5408, allocations: 20.78 kB / 0.5673 GB, free: 10.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002848/0.5436, allocations: 1.248 MB / 0.5685 GB, free: 9.133 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006471/0.5443, allocations: 247.6 kB / 0.5688 GB, free: 8.863 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003515/0.5447, allocations: 115.3 kB / 0.5689 GB, free: 8.742 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.11e-05/0.5448, allocations: 23.81 kB / 0.5689 GB, free: 8.719 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.5448, allocations: 38.56 kB / 0.5689 GB, free: 8.672 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 3.677e-06/0.5448, allocations: 0 / 0.5689 GB, free: 8.672 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009627/0.5458, allocations: 262.7 kB / 0.5692 GB, free: 8.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.716e-05/0.5459, allocations: 106.9 kB / 0.5693 GB, free: 8.281 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002908/0.5462, allocations: 195 kB / 0.5695 GB, free: 8.082 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.795e-05/0.5462, allocations: 25.81 kB / 0.5695 GB, free: 8.051 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001655/0.5464, allocations: 266 kB / 0.5697 GB, free: 7.785 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.104e-05/0.5465, allocations: 59.09 kB / 0.5698 GB, free: 7.727 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.649e-05/0.5465, allocations: 0 / 0.5698 GB, free: 7.727 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.5467, allocations: 318.8 kB / 0.5701 GB, free: 7.406 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003261/0.547, allocations: 104.1 kB / 0.5702 GB, free: 7.301 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003621/0.5474, allocations: 145.4 kB / 0.5703 GB, free: 7.141 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003708/0.5478, allocations: 123.8 kB / 0.5705 GB, free: 7.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.5478, allocations: 0 / 0.5705 GB, free: 7.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0009959/0.5488, allocations: 298.9 kB / 0.5707 GB, free: 6.723 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.5489, allocations: 4 kB / 0.5707 GB, free: 6.719 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001122/0.549, allocations: 31.97 kB / 0.5708 GB, free: 6.688 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.549, allocations: 0 / 0.5708 GB, free: 6.688 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004312/0.5494, allocations: 48 kB / 0.5708 GB, free: 6.641 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.5495, allocations: 0 / 0.5708 GB, free: 6.641 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003494/0.5498, allocations: 35.81 kB / 0.5709 GB, free: 6.605 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.176e-05/0.5499, allocations: 15.94 kB / 0.5709 GB, free: 6.59 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001017/0.55, allocations: 39.02 kB / 0.5709 GB, free: 6.547 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.5501, allocations: 23.73 kB / 0.5709 GB, free: 6.523 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001276/0.5514, allocations: 394.4 kB / 0.5713 GB, free: 6.129 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/0.5515, allocations: 4 kB / 0.5713 GB, free: 6.125 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.5515, allocations: 0 / 0.5713 GB, free: 6.125 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.5515, allocations: 0 / 0.5713 GB, free: 6.125 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008193/0.5523, allocations: 325.9 kB / 0.5716 GB, free: 5.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001005/0.5524, allocations: 35.95 kB / 0.5717 GB, free: 5.734 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003528/0.5528, allocations: 39.97 kB / 0.5717 GB, free: 5.695 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-05/0.5528, allocations: 4 kB / 0.5717 GB, free: 5.691 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.612e-05/0.5529, allocations: 4 kB / 0.5717 GB, free: 5.688 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.255e-06/0.5529, allocations: 8 kB / 0.5717 GB, free: 5.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/0.5529, allocations: 3.938 kB / 0.5717 GB, free: 5.676 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009915/0.5539, allocations: 0.5296 MB / 0.5722 GB, free: 5.117 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.554, allocations: 96.92 kB / 0.5723 GB, free: 5.004 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.699e-05/0.5541, allocations: 4 kB / 0.5723 GB, free: 5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004714/0.5546, allocations: 23.97 kB / 0.5723 GB, free: 4.977 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.5547, allocations: 19.89 kB / 0.5724 GB, free: 4.957 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-05/0.5548, allocations: 15.98 kB / 0.5724 GB, free: 4.941 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0002002/0.555, allocations: 149.5 kB / 0.5725 GB, free: 4.797 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007872/0.5558, allocations: 143.5 kB / 0.5727 GB, free: 4.656 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004519/0.5562, allocations: 205.2 kB / 0.5729 GB, free: 4.449 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009772/0.5572, allocations: 479 kB / 0.5733 GB, free: 3.926 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.5573, allocations: 8.25 kB / 0.5733 GB, free: 3.918 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005391/0.5578, allocations: 363.2 kB / 0.5737 GB, free: 3.508 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004863/0.5583, allocations: 19.98 kB / 0.5737 GB, free: 3.488 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002271/0.5606, allocations: 0.5714 MB / 0.5742 GB, free: 2.867 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007182/0.5614, allocations: 0.8754 MB / 0.5751 GB, free: 1.969 MB / 410.7 MB Notification: Performance of SimCode: time 9.02e-07/0.5614, allocations: 0 / 0.5751 GB, free: 1.969 MB / 410.7 MB Notification: Performance of Templates: time 0.01278/0.5742, allocations: 5.485 MB / 0.5805 GB, free: 12.49 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_turbulent/kc_turbulent.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches