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_KC.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_KC,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.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|m_flow_3.1.|m_flow_3.2.|m_flow_3.3.|kc_1.1.|kc_1.2.|kc_1.3.|kc_2.1.|kc_2.2.|kc_2.3.|kc_3.1.|kc_3.2.|kc_3.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|Re_3.1.|Re_3.2.|Re_3.3.|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC,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.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|m_flow_3.1.|m_flow_3.2.|m_flow_3.3.|kc_1.1.|kc_1.2.|kc_1.3.|kc_2.1.|kc_2.2.|kc_2.3.|kc_3.1.|kc_3.2.|kc_3.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|Re_3.1.|Re_3.2.|Re_3.3.|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC") [: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.002424/0.002424, allocations: 171.2 kB / 8.149 MB, free: 2.223 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.728/1.728, allocations: 205.2 MB / 213.8 MB, free: 13.91 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.001274/0.001274, allocations: 96.5 kB / 261.8 MB, free: 13.62 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.26/0.26, allocations: 43.49 MB / 353.2 MB, free: 2.023 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.283e-06/7.704e-06, allocations: 0 / 417.7 MB, free: 40.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2709, allocations: 58.85 MB / 476.6 MB, free: 5.086 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1636/0.4346, allocations: 91.01 MB / 0.5543 GB, free: 8.043 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004113/0.435, allocations: 99.92 kB / 0.5544 GB, free: 7.945 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.04959/0.4846, allocations: 9.022 MB / 0.5632 GB, free: 14.76 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.69e-05/0.4847, allocations: 4 kB / 0.5632 GB, free: 14.75 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001219/0.4859, allocations: 0.5722 MB / 0.5637 GB, free: 14.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.486, allocations: 8.031 kB / 0.5638 GB, free: 14.13 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001245/0.4861, allocations: 43.44 kB / 0.5638 GB, free: 14.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005474/0.4867, allocations: 274.4 kB / 0.5641 GB, free: 13.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.4867, allocations: 12 kB / 0.5641 GB, free: 13.76 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.37e-05/0.4868, allocations: 24 kB / 0.5641 GB, free: 13.74 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001168/0.488, allocations: 0.4936 MB / 0.5646 GB, free: 13.24 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001162/0.4892, allocations: 495.1 kB / 0.565 GB, free: 12.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.4892, allocations: 0 / 0.565 GB, free: 12.75 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.809e-05/0.4893, allocations: 0 / 0.565 GB, free: 12.75 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.828e-05/0.4894, allocations: 36.98 kB / 0.5651 GB, free: 12.71 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003/0.4924, allocations: 1.065 MB / 0.5661 GB, free: 11.61 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001182/0.4936, allocations: 453.2 kB / 0.5666 GB, free: 11.16 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004034/0.494, allocations: 141.2 kB / 0.5667 GB, free: 11.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.905e-05/0.4941, allocations: 16.22 kB / 0.5667 GB, free: 11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.809e-05/0.4941, allocations: 34.8 kB / 0.5667 GB, free: 10.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 2.875e-06/0.4941, allocations: 0 / 0.5667 GB, free: 10.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.001105/0.4953, allocations: 355.2 kB / 0.5671 GB, free: 10.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.4953, allocations: 55.41 kB / 0.5671 GB, free: 10.54 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.4955, allocations: 130.8 kB / 0.5673 GB, free: 10.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.031e-05/0.4956, allocations: 25.7 kB / 0.5673 GB, free: 10.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001514/0.4957, allocations: 262.5 kB / 0.5675 GB, free: 10.12 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/0.4959, allocations: 90.56 kB / 0.5676 GB, free: 10.03 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.588e-05/0.4959, allocations: 0 / 0.5676 GB, free: 10.03 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.4961, allocations: 322.8 kB / 0.5679 GB, free: 9.703 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003582/0.4964, allocations: 127.8 kB / 0.568 GB, free: 9.578 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003633/0.4968, allocations: 127.9 kB / 0.5682 GB, free: 9.453 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004306/0.4973, allocations: 151.8 kB / 0.5683 GB, free: 9.305 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.4973, allocations: 0 / 0.5683 GB, free: 9.305 MB / 410.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00106/0.4983, allocations: 342 kB / 0.5686 GB, free: 8.965 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.4984, allocations: 11.88 kB / 0.5686 GB, free: 8.953 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.4984, allocations: 4 kB / 0.5687 GB, free: 8.949 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.336e-05/0.4984, allocations: 4 kB / 0.5687 GB, free: 8.945 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001619/0.5001, allocations: 155.9 kB / 0.5688 GB, free: 8.793 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00455/0.5047, allocations: 5.548 MB / 0.5742 GB, free: 3.035 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003646/0.5051, allocations: 28.05 kB / 0.5742 GB, free: 3.008 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.394e-05/0.5051, allocations: 11.98 kB / 0.5743 GB, free: 2.996 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001324/0.5053, allocations: 37.64 kB / 0.5743 GB, free: 2.953 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.396e-05/0.5054, allocations: 15.81 kB / 0.5743 GB, free: 2.938 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001568/0.507, allocations: 0.4907 MB / 0.5748 GB, free: 2.445 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.507, allocations: 8 kB / 0.5748 GB, free: 2.438 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.507, allocations: 0 / 0.5748 GB, free: 2.438 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.507, allocations: 0 / 0.5748 GB, free: 2.438 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007688/0.5078, allocations: 345.8 kB / 0.5751 GB, free: 2.062 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.5078, allocations: 0 / 0.5751 GB, free: 2.062 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001582/0.5094, allocations: 167.8 kB / 0.5753 GB, free: 1.898 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.297e-06/0.5095, allocations: 0 / 0.5753 GB, free: 1.898 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.832e-05/0.5095, allocations: 7.906 kB / 0.5753 GB, free: 1.891 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004645/0.5142, allocations: 5.606 MB / 0.5808 GB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.5142, allocations: 0 / 0.5808 GB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001086/0.5153, allocations: 447.1 kB / 0.5812 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.832e-05/0.5154, allocations: 96.84 kB / 0.5813 GB, free: 11.51 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.288e-05/0.5155, allocations: 0 / 0.5813 GB, free: 11.51 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003667/0.5159, allocations: 16.08 kB / 0.5813 GB, free: 11.49 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.671e-05/0.516, allocations: 27.81 kB / 0.5813 GB, free: 11.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.382e-05/0.516, allocations: 8 kB / 0.5813 GB, free: 11.46 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001194/0.5162, allocations: 120.1 kB / 0.5815 GB, free: 11.34 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006205/0.5168, allocations: 119.5 kB / 0.5816 GB, free: 11.22 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004073/0.5172, allocations: 192.9 kB / 0.5818 GB, free: 11.02 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002375/0.5196, allocations: 432.3 kB / 0.5822 GB, free: 10.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.5197, allocations: 3.938 kB / 0.5822 GB, free: 10.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001972/0.5216, allocations: 303.7 kB / 0.5825 GB, free: 10.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003975/0.5221, allocations: 20.58 kB / 0.5825 GB, free: 10.28 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001916/0.524, allocations: 0.5844 MB / 0.583 GB, free: 9.668 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007464/0.5248, allocations: 0.8919 MB / 0.5839 GB, free: 8.746 MB / 426.7 MB Notification: Performance of SimCode: time 1.192e-06/0.5248, allocations: 0 / 0.5839 GB, free: 8.746 MB / 426.7 MB Notification: Performance of Templates: time 0.03081/0.5556, allocations: 16.91 MB / 0.6004 GB, free: 7.812 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_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/kc_laminar_KC.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches