Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.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_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow_1.1.|m_flow_1.2.|m_flow_2.1.|m_flow_2.2.|m_flow_3.1.|m_flow_3.2.|kc_1.1.|kc_1.2.|kc_2.1.|kc_2.2.|kc_3.1.|kc_3.2.|Re_1.1.|Re_1.2.|Re_2.1.|Re_2.2.|Re_3.1.|Re_3.2.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow_1.1.|m_flow_1.2.|m_flow_2.1.|m_flow_2.2.|m_flow_3.1.|m_flow_3.2.|kc_1.1.|kc_1.2.|kc_2.1.|kc_2.2.|kc_3.1.|kc_3.2.|Re_1.1.|Re_1.2.|Re_2.1.|Re_2.2.|Re_3.1.|Re_3.2.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001411/0.00141, allocations: 204 kB / 8.539 MB, free: 1.75 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.288/1.288, allocations: 225.5 MB / 234.4 MB, free: 3.438 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009327/0.0009328, allocations: 96.88 kB / 286.3 MB, free: 5.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1947/0.1947, allocations: 45.14 MB / 383.3 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 7.073e-06/7.093e-06, allocations: 0 / 452.6 MB, free: 76.21 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1079, allocations: 63.24 MB / 0.5038 GB, free: 13.04 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3853/0.4932, allocations: 93.03 MB / 0.5946 GB, free: 9.949 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003572/0.4936, allocations: 99.73 kB / 0.5947 GB, free: 9.891 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02922/0.5229, allocations: 9.929 MB / 0.6044 GB, free: 1.605 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.746e-05/0.5229, allocations: 11.88 kB / 0.6044 GB, free: 1.594 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.000841/0.5238, allocations: 0.4919 MB / 0.6049 GB, free: 1.07 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.5238, allocations: 12.03 kB / 0.6049 GB, free: 1.059 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001197/0.524, allocations: 31.19 kB / 0.605 GB, free: 1.031 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003848/0.5244, allocations: 234.8 kB / 0.6052 GB, free: 0.7617 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/0.5244, allocations: 19.97 kB / 0.6052 GB, free: 0.7422 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.016e-05/0.5244, allocations: 12 kB / 0.6052 GB, free: 0.7305 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005462/0.525, allocations: 353.3 kB / 0.6056 GB, free: 484 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005053/0.5255, allocations: 347.6 kB / 0.6059 GB, free: 192 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.5255, allocations: 0 / 0.6059 GB, free: 192 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.492e-05/0.5256, allocations: 0 / 0.6059 GB, free: 192 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.096e-05/0.5256, allocations: 24.64 kB / 0.6059 GB, free: 168 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001452/0.5271, allocations: 0.8037 MB / 0.6067 GB, free: 15.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004864/0.5276, allocations: 336.7 kB / 0.607 GB, free: 15.11 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001668/0.5278, allocations: 107.3 kB / 0.6071 GB, free: 15.01 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4e-05/0.5278, allocations: 8 kB / 0.6071 GB, free: 15 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.5278, allocations: 30.91 kB / 0.6072 GB, free: 14.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 1.593e-06/0.5278, allocations: 0 / 0.6072 GB, free: 14.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.000539/0.5284, allocations: 272.2 kB / 0.6074 GB, free: 14.72 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/0.5284, allocations: 55.41 kB / 0.6075 GB, free: 14.65 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.5286, allocations: 161 kB / 0.6076 GB, free: 14.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.665e-05/0.5286, allocations: 25.7 kB / 0.6077 GB, free: 14.47 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.368e-05/0.5287, allocations: 155.5 kB / 0.6078 GB, free: 14.32 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.244e-05/0.5288, allocations: 71.23 kB / 0.6079 GB, free: 14.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.405e-05/0.5288, allocations: 0 / 0.6079 GB, free: 14.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000177/0.529, allocations: 328.5 kB / 0.6082 GB, free: 13.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/0.5292, allocations: 96.55 kB / 0.6083 GB, free: 13.85 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002036/0.5294, allocations: 156.9 kB / 0.6084 GB, free: 13.69 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001985/0.5296, allocations: 132.8 kB / 0.6086 GB, free: 13.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.5296, allocations: 0 / 0.6086 GB, free: 13.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004886/0.5301, allocations: 307 kB / 0.6088 GB, free: 13.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.5301, allocations: 4 kB / 0.6088 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.447e-06/0.5301, allocations: 8.188 kB / 0.6089 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.5302, allocations: 0 / 0.6089 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006928/0.5309, allocations: 119.2 kB / 0.609 GB, free: 13.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002465/0.5334, allocations: 3.763 MB / 0.6126 GB, free: 9.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001993/0.5336, allocations: 20.14 kB / 0.6127 GB, free: 9.301 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.328e-05/0.5336, allocations: 8 kB / 0.6127 GB, free: 9.293 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].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 (25): * 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): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00015/0.5338, allocations: 116.8 kB / 0.6128 GB, free: 9.176 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.444e-05/0.5338, allocations: 15.81 kB / 0.6128 GB, free: 9.16 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006981/0.5345, allocations: 392.6 kB / 0.6132 GB, free: 8.812 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.5346, allocations: 4 kB / 0.6132 GB, free: 8.809 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.447e-06/0.5346, allocations: 7.844 kB / 0.6132 GB, free: 8.801 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.5346, allocations: 4 kB / 0.6132 GB, free: 8.797 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003988/0.535, allocations: 285.9 kB / 0.6135 GB, free: 8.508 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.535, allocations: 0 / 0.6135 GB, free: 8.508 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005953/0.5356, allocations: 107.9 kB / 0.6136 GB, free: 8.402 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.263e-06/0.5356, allocations: 4 kB / 0.6136 GB, free: 8.398 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.146e-05/0.5357, allocations: 8.094 kB / 0.6136 GB, free: 8.391 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00275/0.5384, allocations: 3.767 MB / 0.6173 GB, free: 4.535 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.5384, allocations: 0 / 0.6173 GB, free: 4.535 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005393/0.539, allocations: 371.8 kB / 0.6176 GB, free: 4.184 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.802e-05/0.5391, allocations: 100.8 kB / 0.6177 GB, free: 4.066 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.638e-05/0.5391, allocations: 0 / 0.6177 GB, free: 4.066 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001893/0.5393, allocations: 12 kB / 0.6177 GB, free: 4.055 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.142e-05/0.5394, allocations: 19.97 kB / 0.6177 GB, free: 4.035 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-05/0.5395, allocations: 6.938 kB / 0.6177 GB, free: 4.031 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001276/0.5396, allocations: 117.7 kB / 0.6179 GB, free: 3.926 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006076/0.5402, allocations: 95.11 kB / 0.6179 GB, free: 3.836 MB / 410.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 (19): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000471/0.5407, allocations: 156.7 kB / 0.6181 GB, free: 3.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001068/0.5418, allocations: 329.1 kB / 0.6184 GB, free: 3.383 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.5418, allocations: 0 / 0.6184 GB, free: 3.383 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007291/0.5425, allocations: 221.6 kB / 0.6186 GB, free: 3.184 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.5428, allocations: 11.69 kB / 0.6186 GB, free: 3.176 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009616/0.5437, allocations: 417.9 kB / 0.619 GB, free: 2.766 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005728/0.5443, allocations: 0.8352 MB / 0.6198 GB, free: 1.914 MB / 410.7 MB Notification: Performance of SimCode: time 3.1e-07/0.5443, allocations: 4 kB / 0.6198 GB, free: 1.91 MB / 410.7 MB Notification: Performance of Templates: time 0.008311/0.5527, allocations: 3.87 MB / 0.6236 GB, free: 14.1 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_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/kc_approxForcedConvection_KC.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches