Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.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.Channel.kc_evenGapLaminar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dimlesslength|abscissa.1.|abscissa.2.|abscissa.3.|length|dimlesslength|Pr.1.|Pr.2.|Pr.3.|Re.1.|Re.2.|Re.3.|velocity.1.|velocity.2.|velocity.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.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.|Nu_4.1.|Nu_4.2.|Nu_4.3.|m_flow.1.|m_flow.2.|m_flow.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dimlesslength|abscissa.1.|abscissa.2.|abscissa.3.|length|dimlesslength|Pr.1.|Pr.2.|Pr.3.|Re.1.|Re.2.|Re.3.|velocity.1.|velocity.2.|velocity.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.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.|Nu_4.1.|Nu_4.2.|Nu_4.3.|m_flow.1.|m_flow.2.|m_flow.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar") [: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.002161/0.002161, allocations: 192.1 kB / 8.533 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 225.5 MB / 234.4 MB, free: 3.34 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001119/0.001119, allocations: 91.14 kB / 286.3 MB, free: 5.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2385/0.2385, allocations: 45.15 MB / 383.4 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 8.807e-06/8.837e-06, allocations: 0 / 452.6 MB, free: 76.19 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1354, allocations: 63.24 MB / 0.5038 GB, free: 13.02 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4618/0.5972, allocations: 94.67 MB / 0.5962 GB, free: 8.277 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003/0.5976, allocations: 92.44 kB / 0.5963 GB, free: 8.223 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.0369/0.6345, allocations: 14.44 MB / 0.6104 GB, free: 11.99 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.628e-05/0.6346, allocations: 8 kB / 0.6104 GB, free: 11.98 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.0008157/0.6354, allocations: 0.6123 MB / 0.611 GB, free: 11.36 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.6355, allocations: 8.031 kB / 0.611 GB, free: 11.35 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.507e-05/0.6356, allocations: 51.38 kB / 0.6111 GB, free: 11.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003973/0.636, allocations: 295.6 kB / 0.6114 GB, free: 10.98 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.817e-05/0.636, allocations: 16 kB / 0.6114 GB, free: 10.96 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.266e-05/0.6361, allocations: 28 kB / 0.6114 GB, free: 10.94 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006435/0.6367, allocations: 455.8 kB / 0.6119 GB, free: 10.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008158/0.6376, allocations: 0.5736 MB / 0.6124 GB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.6376, allocations: 0 / 0.6124 GB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.833e-05/0.6376, allocations: 0 / 0.6124 GB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-05/0.6377, allocations: 37.28 kB / 0.6124 GB, free: 10.08 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002281/0.64, allocations: 1.269 MB / 0.6137 GB, free: 8.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008143/0.6408, allocations: 466.3 kB / 0.6141 GB, free: 8.504 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002258/0.641, allocations: 145.8 kB / 0.6143 GB, free: 8.375 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.272e-05/0.6411, allocations: 15.97 kB / 0.6143 GB, free: 8.359 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.6411, allocations: 42.06 kB / 0.6143 GB, free: 8.312 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 1.903e-06/0.6411, allocations: 0 / 0.6143 GB, free: 8.312 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.0006748/0.6418, allocations: 363 kB / 0.6147 GB, free: 7.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/0.6419, allocations: 55.41 kB / 0.6147 GB, free: 7.914 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001949/0.6421, allocations: 183.8 kB / 0.6149 GB, free: 7.742 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.199e-05/0.6421, allocations: 29.7 kB / 0.6149 GB, free: 7.707 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/0.6422, allocations: 243.8 kB / 0.6152 GB, free: 7.484 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.825e-05/0.6423, allocations: 85.5 kB / 0.6152 GB, free: 7.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.176e-05/0.6423, allocations: 0 / 0.6152 GB, free: 7.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.6425, allocations: 329.6 kB / 0.6156 GB, free: 7.086 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002364/0.6427, allocations: 162 kB / 0.6157 GB, free: 6.945 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002973/0.643, allocations: 253.5 kB / 0.616 GB, free: 6.684 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002974/0.6433, allocations: 203 kB / 0.6161 GB, free: 6.508 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.6433, allocations: 0 / 0.6161 GB, free: 6.508 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007321/0.6441, allocations: 478.5 kB / 0.6166 GB, free: 6.074 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.6441, allocations: 4 kB / 0.6166 GB, free: 6.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.435e-05/0.6442, allocations: 47.55 kB / 0.6167 GB, free: 6.027 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.6442, allocations: 8 kB / 0.6167 GB, free: 6.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001969/0.6444, allocations: 35.92 kB / 0.6167 GB, free: 5.984 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.366e-05/0.6444, allocations: 11.92 kB / 0.6167 GB, free: 5.973 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002102/0.6446, allocations: 15.84 kB / 0.6167 GB, free: 5.957 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.765e-05/0.6447, allocations: 19.19 kB / 0.6167 GB, free: 5.941 MB / 410.7 MB Warning: Assuming fixed start value for the following 1 variables: dimlesslength:VARIABLE(start = 0.01 unit = "m" ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0001911/0.6449, allocations: 128.5 kB / 0.6169 GB, free: 5.812 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.918e-05/0.645, allocations: 15.81 kB / 0.6169 GB, free: 5.797 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001073/0.646, allocations: 0.586 MB / 0.6175 GB, free: 5.258 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.6461, allocations: 7.984 kB / 0.6175 GB, free: 5.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.6461, allocations: 0 / 0.6175 GB, free: 5.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.6461, allocations: 0 / 0.6175 GB, free: 5.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005602/0.6467, allocations: 387.7 kB / 0.6178 GB, free: 4.879 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.106e-05/0.6467, allocations: 35.97 kB / 0.6179 GB, free: 4.844 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001733/0.6469, allocations: 27.98 kB / 0.6179 GB, free: 4.816 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.6469, allocations: 4 kB / 0.6179 GB, free: 4.812 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.447e-05/0.647, allocations: 8 kB / 0.6179 GB, free: 4.805 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.647, allocations: 3.938 kB / 0.6179 GB, free: 4.801 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.647, allocations: 0 / 0.6179 GB, free: 4.801 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009732/0.648, allocations: 0.7082 MB / 0.6186 GB, free: 4.164 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.862e-05/0.648, allocations: 100.8 kB / 0.6187 GB, free: 4.047 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.942e-05/0.6481, allocations: 3.906 kB / 0.6187 GB, free: 4.043 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001507/0.6483, allocations: 4 kB / 0.6187 GB, free: 4.039 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.342e-05/0.6483, allocations: 24.03 kB / 0.6187 GB, free: 4.016 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.478e-05/0.6484, allocations: 15.12 kB / 0.6187 GB, free: 4.004 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001054/0.6485, allocations: 141.8 kB / 0.6189 GB, free: 3.883 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006254/0.6491, allocations: 178.8 kB / 0.619 GB, free: 3.711 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (dimlesslength) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0003946/0.6495, allocations: 216.8 kB / 0.6192 GB, free: 3.496 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000743/0.6503, allocations: 0.6734 MB / 0.6199 GB, free: 2.789 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.6503, allocations: 0 / 0.6199 GB, free: 2.789 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003877/0.6507, allocations: 494.1 kB / 0.6204 GB, free: 2.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/0.6509, allocations: 16.48 kB / 0.6204 GB, free: 2.234 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001833/0.6528, allocations: 0.7488 MB / 0.6211 GB, free: 1.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005505/0.6533, allocations: 0.9315 MB / 0.622 GB, free: 0.5586 MB / 410.7 MB Notification: Performance of SimCode: time 7.51e-07/0.6533, allocations: 3.938 kB / 0.622 GB, free: 0.5547 MB / 410.7 MB Notification: Performance of Templates: time 0.009334/0.6627, allocations: 5.404 MB / 0.6273 GB, free: 11.19 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapLaminar/kc_evenGapLaminar.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches