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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001469/0.001469, allocations: 200.4 kB / 8.766 MB, free: 320 kB / 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.6 MB / 234.8 MB, free: 3.277 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008618/0.0008621, allocations: 99.38 kB / 286.7 MB, free: 5.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1922/0.1922, allocations: 45.15 MB / 383.8 MB, free: 300 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.377e-05/1.38e-05, allocations: 0 / 453.2 MB, free: 75.83 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.108, allocations: 63.25 MB / 0.5044 GB, free: 12.63 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4027/0.5107, allocations: 95.51 MB / 0.5976 GB, free: 7.094 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000288/0.5111, allocations: 96 kB / 0.5977 GB, free: 7.039 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03475/0.5458, allocations: 13.98 MB / 0.6114 GB, free: 11.17 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.5459, allocations: 0 / 0.6114 GB, free: 11.17 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.559e-05/0.5459, allocations: 4 kB / 0.6114 GB, free: 11.17 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.0008981/0.5468, allocations: 0.6344 MB / 0.612 GB, free: 10.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.5468, allocations: 8.031 kB / 0.612 GB, free: 10.51 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004014/0.5472, allocations: 91.44 kB / 0.6121 GB, free: 10.42 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000362/0.5476, allocations: 278 kB / 0.6124 GB, free: 10.11 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.567e-05/0.5477, allocations: 12 kB / 0.6124 GB, free: 10.1 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.449e-05/0.5477, allocations: 20 kB / 0.6124 GB, free: 10.08 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004677/0.5482, allocations: 322.4 kB / 0.6127 GB, free: 9.848 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006285/0.5488, allocations: 485.7 kB / 0.6132 GB, free: 9.457 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.5488, allocations: 0 / 0.6132 GB, free: 9.457 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.761e-05/0.5489, allocations: 0 / 0.6132 GB, free: 9.457 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.229e-05/0.5489, allocations: 24.73 kB / 0.6132 GB, free: 9.434 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00161/0.5505, allocations: 1.149 MB / 0.6143 GB, free: 8.375 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003493/0.5509, allocations: 261.6 kB / 0.6146 GB, free: 8.125 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001718/0.5511, allocations: 122.5 kB / 0.6147 GB, free: 8.012 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.364e-05/0.5511, allocations: 15.95 kB / 0.6147 GB, free: 7.996 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.5511, allocations: 38 kB / 0.6147 GB, free: 7.953 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 1.593e-06/0.5512, allocations: 0 / 0.6147 GB, free: 7.953 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.000549/0.5517, allocations: 285.5 kB / 0.615 GB, free: 7.695 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/0.5518, allocations: 110.8 kB / 0.6151 GB, free: 7.562 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001822/0.552, allocations: 198 kB / 0.6153 GB, free: 7.391 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/0.552, allocations: 25.7 kB / 0.6153 GB, free: 7.359 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.5521, allocations: 228.1 kB / 0.6155 GB, free: 7.164 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.84e-05/0.5522, allocations: 61.2 kB / 0.6156 GB, free: 7.113 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.69e-05/0.5522, allocations: 0 / 0.6156 GB, free: 7.113 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.5523, allocations: 333.5 kB / 0.6159 GB, free: 6.785 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001678/0.5525, allocations: 113 kB / 0.616 GB, free: 6.688 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002186/0.5527, allocations: 186.2 kB / 0.6162 GB, free: 6.492 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002172/0.553, allocations: 138 kB / 0.6163 GB, free: 6.375 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.553, allocations: 4 kB / 0.6163 GB, free: 6.371 MB / 410.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005278/0.5535, allocations: 343 kB / 0.6167 GB, free: 6.066 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.5535, allocations: 9.719 kB / 0.6167 GB, free: 6.059 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.068e-05/0.5536, allocations: 32.84 kB / 0.6167 GB, free: 6.027 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.5536, allocations: 4 kB / 0.6167 GB, free: 6.023 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002047/0.5538, allocations: 45.44 kB / 0.6168 GB, free: 5.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.5539, allocations: 4 kB / 0.6168 GB, free: 5.977 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002152/0.5541, allocations: 36.58 kB / 0.6168 GB, free: 5.941 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.99e-05/0.5541, allocations: 20.88 kB / 0.6168 GB, free: 5.922 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 0.0001028/0.5542, allocations: 118.5 kB / 0.6169 GB, free: 5.801 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.676e-05/0.5543, allocations: 20.75 kB / 0.617 GB, free: 5.781 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006309/0.555, allocations: 375.3 kB / 0.6173 GB, free: 5.449 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/0.555, allocations: 4 kB / 0.6173 GB, free: 5.445 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.555, allocations: 0 / 0.6173 GB, free: 5.445 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.555, allocations: 7.938 kB / 0.6173 GB, free: 5.438 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004889/0.5555, allocations: 340.2 kB / 0.6176 GB, free: 5.109 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.353e-05/0.5555, allocations: 33.09 kB / 0.6177 GB, free: 5.078 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001529/0.5557, allocations: 31.97 kB / 0.6177 GB, free: 5.047 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.5557, allocations: 7.938 kB / 0.6177 GB, free: 5.039 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.493e-05/0.5558, allocations: 8.484 kB / 0.6177 GB, free: 5.031 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.5558, allocations: 4 kB / 0.6177 GB, free: 5.027 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.5558, allocations: 0 / 0.6177 GB, free: 5.027 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005538/0.5563, allocations: 0.5436 MB / 0.6183 GB, free: 4.488 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.152e-05/0.5564, allocations: 100.8 kB / 0.6184 GB, free: 4.371 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.041e-05/0.5564, allocations: 7.938 kB / 0.6184 GB, free: 4.363 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002398/0.5567, allocations: 22.36 kB / 0.6184 GB, free: 4.344 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.441e-05/0.5568, allocations: 26.48 kB / 0.6184 GB, free: 4.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.197e-05/0.5568, allocations: 8 kB / 0.6184 GB, free: 4.312 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001188/0.5569, allocations: 156.9 kB / 0.6186 GB, free: 4.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.5569, allocations: 0 / 0.6186 GB, free: 4.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000572/0.5575, allocations: 149.6 kB / 0.6187 GB, free: 4.039 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.000396/0.5579, allocations: 226.8 kB / 0.6189 GB, free: 3.812 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005346/0.5585, allocations: 497.5 kB / 0.6194 GB, free: 3.305 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.5585, allocations: 0 / 0.6194 GB, free: 3.305 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003032/0.5588, allocations: 365.8 kB / 0.6197 GB, free: 2.91 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003153/0.5591, allocations: 29.78 kB / 0.6198 GB, free: 2.887 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009733/0.5601, allocations: 0.5238 MB / 0.6203 GB, free: 2.371 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004291/0.5605, allocations: 0.8635 MB / 0.6211 GB, free: 1.492 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001117/0.5606, allocations: 37.28 kB / 0.6212 GB, free: 1.457 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.829e-05/0.5607, allocations: 11.44 kB / 0.6212 GB, free: 1.449 MB / 410.7 MB Notification: Performance of SimCode: time 4.01e-07/0.5607, allocations: 0 / 0.6212 GB, free: 1.449 MB / 410.7 MB Notification: Performance of Templates: time 0.008186/0.5689, allocations: 4.579 MB / 0.6256 GB, free: 12.93 MB / 426.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