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.001289/0.001289, 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.001513/0.001513, 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.32/1.32, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2195/0.2195, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 75.88 kB / 419 MB, free: 18.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1141, allocations: 62.44 MB / 481.5 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.003646/0.1178, allocations: 2.087 MB / 483.6 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001914/0.1198, allocations: 1.328 MB / 484.9 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.224e-05/0.1199, allocations: 4 kB / 484.9 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002978/0.1202, allocations: 63.59 kB / 485 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000201/0.1204, allocations: 95.38 kB / 485.1 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005707/0.121, allocations: 199.1 kB / 485.2 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004379/0.1214, allocations: 434 kB / 485.7 MB, free: 312 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.166e-05/0.1215, allocations: 44.7 kB / 485.7 MB, free: 268 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002273/0.1218, allocations: 151.2 kB / 485.9 MB, free: 116 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002273/0.122, allocations: 171.1 kB / 486 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.112e-05/0.122, allocations: 12 kB / 486 MB, free: 15.93 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000467/0.1225, allocations: 279.6 kB / 486.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.1226, allocations: 83.55 kB / 486.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001443/0.1228, allocations: 162.8 kB / 486.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005701/0.1234, allocations: 0.5255 MB / 487.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.1234, allocations: 0 / 487.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1234, allocations: 4 kB / 487.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.1234, allocations: 4 kB / 487.1 MB, free: 14.88 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.001057/0.1245, allocations: 0.7097 MB / 487.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.1245, allocations: 8.031 kB / 487.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000381/0.1249, allocations: 80.33 kB / 487.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003908/0.1253, allocations: 288.6 kB / 488.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.654e-05/0.1253, allocations: 32.94 kB / 488.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.793e-05/0.1254, allocations: 36 kB / 488.2 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008539/0.1262, allocations: 0.5535 MB / 488.8 MB, free: 13.08 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.1263, allocations: 0 / 488.8 MB, free: 13.08 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.371e-05/0.1263, allocations: 19.98 kB / 488.8 MB, free: 13.06 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.1e-05/0.1263, allocations: 21 kB / 488.8 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007571/0.1271, allocations: 411.6 kB / 489.2 MB, free: 12.63 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001832/0.1289, allocations: 1.285 MB / 490.5 MB, free: 11.29 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005353/0.1295, allocations: 275.6 kB / 490.8 MB, free: 10.99 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003005/0.1298, allocations: 146.5 kB / 490.9 MB, free: 10.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.153e-05/0.1299, allocations: 4 kB / 490.9 MB, free: 10.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.713e-05/0.1299, allocations: 34.5 kB / 491 MB, free: 10.79 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.713e-06/0.1299, allocations: 3.938 kB / 491 MB, free: 10.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001119/0.131, allocations: 471.5 kB / 491.4 MB, free: 10.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.742e-05/0.1311, allocations: 110.8 kB / 491.5 MB, free: 10.19 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005028/0.1316, allocations: 497.9 kB / 492 MB, free: 9.703 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.1317, allocations: 33.64 kB / 492.1 MB, free: 9.664 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000148/0.1318, allocations: 216.4 kB / 492.3 MB, free: 9.449 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.68e-05/0.1319, allocations: 63.09 kB / 492.3 MB, free: 9.387 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.861e-05/0.132, allocations: 61.7 kB / 492.4 MB, free: 9.32 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.1321, allocations: 354.8 kB / 492.7 MB, free: 8.965 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002983/0.1324, allocations: 132.1 kB / 492.9 MB, free: 8.832 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003449/0.1328, allocations: 206.6 kB / 493.1 MB, free: 8.594 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006932/0.1335, allocations: 365.9 kB / 493.4 MB, free: 8.199 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.1335, allocations: 4 kB / 493.4 MB, free: 8.195 MB / 366.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008393/0.1343, allocations: 422.9 kB / 493.8 MB, free: 7.777 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.1344, allocations: 8 kB / 493.8 MB, free: 7.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.357e-05/0.1344, allocations: 35.92 kB / 493.9 MB, free: 7.734 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.1345, allocations: 4 kB / 493.9 MB, free: 7.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002017/0.1347, allocations: 36.25 kB / 493.9 MB, free: 7.695 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.1347, allocations: 7.984 kB / 493.9 MB, free: 7.688 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002475/0.1349, allocations: 51.52 kB / 494 MB, free: 7.637 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.429e-05/0.135, allocations: 16 kB / 494 MB, free: 7.621 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.0002093/0.1352, allocations: 201.7 kB / 494.2 MB, free: 7.414 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.791e-05/0.1353, allocations: 43.44 kB / 494.2 MB, free: 7.371 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007641/0.1361, allocations: 400.7 kB / 494.6 MB, free: 6.969 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.1361, allocations: 4 kB / 494.6 MB, free: 6.965 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.1361, allocations: 0 / 494.6 MB, free: 6.965 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1361, allocations: 0 / 494.6 MB, free: 6.965 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005066/0.1366, allocations: 377.2 kB / 495 MB, free: 6.547 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-05/0.1367, allocations: 32 kB / 495 MB, free: 6.516 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001373/0.1368, allocations: 27.97 kB / 495.1 MB, free: 6.488 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.1368, allocations: 3.938 kB / 495.1 MB, free: 6.484 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.764e-05/0.1369, allocations: 15.98 kB / 495.1 MB, free: 6.469 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.1369, allocations: 0 / 495.1 MB, free: 6.469 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1369, allocations: 0 / 495.1 MB, free: 6.469 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007586/0.1376, allocations: 0.5793 MB / 495.7 MB, free: 5.871 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.1378, allocations: 120.6 kB / 495.8 MB, free: 5.734 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.237e-05/0.1378, allocations: 7.938 kB / 495.8 MB, free: 5.727 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002693/0.1381, allocations: 23.95 kB / 495.8 MB, free: 5.703 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.356e-05/0.1382, allocations: 19.98 kB / 495.8 MB, free: 5.684 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.216e-05/0.1382, allocations: 11.94 kB / 495.8 MB, free: 5.672 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003527/0.1386, allocations: 367 kB / 496.2 MB, free: 5.316 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1386, allocations: 0 / 496.2 MB, free: 5.316 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005293/0.1391, allocations: 119.9 kB / 496.3 MB, free: 5.199 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.000327/0.1394, allocations: 167.1 kB / 496.5 MB, free: 5.027 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008084/0.1403, allocations: 0.5464 MB / 497 MB, free: 4.426 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1403, allocations: 0 / 497 MB, free: 4.426 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004321/0.1407, allocations: 387.1 kB / 497.4 MB, free: 3.992 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006199/0.1413, allocations: 93.56 kB / 497.5 MB, free: 3.902 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.1427, allocations: 0.7905 MB / 498.3 MB, free: 3.078 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004184/0.1432, allocations: 0.8536 MB / 499.1 MB, free: 2.199 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001584/0.1433, allocations: 63.23 kB / 499.2 MB, free: 2.137 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.169e-05/0.1434, allocations: 27.44 kB / 499.2 MB, free: 2.109 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1434, allocations: 0 / 499.2 MB, free: 2.109 MB / 366.1 MB Notification: Performance of Templates: time 0.01227/0.1557, allocations: 7.568 MB / 0.4949 GB, free: 10.63 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 cvode -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