Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_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 trunk/package.mo): time 0.00181/0.00181, allocations: 195.5 kB / 8.54 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 225.5 MB / 234.4 MB, free: 3.355 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008712/0.0008712, allocations: 93.8 kB / 286.3 MB, free: 5.207 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1972/0.1972, allocations: 45.13 MB / 383.3 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 7.274e-06/7.374e-06, allocations: 0 / 452.6 MB, free: 76.16 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1145, allocations: 63.24 MB / 0.5038 GB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.337/0.4515, allocations: 95.1 MB / 0.5967 GB, free: 7.797 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002179/0.4518, allocations: 94.19 kB / 0.5968 GB, free: 7.742 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.04561/0.4974, allocations: 10.85 MB / 0.6074 GB, free: 14.55 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.486e-05/0.4975, allocations: 4 kB / 0.6074 GB, free: 14.54 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.001586/0.4991, allocations: 0.6219 MB / 0.608 GB, free: 13.9 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.617e-05/0.4992, allocations: 16.03 kB / 0.608 GB, free: 13.88 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000709/0.4999, allocations: 91.39 kB / 0.6081 GB, free: 13.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006312/0.5005, allocations: 281.1 kB / 0.6083 GB, free: 13.49 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.465e-05/0.5006, allocations: 16 kB / 0.6084 GB, free: 13.47 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.314e-05/0.5007, allocations: 20 kB / 0.6084 GB, free: 13.45 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008712/0.5016, allocations: 344.2 kB / 0.6087 GB, free: 13.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0011/0.5027, allocations: 0.4974 MB / 0.6092 GB, free: 12.78 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.5027, allocations: 4 kB / 0.6092 GB, free: 12.78 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.938e-05/0.5028, allocations: 0 / 0.6092 GB, free: 12.78 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-05/0.5028, allocations: 28.75 kB / 0.6092 GB, free: 12.75 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002625/0.5055, allocations: 1.241 MB / 0.6104 GB, free: 11.58 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005869/0.5061, allocations: 252.3 kB / 0.6107 GB, free: 11.33 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002846/0.5064, allocations: 111.7 kB / 0.6108 GB, free: 11.22 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.761e-05/0.5065, allocations: 23.77 kB / 0.6108 GB, free: 11.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.5065, allocations: 42.05 kB / 0.6108 GB, free: 11.15 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 2.344e-06/0.5065, allocations: 0 / 0.6108 GB, free: 11.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008834/0.5074, allocations: 262.2 kB / 0.6111 GB, free: 10.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.719e-05/0.5075, allocations: 110.8 kB / 0.6112 GB, free: 10.78 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002695/0.5078, allocations: 190.4 kB / 0.6114 GB, free: 10.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.497e-05/0.5078, allocations: 25.7 kB / 0.6114 GB, free: 10.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.508, allocations: 205.2 kB / 0.6116 GB, free: 10.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.186e-05/0.5081, allocations: 58.36 kB / 0.6117 GB, free: 10.33 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-05/0.5081, allocations: 0 / 0.6117 GB, free: 10.33 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.5083, allocations: 326.3 kB / 0.612 GB, free: 10.01 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000296/0.5086, allocations: 109.3 kB / 0.6121 GB, free: 9.906 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003178/0.5089, allocations: 144.4 kB / 0.6122 GB, free: 9.762 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003242/0.5092, allocations: 125.7 kB / 0.6123 GB, free: 9.652 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.5093, allocations: 4 kB / 0.6123 GB, free: 9.648 MB / 410.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008433/0.5101, allocations: 304.2 kB / 0.6126 GB, free: 9.367 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.5101, allocations: 4 kB / 0.6126 GB, free: 9.363 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001021/0.5103, allocations: 27.97 kB / 0.6127 GB, free: 9.336 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.5103, allocations: 8 kB / 0.6127 GB, free: 9.328 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003716/0.5107, allocations: 48.05 kB / 0.6127 GB, free: 9.281 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.5107, allocations: 4 kB / 0.6127 GB, free: 9.277 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003791/0.5111, allocations: 35.83 kB / 0.6127 GB, free: 9.242 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-05/0.5111, allocations: 15.23 kB / 0.6128 GB, free: 9.23 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.0001358/0.5113, allocations: 112.9 kB / 0.6129 GB, free: 9.113 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00016/0.5115, allocations: 19.72 kB / 0.6129 GB, free: 9.094 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001113/0.5126, allocations: 390.9 kB / 0.6133 GB, free: 8.734 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/0.5126, allocations: 4 kB / 0.6133 GB, free: 8.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.5126, allocations: 4 kB / 0.6133 GB, free: 8.727 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.5127, allocations: 0 / 0.6133 GB, free: 8.727 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007812/0.5134, allocations: 332 kB / 0.6136 GB, free: 8.402 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.623e-05/0.5136, allocations: 27.97 kB / 0.6136 GB, free: 8.375 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002745/0.5138, allocations: 35.97 kB / 0.6136 GB, free: 8.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.313e-06/0.5139, allocations: 3.906 kB / 0.6136 GB, free: 8.336 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.33e-05/0.5139, allocations: 15.48 kB / 0.6137 GB, free: 8.324 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.5139, allocations: 0 / 0.6137 GB, free: 8.324 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/0.5139, allocations: 7.938 kB / 0.6137 GB, free: 8.316 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008608/0.5148, allocations: 0.5243 MB / 0.6142 GB, free: 7.789 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.811e-05/0.5149, allocations: 104.2 kB / 0.6143 GB, free: 7.672 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.05e-05/0.515, allocations: 4 kB / 0.6143 GB, free: 7.668 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004934/0.5155, allocations: 23.98 kB / 0.6143 GB, free: 7.645 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.5156, allocations: 15.97 kB / 0.6143 GB, free: 7.629 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-05/0.5157, allocations: 15.44 kB / 0.6143 GB, free: 7.617 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001735/0.5159, allocations: 146.1 kB / 0.6145 GB, free: 7.492 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001003/0.5169, allocations: 146.8 kB / 0.6146 GB, free: 7.348 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.0004442/0.5173, allocations: 221.2 kB / 0.6148 GB, free: 7.125 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008175/0.5182, allocations: 474.1 kB / 0.6153 GB, free: 6.633 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.5182, allocations: 0 / 0.6153 GB, free: 6.633 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004573/0.5187, allocations: 365 kB / 0.6156 GB, free: 6.234 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005117/0.5192, allocations: 19.61 kB / 0.6156 GB, free: 6.219 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002025/0.5212, allocations: 0.5492 MB / 0.6162 GB, free: 5.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006446/0.5219, allocations: 0.8772 MB / 0.617 GB, free: 4.773 MB / 410.7 MB Notification: Performance of SimCode: time 4.11e-07/0.5219, allocations: 0 / 0.617 GB, free: 4.773 MB / 410.7 MB Notification: Performance of Templates: time 0.01256/0.5345, allocations: 4.347 MB / 0.6213 GB, free: 488 kB / 410.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches