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.00121/0.00121, allocations: 183.8 kB / 17.06 MB, free: 5.074 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.277/1.277, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008459/0.0008459, allocations: 89.48 kB / 292.1 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2854/0.2854, allocations: 44.22 MB / 387.5 MB, free: 38.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002741/0.0002741, allocations: 8 kB / 459.9 MB, free: 1.492 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2921, allocations: 61.89 MB / 0.5096 GB, free: 38.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1113/0.4035, allocations: 95.19 MB / 0.6025 GB, free: 15.92 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003154/0.4038, allocations: 107.7 kB / 0.6026 GB, free: 15.82 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03488/0.4387, allocations: 14 MB / 0.6163 GB, free: 1.711 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.4388, allocations: 0 / 0.6163 GB, free: 1.711 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.263e-05/0.4388, allocations: 4 kB / 0.6163 GB, free: 1.707 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.000854/0.4396, allocations: 0.664 MB / 0.617 GB, free: 0.9961 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.4397, allocations: 8.031 kB / 0.617 GB, free: 0.9883 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.189e-05/0.4398, allocations: 39.53 kB / 0.617 GB, free: 0.9492 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003491/0.4401, allocations: 279.4 kB / 0.6173 GB, free: 0.6328 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.528e-05/0.4402, allocations: 36.94 kB / 0.6173 GB, free: 0.5977 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.711e-05/0.4402, allocations: 39.94 kB / 0.6173 GB, free: 0.5586 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008918/0.4411, allocations: 0.5613 MB / 0.6179 GB, free: 15.98 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.4411, allocations: 4 kB / 0.6179 GB, free: 15.98 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.607e-05/0.4412, allocations: 16 kB / 0.6179 GB, free: 15.96 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.874e-05/0.4412, allocations: 17 kB / 0.6179 GB, free: 15.95 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007567/0.442, allocations: 443.5 kB / 0.6184 GB, free: 15.51 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001744/0.4437, allocations: 1.297 MB / 0.6196 GB, free: 14.16 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005365/0.4443, allocations: 311.5 kB / 0.6199 GB, free: 13.82 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.276e-05/0.4443, allocations: 19.86 kB / 0.6199 GB, free: 13.8 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.4444, allocations: 46.61 kB / 0.62 GB, free: 13.75 MB / 442.7 MB Notification: Performance of pre-optimization done (n=17): time 1.874e-06/0.4444, allocations: 0 / 0.62 GB, free: 13.75 MB / 442.7 MB Notification: Performance of matching and sorting (n=17): time 0.00125/0.4456, allocations: 0.7424 MB / 0.6207 GB, free: 12.95 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.728e-05/0.4457, allocations: 110.9 kB / 0.6208 GB, free: 12.81 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004763/0.4462, allocations: 452.9 kB / 0.6212 GB, free: 12.36 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/0.4462, allocations: 29.7 kB / 0.6213 GB, free: 12.33 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000145/0.4464, allocations: 204.2 kB / 0.6215 GB, free: 12.12 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.132e-05/0.4464, allocations: 63.17 kB / 0.6215 GB, free: 12.06 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.632e-05/0.4465, allocations: 4 kB / 0.6215 GB, free: 12.06 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.4466, allocations: 354.8 kB / 0.6219 GB, free: 11.7 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003217/0.4469, allocations: 156.1 kB / 0.622 GB, free: 11.55 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003783/0.4473, allocations: 239.2 kB / 0.6222 GB, free: 11.28 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003545/0.4477, allocations: 180.5 kB / 0.6224 GB, free: 11.1 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.4477, allocations: 0 / 0.6224 GB, free: 11.1 MB / 442.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008668/0.4486, allocations: 463.3 kB / 0.6229 GB, free: 10.64 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.4486, allocations: 8.031 kB / 0.6229 GB, free: 10.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.695e-05/0.4487, allocations: 31.97 kB / 0.6229 GB, free: 10.61 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.4487, allocations: 8 kB / 0.6229 GB, free: 10.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002143/0.4489, allocations: 43.89 kB / 0.6229 GB, free: 10.55 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.4489, allocations: 7.938 kB / 0.623 GB, free: 10.55 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002566/0.4492, allocations: 67.42 kB / 0.623 GB, free: 10.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.081e-05/0.4492, allocations: 15.98 kB / 0.623 GB, free: 10.46 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 () * Number of clocked 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.0001994/0.4495, allocations: 200.4 kB / 0.6232 GB, free: 10.26 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.667e-05/0.4495, allocations: 35.53 kB / 0.6233 GB, free: 10.23 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007732/0.4503, allocations: 448.7 kB / 0.6237 GB, free: 9.781 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.4503, allocations: 4 kB / 0.6237 GB, free: 9.777 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.4504, allocations: 0 / 0.6237 GB, free: 9.777 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.4504, allocations: 7.938 kB / 0.6237 GB, free: 9.77 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005277/0.4509, allocations: 369.3 kB / 0.624 GB, free: 9.359 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-05/0.451, allocations: 31.97 kB / 0.6241 GB, free: 9.328 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001546/0.4511, allocations: 35.97 kB / 0.6241 GB, free: 9.293 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.4511, allocations: 4 kB / 0.6241 GB, free: 9.289 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.653e-05/0.4512, allocations: 11.98 kB / 0.6241 GB, free: 9.277 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.4512, allocations: 0 / 0.6241 GB, free: 9.277 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.4512, allocations: 4 kB / 0.6241 GB, free: 9.273 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008178/0.452, allocations: 0.6494 MB / 0.6248 GB, free: 8.594 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.4521, allocations: 120.6 kB / 0.6249 GB, free: 8.457 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.371e-05/0.4522, allocations: 7.984 kB / 0.6249 GB, free: 8.449 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002743/0.4525, allocations: 27.98 kB / 0.6249 GB, free: 8.422 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.341e-05/0.4525, allocations: 15.97 kB / 0.6249 GB, free: 8.406 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.245e-05/0.4526, allocations: 12 kB / 0.6249 GB, free: 8.395 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004111/0.453, allocations: 359 kB / 0.6253 GB, free: 8.043 MB / 442.7 MB Notification: Performance of sort global known variables: time 2e-07/0.453, allocations: 0 / 0.6253 GB, free: 8.043 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006221/0.4536, allocations: 143.7 kB / 0.6254 GB, free: 7.902 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 () * Number of clocked 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.0004321/0.4541, allocations: 212.5 kB / 0.6256 GB, free: 7.684 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009026/0.455, allocations: 0.5811 MB / 0.6262 GB, free: 7.047 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.455, allocations: 0 / 0.6262 GB, free: 7.047 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004773/0.4555, allocations: 419.9 kB / 0.6266 GB, free: 6.582 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004841/0.456, allocations: 88.02 kB / 0.6267 GB, free: 6.5 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/0.4572, allocations: 0.8719 MB / 0.6275 GB, free: 5.59 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004073/0.4577, allocations: 0.8577 MB / 0.6284 GB, free: 4.703 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001609/0.4578, allocations: 63.23 kB / 0.6284 GB, free: 4.645 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.098e-05/0.4579, allocations: 27.42 kB / 0.6285 GB, free: 4.617 MB / 442.7 MB Notification: Performance of SimCode: time 4.8e-07/0.4579, allocations: 0 / 0.6285 GB, free: 4.617 MB / 442.7 MB Notification: Performance of Templates: time 0.01128/0.4692, allocations: 7.463 MB / 0.6357 GB, free: 13.25 MB / 458.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