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_laminar.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_laminar,tolerance=1e-06,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_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar,tolerance=1e-06,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_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar") [: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.0016/0.0016, allocations: 175 kB / 8.149 MB, free: 2.215 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.712/1.712, allocations: 205.2 MB / 213.8 MB, free: 13.93 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.001262/0.001261, allocations: 91.48 kB / 261.8 MB, free: 13.63 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.2875/0.2875, allocations: 43.49 MB / 353.2 MB, free: 2.031 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.4e-05/1.415e-05, allocations: 4 kB / 417.7 MB, free: 40.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.287, allocations: 58.84 MB / 476.6 MB, free: 5.094 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.164/0.4511, allocations: 92.9 MB / 0.5561 GB, free: 6.172 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003694/0.4515, allocations: 91.92 kB / 0.5562 GB, free: 6.082 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.04785/0.4994, allocations: 10.44 MB / 0.5664 GB, free: 11.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.8e-05/0.4994, allocations: 4 kB / 0.5664 GB, free: 11.48 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.001317/0.5008, allocations: 0.6268 MB / 0.567 GB, free: 10.81 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.5008, allocations: 8.031 kB / 0.567 GB, free: 10.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001539/0.501, allocations: 47.44 kB / 0.5671 GB, free: 10.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005302/0.5015, allocations: 290.2 kB / 0.5673 GB, free: 10.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.671e-05/0.5016, allocations: 12 kB / 0.5674 GB, free: 10.42 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.226e-05/0.5017, allocations: 20 kB / 0.5674 GB, free: 10.4 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009257/0.5026, allocations: 345.6 kB / 0.5677 GB, free: 10.05 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001182/0.5038, allocations: 0.5003 MB / 0.5682 GB, free: 9.539 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.5038, allocations: 0 / 0.5682 GB, free: 9.539 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.948e-05/0.5039, allocations: 0 / 0.5682 GB, free: 9.539 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.691e-05/0.504, allocations: 24.78 kB / 0.5682 GB, free: 9.516 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002877/0.5068, allocations: 1.244 MB / 0.5694 GB, free: 8.219 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006389/0.5075, allocations: 247.6 kB / 0.5697 GB, free: 7.949 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003264/0.5079, allocations: 121 kB / 0.5698 GB, free: 7.824 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.576e-05/0.5079, allocations: 11.89 kB / 0.5698 GB, free: 7.812 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.508, allocations: 42.5 kB / 0.5698 GB, free: 7.762 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 2.655e-06/0.508, allocations: 0 / 0.5698 GB, free: 7.762 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009842/0.509, allocations: 265.3 kB / 0.5701 GB, free: 7.496 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.067e-05/0.5091, allocations: 114.8 kB / 0.5702 GB, free: 7.359 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002871/0.5094, allocations: 186.9 kB / 0.5704 GB, free: 7.168 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.738e-05/0.5094, allocations: 25.81 kB / 0.5704 GB, free: 7.137 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/0.5096, allocations: 270 kB / 0.5707 GB, free: 6.867 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.111e-05/0.5097, allocations: 55.09 kB / 0.5707 GB, free: 6.812 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.699e-05/0.5097, allocations: 0 / 0.5707 GB, free: 6.812 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.5099, allocations: 318.8 kB / 0.571 GB, free: 6.492 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003273/0.5102, allocations: 108.1 kB / 0.5711 GB, free: 6.383 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003582/0.5106, allocations: 149.4 kB / 0.5713 GB, free: 6.219 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003722/0.511, allocations: 115.8 kB / 0.5714 GB, free: 6.105 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.511, allocations: 0 / 0.5714 GB, free: 6.105 MB / 410.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0009376/0.5119, allocations: 298.7 kB / 0.5717 GB, free: 5.809 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.512, allocations: 4 kB / 0.5717 GB, free: 5.805 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001083/0.5121, allocations: 31.97 kB / 0.5717 GB, free: 5.773 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.5121, allocations: 0 / 0.5717 GB, free: 5.773 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004293/0.5125, allocations: 48.06 kB / 0.5717 GB, free: 5.727 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.5126, allocations: 0 / 0.5717 GB, free: 5.727 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003604/0.5129, allocations: 35.81 kB / 0.5718 GB, free: 5.691 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.682e-05/0.513, allocations: 23.98 kB / 0.5718 GB, free: 5.668 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 9.73e-05/0.5131, allocations: 31.02 kB / 0.5718 GB, free: 5.633 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/0.5132, allocations: 15.81 kB / 0.5718 GB, free: 5.617 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001275/0.5145, allocations: 398.5 kB / 0.5722 GB, free: 5.223 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/0.5146, allocations: 4 kB / 0.5722 GB, free: 5.219 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.5146, allocations: 3.984 kB / 0.5722 GB, free: 5.215 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.5146, allocations: 4 kB / 0.5722 GB, free: 5.211 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007958/0.5154, allocations: 329.9 kB / 0.5725 GB, free: 4.852 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001023/0.5155, allocations: 35.97 kB / 0.5726 GB, free: 4.816 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003155/0.5158, allocations: 27.97 kB / 0.5726 GB, free: 4.789 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.396e-06/0.5159, allocations: 4 kB / 0.5726 GB, free: 4.785 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.646e-05/0.5159, allocations: 8 kB / 0.5726 GB, free: 4.777 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.506e-06/0.5159, allocations: 4 kB / 0.5726 GB, free: 4.773 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.5159, allocations: 3.938 kB / 0.5726 GB, free: 4.77 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001005/0.517, allocations: 0.5375 MB / 0.5731 GB, free: 4.203 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.159e-05/0.5171, allocations: 92.92 kB / 0.5732 GB, free: 4.094 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.637e-05/0.5171, allocations: 0 / 0.5732 GB, free: 4.094 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004733/0.5176, allocations: 27.97 kB / 0.5733 GB, free: 4.066 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.5177, allocations: 19.89 kB / 0.5733 GB, free: 4.047 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.865e-05/0.5178, allocations: 19.98 kB / 0.5733 GB, free: 4.027 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001955/0.518, allocations: 149.5 kB / 0.5734 GB, free: 3.883 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007888/0.5188, allocations: 147.4 kB / 0.5736 GB, free: 3.738 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.0004834/0.5193, allocations: 204.9 kB / 0.5738 GB, free: 3.527 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009323/0.5202, allocations: 483.1 kB / 0.5742 GB, free: 3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.5203, allocations: 0 / 0.5742 GB, free: 3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005371/0.5208, allocations: 363.2 kB / 0.5746 GB, free: 2.59 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005394/0.5214, allocations: 15.98 kB / 0.5746 GB, free: 2.574 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002207/0.5236, allocations: 0.5834 MB / 0.5752 GB, free: 1.941 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00069/0.5243, allocations: 0.8714 MB / 0.576 GB, free: 1.047 MB / 410.7 MB Notification: Performance of SimCode: time 1.563e-06/0.5243, allocations: 4 kB / 0.576 GB, free: 1.043 MB / 410.7 MB Notification: Performance of Templates: time 0.01253/0.5369, allocations: 5.509 MB / 0.5814 GB, free: 11.54 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_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_laminar/kc_laminar.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches