Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.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.General.kc_approxForcedConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.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.|m_flow.1.|m_flow.2.|m_flow.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.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.|m_flow.1.|m_flow.2.|m_flow.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection") [: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.001412/0.001411, allocations: 196.1 kB / 8.539 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.233/1.233, allocations: 225.5 MB / 234.4 MB, free: 14.95 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009503/0.0009502, allocations: 99.62 kB / 286.4 MB, free: 12.55 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3257/0.3257, allocations: 45.14 MB / 383.3 MB, free: 40.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.947e-06/8.956e-06, allocations: 4 kB / 452.7 MB, free: 5.469 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3757/0.3757, allocations: 63.22 MB / 0.5038 GB, free: 35.54 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1242/0.4999, allocations: 95.44 MB / 0.597 GB, free: 14.93 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000285/0.5003, allocations: 91.94 kB / 0.5971 GB, free: 14.84 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.03781/0.5381, allocations: 13.78 MB / 0.6105 GB, free: 0.9648 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.537e-05/0.5382, allocations: 4 kB / 0.6105 GB, free: 0.9609 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001185/0.5394, allocations: 0.6385 MB / 0.6112 GB, free: 284 kB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.5394, allocations: 12.03 kB / 0.6112 GB, free: 272 kB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004945/0.5399, allocations: 87.48 kB / 0.6113 GB, free: 184 kB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004429/0.5404, allocations: 279.4 kB / 0.6115 GB, free: 15.86 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.395e-05/0.5404, allocations: 12 kB / 0.6115 GB, free: 15.85 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.988e-05/0.5405, allocations: 24 kB / 0.6116 GB, free: 15.83 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005654/0.5411, allocations: 337.5 kB / 0.6119 GB, free: 15.5 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007636/0.5418, allocations: 491.5 kB / 0.6123 GB, free: 15.01 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.5419, allocations: 4 kB / 0.6124 GB, free: 15 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.127e-05/0.5419, allocations: 4 kB / 0.6124 GB, free: 15 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.383e-05/0.5419, allocations: 16.78 kB / 0.6124 GB, free: 14.98 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001983/0.5439, allocations: 1.162 MB / 0.6135 GB, free: 13.77 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004064/0.5444, allocations: 283.6 kB / 0.6138 GB, free: 13.47 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001979/0.5446, allocations: 138.5 kB / 0.6139 GB, free: 13.32 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.297e-05/0.5446, allocations: 7.984 kB / 0.6139 GB, free: 13.32 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.5447, allocations: 34.56 kB / 0.6139 GB, free: 13.27 MB / 442.7 MB Notification: Performance of pre-optimization done (n=17): time 2.425e-06/0.5447, allocations: 0 / 0.6139 GB, free: 13.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006546/0.5453, allocations: 305.2 kB / 0.6142 GB, free: 12.97 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/0.5454, allocations: 106.9 kB / 0.6143 GB, free: 12.84 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002308/0.5456, allocations: 208 kB / 0.6145 GB, free: 12.62 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/0.5457, allocations: 29.64 kB / 0.6146 GB, free: 12.59 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.5458, allocations: 199.7 kB / 0.6148 GB, free: 12.39 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.181e-05/0.5458, allocations: 59.11 kB / 0.6148 GB, free: 12.33 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.771e-05/0.5459, allocations: 0 / 0.6148 GB, free: 12.33 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.546, allocations: 334.8 kB / 0.6151 GB, free: 12 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001831/0.5462, allocations: 116.1 kB / 0.6152 GB, free: 11.88 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002303/0.5464, allocations: 200.6 kB / 0.6154 GB, free: 11.65 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002313/0.5467, allocations: 147.8 kB / 0.6156 GB, free: 11.5 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.5467, allocations: 0 / 0.6156 GB, free: 11.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006061/0.5473, allocations: 375.7 kB / 0.6159 GB, free: 11.13 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.5473, allocations: 4 kB / 0.6159 GB, free: 11.13 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.18e-05/0.5474, allocations: 31.98 kB / 0.616 GB, free: 11.1 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.5474, allocations: 4 kB / 0.616 GB, free: 11.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000274/0.5477, allocations: 51.98 kB / 0.616 GB, free: 11.04 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.5477, allocations: 4 kB / 0.616 GB, free: 11.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002373/0.5479, allocations: 31.83 kB / 0.6161 GB, free: 11.01 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.828e-05/0.548, allocations: 23.98 kB / 0.6161 GB, free: 10.98 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 9 (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 (24): * Single equations (assignments): 15 * 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.0001162/0.5481, allocations: 118.1 kB / 0.6162 GB, free: 10.86 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.242e-05/0.5482, allocations: 19.72 kB / 0.6162 GB, free: 10.84 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000793/0.549, allocations: 462.2 kB / 0.6167 GB, free: 10.4 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.549, allocations: 4 kB / 0.6167 GB, free: 10.4 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.549, allocations: 0 / 0.6167 GB, free: 10.4 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.5491, allocations: 0 / 0.6167 GB, free: 10.4 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005166/0.5496, allocations: 349.8 kB / 0.617 GB, free: 10.02 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.545e-05/0.5497, allocations: 31.97 kB / 0.617 GB, free: 9.988 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001737/0.5498, allocations: 27.97 kB / 0.617 GB, free: 9.961 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.5498, allocations: 4 kB / 0.6171 GB, free: 9.957 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.96e-05/0.5499, allocations: 8 kB / 0.6171 GB, free: 9.949 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.5499, allocations: 4 kB / 0.6171 GB, free: 9.945 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.5499, allocations: 0 / 0.6171 GB, free: 9.945 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005766/0.5505, allocations: 0.5666 MB / 0.6176 GB, free: 9.352 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.853e-05/0.5506, allocations: 100.8 kB / 0.6177 GB, free: 9.234 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.037e-05/0.5506, allocations: 0 / 0.6177 GB, free: 9.234 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00029/0.5509, allocations: 27.97 kB / 0.6177 GB, free: 9.207 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.359e-05/0.551, allocations: 15.98 kB / 0.6178 GB, free: 9.191 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.988e-05/0.551, allocations: 19.89 kB / 0.6178 GB, free: 9.172 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0001367/0.5512, allocations: 160.5 kB / 0.6179 GB, free: 9.016 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006813/0.5519, allocations: 151.5 kB / 0.6181 GB, free: 8.867 MB / 442.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.0004945/0.5524, allocations: 225 kB / 0.6183 GB, free: 8.641 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005991/0.553, allocations: 0.5107 MB / 0.6188 GB, free: 8.074 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.553, allocations: 0 / 0.6188 GB, free: 8.074 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003224/0.5533, allocations: 375.2 kB / 0.6191 GB, free: 7.652 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/0.5537, allocations: 25.22 kB / 0.6192 GB, free: 7.629 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.555, allocations: 0.5417 MB / 0.6197 GB, free: 7.055 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005106/0.5555, allocations: 0.8809 MB / 0.6206 GB, free: 6.148 MB / 442.7 MB Notification: Performance of SimCode: time 4.8e-07/0.5555, allocations: 0 / 0.6206 GB, free: 6.148 MB / 442.7 MB Notification: Performance of Templates: time 0.009798/0.5654, allocations: 4.925 MB / 0.6254 GB, free: 1.273 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/General/kc_approxForcedConvection/kc_approxForcedConvection.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches