Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_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 3.2.3+maint.om/package.mo): time 0.0009242/0.0009243, allocations: 187.6 kB / 7.8 MB, free: 2.453 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.032/1.032, allocations: 205.2 MB / 213.4 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009059/0.0009058, allocations: 92.97 kB / 261.4 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1521/0.1521, allocations: 43.49 MB / 352.8 MB, free: 1.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.48e-06/5.49e-06, allocations: 0 / 417.7 MB, free: 40.54 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.2089, allocations: 58.84 MB / 476.6 MB, free: 5.223 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1045/0.3135, allocations: 93.24 MB / 0.5565 GB, free: 5.691 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002647/0.3138, allocations: 91.92 kB / 0.5565 GB, free: 5.602 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.03295/0.3468, allocations: 13.36 MB / 0.5696 GB, free: 8.105 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.608e-05/0.3468, allocations: 8 kB / 0.5696 GB, free: 8.098 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.0008107/0.3476, allocations: 0.6307 MB / 0.5702 GB, free: 7.422 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.3477, allocations: 8.031 kB / 0.5702 GB, free: 7.414 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.864e-05/0.3478, allocations: 43.52 kB / 0.5703 GB, free: 7.371 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003423/0.3481, allocations: 291.2 kB / 0.5705 GB, free: 7.043 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.3481, allocations: 12 kB / 0.5706 GB, free: 7.031 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.5e-05/0.3482, allocations: 20 kB / 0.5706 GB, free: 7.012 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004731/0.3487, allocations: 333.6 kB / 0.5709 GB, free: 6.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006073/0.3493, allocations: 499.5 kB / 0.5714 GB, free: 6.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.3493, allocations: 0 / 0.5714 GB, free: 6.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.125e-05/0.3494, allocations: 0 / 0.5714 GB, free: 6.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.126e-05/0.3494, allocations: 16.78 kB / 0.5714 GB, free: 6.164 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001508/0.3509, allocations: 1.166 MB / 0.5725 GB, free: 4.953 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003705/0.3513, allocations: 279.6 kB / 0.5728 GB, free: 4.652 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001731/0.3515, allocations: 130.3 kB / 0.5729 GB, free: 4.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.245e-05/0.3515, allocations: 15.98 kB / 0.5729 GB, free: 4.504 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.3516, allocations: 34.61 kB / 0.573 GB, free: 4.461 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 1.403e-06/0.3516, allocations: 0 / 0.573 GB, free: 4.461 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005519/0.3521, allocations: 309.2 kB / 0.5733 GB, free: 4.152 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.3522, allocations: 102.8 kB / 0.5734 GB, free: 4.027 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.3524, allocations: 208 kB / 0.5736 GB, free: 3.809 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.3524, allocations: 29.7 kB / 0.5736 GB, free: 3.773 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.3525, allocations: 203.7 kB / 0.5738 GB, free: 3.57 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.103e-05/0.3526, allocations: 55.11 kB / 0.5738 GB, free: 3.516 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.662e-05/0.3526, allocations: 0 / 0.5738 GB, free: 3.516 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.3527, allocations: 338.8 kB / 0.5742 GB, free: 3.176 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001698/0.3529, allocations: 124.2 kB / 0.5743 GB, free: 3.051 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002059/0.3531, allocations: 196 kB / 0.5745 GB, free: 2.824 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001965/0.3533, allocations: 147.9 kB / 0.5746 GB, free: 2.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.3533, allocations: 0 / 0.5746 GB, free: 2.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005344/0.3538, allocations: 365 kB / 0.575 GB, free: 2.316 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.3539, allocations: 4 kB / 0.575 GB, free: 2.312 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.516e-05/0.3539, allocations: 35.91 kB / 0.575 GB, free: 2.277 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.3539, allocations: 8 kB / 0.575 GB, free: 2.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002081/0.3542, allocations: 44.25 kB / 0.575 GB, free: 2.227 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.3542, allocations: 7.938 kB / 0.575 GB, free: 2.219 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002023/0.3544, allocations: 39.81 kB / 0.5751 GB, free: 2.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.177e-05/0.3544, allocations: 12 kB / 0.5751 GB, free: 2.168 MB / 410.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 9.456e-05/0.3545, allocations: 112.2 kB / 0.5752 GB, free: 2.055 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.619e-05/0.3546, allocations: 31.7 kB / 0.5752 GB, free: 2.023 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007124/0.3553, allocations: 458.7 kB / 0.5757 GB, free: 1.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.3554, allocations: 4 kB / 0.5757 GB, free: 1.566 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.3554, allocations: 0 / 0.5757 GB, free: 1.566 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.3554, allocations: 4 kB / 0.5757 GB, free: 1.562 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000431/0.3558, allocations: 345.8 kB / 0.576 GB, free: 1.188 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.818e-05/0.3559, allocations: 35.97 kB / 0.576 GB, free: 1.152 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001611/0.356, allocations: 31.97 kB / 0.5761 GB, free: 1.121 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.3561, allocations: 4 kB / 0.5761 GB, free: 1.117 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.473e-05/0.3561, allocations: 11.98 kB / 0.5761 GB, free: 1.105 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3561, allocations: 0 / 0.5761 GB, free: 1.105 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3561, allocations: 0 / 0.5761 GB, free: 1.105 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000527/0.3566, allocations: 0.5677 MB / 0.5766 GB, free: 0.5078 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.64e-05/0.3567, allocations: 92.83 kB / 0.5767 GB, free: 408 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.995e-05/0.3567, allocations: 7.984 kB / 0.5767 GB, free: 400 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000257/0.357, allocations: 19.98 kB / 0.5768 GB, free: 380 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.754e-05/0.3571, allocations: 19.97 kB / 0.5768 GB, free: 360 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-05/0.3571, allocations: 19.91 kB / 0.5768 GB, free: 340 kB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001036/0.3572, allocations: 156.5 kB / 0.5769 GB, free: 188 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005338/0.3578, allocations: 147.5 kB / 0.5771 GB, free: 40 kB / 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.0003504/0.3581, allocations: 225 kB / 0.5773 GB, free: 15.81 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005153/0.3586, allocations: 0.5107 MB / 0.5778 GB, free: 15.25 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3587, allocations: 3.938 kB / 0.5778 GB, free: 15.24 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002849/0.3589, allocations: 375.2 kB / 0.5782 GB, free: 14.82 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003026/0.3593, allocations: 29.23 kB / 0.5782 GB, free: 14.79 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.3603, allocations: 0.5378 MB / 0.5787 GB, free: 14.22 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004172/0.3607, allocations: 0.8835 MB / 0.5796 GB, free: 13.31 MB / 426.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3607, allocations: 0 / 0.5796 GB, free: 13.31 MB / 426.7 MB Notification: Performance of Templates: time 0.007838/0.3686, allocations: 4.921 MB / 0.5844 GB, free: 8.398 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/General/kc_approxForcedConvection/kc_approxForcedConvection.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches