Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 187.3 kB / 8.52 MB, free: 1.77 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.234/1.234, allocations: 221.4 MB / 230.3 MB, free: 3.078 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009314/0.0009314, allocations: 93.77 kB / 281.2 MB, free: 1.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4644/0.4644, allocations: 44.14 MB / 376.1 MB, free: 43.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.979e-06/9.999e-06, allocations: 4 kB / 444.1 MB, free: 11.63 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3254, allocations: 61.9 MB / 0.4941 GB, free: 42.45 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1138/0.4392, allocations: 94.05 MB / 0.586 GB, free: 7.27 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002472/0.4395, allocations: 91.94 kB / 0.586 GB, free: 7.18 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.02797/0.4675, allocations: 10.74 MB / 0.5965 GB, free: 12.3 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.556e-05/0.4675, allocations: 4 kB / 0.5965 GB, free: 12.3 MB / 426.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.0007946/0.4683, allocations: 0.6296 MB / 0.5971 GB, free: 11.63 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.4684, allocations: 12.03 kB / 0.5972 GB, free: 11.62 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.754e-05/0.4685, allocations: 43.44 kB / 0.5972 GB, free: 11.57 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003391/0.4688, allocations: 274.3 kB / 0.5975 GB, free: 11.27 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.639e-05/0.4688, allocations: 19.91 kB / 0.5975 GB, free: 11.25 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.441e-05/0.4689, allocations: 20 kB / 0.5975 GB, free: 11.23 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004869/0.4694, allocations: 353.5 kB / 0.5978 GB, free: 10.88 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006831/0.4701, allocations: 0.5003 MB / 0.5983 GB, free: 10.37 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.4701, allocations: 0 / 0.5983 GB, free: 10.37 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.212e-05/0.4701, allocations: 0 / 0.5983 GB, free: 10.37 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.673e-05/0.4702, allocations: 20.78 kB / 0.5983 GB, free: 10.35 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001749/0.4719, allocations: 1.256 MB / 0.5996 GB, free: 9.039 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003396/0.4723, allocations: 247.6 kB / 0.5998 GB, free: 8.77 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000166/0.4725, allocations: 110.5 kB / 0.5999 GB, free: 8.652 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.69e-05/0.4725, allocations: 19.83 kB / 0.5999 GB, free: 8.633 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.4726, allocations: 42.56 kB / 0.6 GB, free: 8.582 MB / 426.7 MB Notification: Performance of pre-optimization done (n=17): time 1.553e-06/0.4726, allocations: 0 / 0.6 GB, free: 8.582 MB / 426.7 MB Notification: Performance of matching and sorting (n=17): time 0.000542/0.4731, allocations: 269.4 kB / 0.6002 GB, free: 8.312 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.4732, allocations: 106.8 kB / 0.6003 GB, free: 8.184 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001764/0.4734, allocations: 183 kB / 0.6005 GB, free: 7.996 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.4734, allocations: 25.7 kB / 0.6005 GB, free: 7.965 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.4735, allocations: 211.6 kB / 0.6007 GB, free: 7.75 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.571e-05/0.4736, allocations: 55.11 kB / 0.6008 GB, free: 7.695 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.603e-05/0.4736, allocations: 0 / 0.6008 GB, free: 7.695 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.985e-05/0.4737, allocations: 330.8 kB / 0.6011 GB, free: 7.363 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001634/0.4739, allocations: 108.1 kB / 0.6012 GB, free: 7.254 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001786/0.474, allocations: 145.4 kB / 0.6013 GB, free: 7.094 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001788/0.4742, allocations: 125 kB / 0.6015 GB, free: 6.973 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4742, allocations: 0 / 0.6015 GB, free: 6.973 MB / 426.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004838/0.4747, allocations: 308.5 kB / 0.6018 GB, free: 6.668 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.4747, allocations: 4 kB / 0.6018 GB, free: 6.664 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.641e-05/0.4748, allocations: 32.03 kB / 0.6018 GB, free: 6.633 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.4748, allocations: 8 kB / 0.6018 GB, free: 6.625 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002217/0.4751, allocations: 39.91 kB / 0.6018 GB, free: 6.586 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.4751, allocations: 4 kB / 0.6018 GB, free: 6.582 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002137/0.4753, allocations: 39.81 kB / 0.6019 GB, free: 6.543 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.101e-05/0.4753, allocations: 12 kB / 0.6019 GB, free: 6.531 MB / 426.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 8.64e-05/0.4754, allocations: 105.9 kB / 0.602 GB, free: 6.422 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.588e-05/0.4755, allocations: 27.66 kB / 0.602 GB, free: 6.395 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006521/0.4762, allocations: 386.3 kB / 0.6024 GB, free: 6.02 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.4762, allocations: 7.984 kB / 0.6024 GB, free: 6.012 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.4762, allocations: 0 / 0.6024 GB, free: 6.012 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.4762, allocations: 3.938 kB / 0.6024 GB, free: 6.008 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004431/0.4767, allocations: 329.9 kB / 0.6027 GB, free: 5.648 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-05/0.4767, allocations: 31.97 kB / 0.6027 GB, free: 5.617 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001689/0.4769, allocations: 35.92 kB / 0.6028 GB, free: 5.582 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.4769, allocations: 3.984 kB / 0.6028 GB, free: 5.578 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.666e-05/0.477, allocations: 11.91 kB / 0.6028 GB, free: 5.566 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.477, allocations: 0 / 0.6028 GB, free: 5.566 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.477, allocations: 4 kB / 0.6028 GB, free: 5.562 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005205/0.4775, allocations: 0.5334 MB / 0.6033 GB, free: 5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.345e-05/0.4776, allocations: 92.83 kB / 0.6034 GB, free: 4.891 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.618e-05/0.4776, allocations: 4 kB / 0.6034 GB, free: 4.887 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002756/0.4779, allocations: 27.97 kB / 0.6034 GB, free: 4.859 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.687e-05/0.478, allocations: 11.98 kB / 0.6034 GB, free: 4.848 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-05/0.478, allocations: 19.98 kB / 0.6035 GB, free: 4.828 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001114/0.4781, allocations: 144.2 kB / 0.6036 GB, free: 4.688 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005026/0.4786, allocations: 151.4 kB / 0.6037 GB, free: 4.539 MB / 426.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.0003157/0.479, allocations: 209.2 kB / 0.6039 GB, free: 4.324 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004955/0.4795, allocations: 477.7 kB / 0.6044 GB, free: 3.805 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.4795, allocations: 0 / 0.6044 GB, free: 3.805 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002913/0.4798, allocations: 363.2 kB / 0.6047 GB, free: 3.395 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/0.4801, allocations: 24.42 kB / 0.6048 GB, free: 3.371 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.4813, allocations: 0.5463 MB / 0.6053 GB, free: 2.785 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004951/0.4818, allocations: 0.8792 MB / 0.6062 GB, free: 1.883 MB / 426.7 MB Notification: Performance of SimCode: time 1.533e-06/0.4818, allocations: 0 / 0.6062 GB, free: 1.883 MB / 426.7 MB Notification: Performance of Templates: time 0.007582/0.4894, allocations: 4.333 MB / 0.6104 GB, free: 13.59 MB / 442.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_laminar/kc_laminar.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches