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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001248/0.001248, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001311/0.001311, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.278/1.278, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.195/0.195, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 74.44 kB / 419 MB, free: 18.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1079, allocations: 62.45 MB / 481.5 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.003117/0.111, allocations: 2.078 MB / 483.6 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00176/0.1128, allocations: 1.332 MB / 484.9 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.118e-05/0.1129, allocations: 0 / 484.9 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002452/0.1132, allocations: 67.59 kB / 485 MB, free: 1.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001521/0.1133, allocations: 87.44 kB / 485 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005146/0.1138, allocations: 203.2 kB / 485.2 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004318/0.1143, allocations: 434 kB / 485.7 MB, free: 316 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.573e-05/0.1144, allocations: 44.7 kB / 485.7 MB, free: 272 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002167/0.1146, allocations: 155.1 kB / 485.9 MB, free: 116 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002148/0.1148, allocations: 175.2 kB / 486 MB, free: 15.94 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.146e-05/0.1149, allocations: 12 kB / 486 MB, free: 15.93 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000429/0.1153, allocations: 271.5 kB / 486.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.914e-05/0.1154, allocations: 83.59 kB / 486.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001534/0.1156, allocations: 166.8 kB / 486.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005522/0.1161, allocations: 0.5216 MB / 487.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.1161, allocations: 0 / 487.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1161, allocations: 0 / 487.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.1162, allocations: 0 / 487.1 MB, free: 14.89 MB / 366.1 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.001034/0.1172, allocations: 0.7136 MB / 487.8 MB, free: 14.13 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.1172, allocations: 12.03 kB / 487.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003675/0.1176, allocations: 76.33 kB / 487.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003883/0.118, allocations: 288.6 kB / 488.2 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.561e-05/0.118, allocations: 36.94 kB / 488.2 MB, free: 13.69 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.542e-05/0.1181, allocations: 36 kB / 488.2 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007945/0.1189, allocations: 0.5496 MB / 488.8 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.1189, allocations: 0 / 488.8 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.109e-05/0.119, allocations: 16 kB / 488.8 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.861e-05/0.119, allocations: 24.98 kB / 488.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007195/0.1197, allocations: 415.6 kB / 489.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001648/0.1214, allocations: 1.281 MB / 490.5 MB, free: 11.3 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004792/0.1219, allocations: 275.6 kB / 490.8 MB, free: 11 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002917/0.1222, allocations: 146.5 kB / 490.9 MB, free: 10.85 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.642e-05/0.1222, allocations: 11.92 kB / 490.9 MB, free: 10.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.1223, allocations: 30.56 kB / 491 MB, free: 10.8 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.563e-06/0.1223, allocations: 4 kB / 491 MB, free: 10.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001055/0.1233, allocations: 476.7 kB / 491.4 MB, free: 10.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.584e-05/0.1234, allocations: 102.8 kB / 491.5 MB, free: 10.2 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004822/0.1239, allocations: 0.4901 MB / 492 MB, free: 9.703 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.1239, allocations: 29.7 kB / 492 MB, free: 9.668 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001425/0.1241, allocations: 216.3 kB / 492.3 MB, free: 9.453 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.812e-05/0.1241, allocations: 59.11 kB / 492.3 MB, free: 9.395 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.1242, allocations: 65.69 kB / 492.4 MB, free: 9.324 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.1244, allocations: 354.8 kB / 492.7 MB, free: 8.969 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003056/0.1247, allocations: 132.1 kB / 492.9 MB, free: 8.836 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003339/0.125, allocations: 206.6 kB / 493.1 MB, free: 8.598 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006432/0.1257, allocations: 369.9 kB / 493.4 MB, free: 8.199 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.1257, allocations: 0 / 493.4 MB, free: 8.199 MB / 366.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007924/0.1265, allocations: 422.9 kB / 493.8 MB, free: 7.781 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.1265, allocations: 8 kB / 493.8 MB, free: 7.773 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.617e-05/0.1266, allocations: 35.92 kB / 493.9 MB, free: 7.738 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.1266, allocations: 7.984 kB / 493.9 MB, free: 7.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001829/0.1268, allocations: 36.3 kB / 493.9 MB, free: 7.695 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.729e-06/0.1268, allocations: 11.94 kB / 493.9 MB, free: 7.684 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000222/0.127, allocations: 47.52 kB / 494 MB, free: 7.637 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.309e-05/0.1271, allocations: 19.98 kB / 494 MB, free: 7.617 MB / 366.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001857/0.1273, allocations: 197.7 kB / 494.2 MB, free: 7.414 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.753e-05/0.1274, allocations: 43.44 kB / 494.2 MB, free: 7.371 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000745/0.1281, allocations: 400.7 kB / 494.6 MB, free: 6.969 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/0.1281, allocations: 4 kB / 494.6 MB, free: 6.965 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1281, allocations: 0 / 494.6 MB, free: 6.965 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.1281, allocations: 3.984 kB / 494.6 MB, free: 6.961 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004917/0.1286, allocations: 369.3 kB / 495 MB, free: 6.551 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.193e-05/0.1287, allocations: 32 kB / 495 MB, free: 6.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001395/0.1288, allocations: 27.91 kB / 495 MB, free: 6.492 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.1289, allocations: 7.938 kB / 495.1 MB, free: 6.484 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.841e-05/0.1289, allocations: 15.98 kB / 495.1 MB, free: 6.469 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.1289, allocations: 0 / 495.1 MB, free: 6.469 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1289, allocations: 0 / 495.1 MB, free: 6.469 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007639/0.1297, allocations: 0.5776 MB / 495.6 MB, free: 5.875 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/0.1298, allocations: 120.6 kB / 495.8 MB, free: 5.738 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.242e-05/0.1298, allocations: 7.938 kB / 495.8 MB, free: 5.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002644/0.1301, allocations: 23.91 kB / 495.8 MB, free: 5.707 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.029e-05/0.1302, allocations: 23.92 kB / 495.8 MB, free: 5.684 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.229e-05/0.1302, allocations: 8 kB / 495.8 MB, free: 5.676 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003562/0.1306, allocations: 371 kB / 496.2 MB, free: 5.316 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1306, allocations: 0 / 496.2 MB, free: 5.316 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004841/0.1311, allocations: 115.9 kB / 496.3 MB, free: 5.203 MB / 366.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002976/0.1314, allocations: 175.1 kB / 496.5 MB, free: 5.023 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008542/0.1323, allocations: 0.5386 MB / 497 MB, free: 4.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1323, allocations: 0 / 497 MB, free: 4.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004343/0.1327, allocations: 387.1 kB / 497.4 MB, free: 3.996 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006016/0.1333, allocations: 105.4 kB / 497.5 MB, free: 3.898 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.1345, allocations: 0.7832 MB / 498.3 MB, free: 3.082 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004116/0.135, allocations: 0.8497 MB / 499.1 MB, free: 2.207 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001553/0.1351, allocations: 75.16 kB / 499.2 MB, free: 2.133 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.781e-05/0.1352, allocations: 23.44 kB / 499.2 MB, free: 2.109 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1352, allocations: 0 / 499.2 MB, free: 2.109 MB / 366.1 MB Notification: Performance of Templates: time 0.01151/0.1467, allocations: 7.572 MB / 0.4949 GB, free: 10.62 MB / 382.1 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/General/kc_approxForcedConvection/kc_approxForcedConvection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches