Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001836/0.001836, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.251/1.251, allocations: 221.3 MB / 236 MB, free: 2.98 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008195/0.0008195, allocations: 90.42 kB / 287 MB, free: 256 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1904/0.1904, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.482e-05/2.49e-05, allocations: 224 / 451.9 MB, free: 9.41 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1142, allocations: 61.91 MB / 0.5017 GB, free: 11.44 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3934/0.5076, allocations: 95.1 MB / 0.5946 GB, free: 10.17 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00024/0.5079, allocations: 99.92 kB / 0.5947 GB, free: 10.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03516/0.5431, allocations: 14.01 MB / 0.6084 GB, free: 11.97 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.5431, allocations: 0 / 0.6084 GB, free: 11.97 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.572e-05/0.5431, allocations: 8 kB / 0.6084 GB, free: 11.96 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.0008159/0.544, allocations: 0.6308 MB / 0.609 GB, free: 11.28 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.544, allocations: 8.031 kB / 0.609 GB, free: 11.27 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.123e-05/0.5441, allocations: 39.53 kB / 0.609 GB, free: 11.23 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003659/0.5444, allocations: 291.2 kB / 0.6093 GB, free: 10.91 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.441e-05/0.5445, allocations: 28.78 kB / 0.6094 GB, free: 10.88 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.143e-05/0.5445, allocations: 36 kB / 0.6094 GB, free: 10.84 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007106/0.5453, allocations: 0.5167 MB / 0.6099 GB, free: 10.31 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.5453, allocations: 4 kB / 0.6099 GB, free: 10.3 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.489e-05/0.5453, allocations: 16 kB / 0.6099 GB, free: 10.29 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.856e-05/0.5454, allocations: 16.78 kB / 0.6099 GB, free: 10.27 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004793/0.5459, allocations: 354.8 kB / 0.6103 GB, free: 9.926 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001679/0.5475, allocations: 1.303 MB / 0.6115 GB, free: 8.562 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000378/0.5479, allocations: 275.5 kB / 0.6118 GB, free: 8.266 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001765/0.5481, allocations: 126.4 kB / 0.6119 GB, free: 8.133 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.874e-05/0.5482, allocations: 7.984 kB / 0.6119 GB, free: 8.125 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.5482, allocations: 34.56 kB / 0.612 GB, free: 8.082 MB / 426.7 MB Notification: Performance of pre-optimization done (n=17): time 1.593e-06/0.5482, allocations: 4 kB / 0.612 GB, free: 8.078 MB / 426.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005778/0.5488, allocations: 305 kB / 0.6123 GB, free: 7.773 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.739e-05/0.5489, allocations: 106.8 kB / 0.6124 GB, free: 7.645 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004432/0.5493, allocations: 451 kB / 0.6128 GB, free: 7.195 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.073e-05/0.5493, allocations: 25.7 kB / 0.6128 GB, free: 7.164 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.5495, allocations: 212.2 kB / 0.613 GB, free: 6.953 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.302e-05/0.5495, allocations: 55.2 kB / 0.6131 GB, free: 6.898 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.459e-05/0.5496, allocations: 4.062 kB / 0.6131 GB, free: 6.895 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.5497, allocations: 358.7 kB / 0.6134 GB, free: 6.535 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001882/0.5499, allocations: 116.1 kB / 0.6135 GB, free: 6.418 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002228/0.5501, allocations: 190.6 kB / 0.6137 GB, free: 6.195 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002103/0.5503, allocations: 145 kB / 0.6138 GB, free: 6.055 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.5504, allocations: 4 kB / 0.6139 GB, free: 6.051 MB / 426.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005731/0.5509, allocations: 383.3 kB / 0.6142 GB, free: 5.672 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.551, allocations: 8 kB / 0.6142 GB, free: 5.664 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-05/0.551, allocations: 35.91 kB / 0.6143 GB, free: 5.629 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.551, allocations: 4.344 kB / 0.6143 GB, free: 5.625 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002078/0.5512, allocations: 43.95 kB / 0.6143 GB, free: 5.582 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.5513, allocations: 7.938 kB / 0.6143 GB, free: 5.574 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002656/0.5515, allocations: 63.41 kB / 0.6144 GB, free: 5.512 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.058e-05/0.5516, allocations: 16 kB / 0.6144 GB, free: 5.496 MB / 426.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.585e-05/0.5517, allocations: 128.9 kB / 0.6145 GB, free: 5.363 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.583e-05/0.5518, allocations: 43.47 kB / 0.6146 GB, free: 5.32 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006664/0.5525, allocations: 405.5 kB / 0.6149 GB, free: 4.914 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.5525, allocations: 0 / 0.6149 GB, free: 4.914 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.5525, allocations: 4 kB / 0.6149 GB, free: 4.91 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.5525, allocations: 0 / 0.6149 GB, free: 4.91 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004932/0.553, allocations: 369.4 kB / 0.6153 GB, free: 4.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.927e-05/0.5531, allocations: 35.97 kB / 0.6153 GB, free: 4.465 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001555/0.5532, allocations: 31.97 kB / 0.6154 GB, free: 4.434 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.5532, allocations: 0 / 0.6154 GB, free: 4.434 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.581e-05/0.5533, allocations: 11.98 kB / 0.6154 GB, free: 4.422 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.5533, allocations: 0 / 0.6154 GB, free: 4.422 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.478e-06/0.5533, allocations: 3.938 kB / 0.6154 GB, free: 4.418 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005535/0.5538, allocations: 0.5684 MB / 0.6159 GB, free: 3.82 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.554, allocations: 124.6 kB / 0.616 GB, free: 3.68 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.016e-05/0.554, allocations: 3.984 kB / 0.6161 GB, free: 3.676 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002727/0.5543, allocations: 31.92 kB / 0.6161 GB, free: 3.645 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.703e-05/0.5544, allocations: 19.97 kB / 0.6161 GB, free: 3.625 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.117e-05/0.5544, allocations: 8 kB / 0.6161 GB, free: 3.617 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003361/0.5547, allocations: 361.1 kB / 0.6165 GB, free: 3.266 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5547, allocations: 0 / 0.6165 GB, free: 3.266 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005408/0.5553, allocations: 131.8 kB / 0.6166 GB, free: 3.137 MB / 426.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.0003617/0.5557, allocations: 226.9 kB / 0.6168 GB, free: 2.91 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005575/0.5562, allocations: 0.499 MB / 0.6173 GB, free: 2.355 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5562, allocations: 0 / 0.6173 GB, free: 2.355 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003493/0.5566, allocations: 371.1 kB / 0.6176 GB, free: 1.938 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004395/0.557, allocations: 97.94 kB / 0.6177 GB, free: 1.848 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009776/0.558, allocations: 0.571 MB / 0.6183 GB, free: 1.246 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003768/0.5584, allocations: 0.8538 MB / 0.6191 GB, free: 372 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001552/0.5586, allocations: 71.16 kB / 0.6192 GB, free: 300 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.987e-05/0.5586, allocations: 31.44 kB / 0.6192 GB, free: 268 kB / 426.7 MB Notification: Performance of SimCode: time 3.1e-07/0.5586, allocations: 0 / 0.6192 GB, free: 268 kB / 426.7 MB Notification: Performance of Templates: time 0.01191/0.5706, allocations: 7.596 MB / 0.6266 GB, free: 8.727 MB / 442.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches