Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00175/0.00175, allocations: 114 kB / 19.17 MB, free: 3.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001888/0.001888, allocations: 212.9 kB / 22.13 MB, free: 0.9414 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.592/1.592, allocations: 230.2 MB / 255.1 MB, free: 15.39 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.3062/0.3062, allocations: 46.87 MB / 358.1 MB, free: 10.51 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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=5004,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.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,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.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002234/0.002234, allocations: 87.84 kB / 0.4924 GB, free: 7.984 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1211, allocations: 65.98 MB / 0.5568 GB, free: 5.871 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.003601/0.1247, allocations: 2.1 MB / 0.5589 GB, free: 3.754 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002222/0.1269, allocations: 1.328 MB / 0.5602 GB, free: 2.422 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.127, allocations: 7.938 kB / 0.5602 GB, free: 2.414 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003072/0.1273, allocations: 63.59 kB / 0.5602 GB, free: 2.352 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002106/0.1275, allocations: 99.38 kB / 0.5603 GB, free: 2.254 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006454/0.1281, allocations: 203.2 kB / 0.5605 GB, free: 2.055 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005332/0.1287, allocations: 430 kB / 0.5609 GB, free: 1.633 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.047e-05/0.1288, allocations: 32.75 kB / 0.561 GB, free: 1.602 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002691/0.129, allocations: 147.2 kB / 0.5611 GB, free: 1.457 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002525/0.1293, allocations: 175.1 kB / 0.5613 GB, free: 1.285 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.669e-05/0.1293, allocations: 19.94 kB / 0.5613 GB, free: 1.266 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005231/0.1298, allocations: 279.6 kB / 0.5616 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001244/0.13, allocations: 83.55 kB / 0.5616 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001843/0.1301, allocations: 162.9 kB / 0.5618 GB, free: 0.75 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007121/0.1309, allocations: 0.5173 MB / 0.5623 GB, free: 236 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1309, allocations: 4 kB / 0.5623 GB, free: 232 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1309, allocations: 0 / 0.5623 GB, free: 232 kB / 414.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.1309, allocations: 0 / 0.5623 GB, free: 232 kB / 414.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.001321/0.1322, allocations: 0.7362 MB / 0.563 GB, free: 15.44 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.1322, allocations: 12.02 kB / 0.563 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003986/0.1326, allocations: 76.62 kB / 0.5631 GB, free: 15.35 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003987/0.133, allocations: 284.5 kB / 0.5634 GB, free: 15.03 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.856e-05/0.1331, allocations: 29 kB / 0.5634 GB, free: 15 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.577e-05/0.1331, allocations: 43.91 kB / 0.5634 GB, free: 14.96 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009761/0.1341, allocations: 0.5535 MB / 0.564 GB, free: 14.39 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.1341, allocations: 3.984 kB / 0.564 GB, free: 14.39 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.809e-05/0.1342, allocations: 16 kB / 0.564 GB, free: 14.37 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.522e-05/0.1342, allocations: 20.98 kB / 0.564 GB, free: 14.35 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008566/0.135, allocations: 415.6 kB / 0.5644 GB, free: 13.95 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001921/0.137, allocations: 1.282 MB / 0.5657 GB, free: 12.61 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000575/0.1375, allocations: 271.6 kB / 0.5659 GB, free: 12.31 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003548/0.1379, allocations: 134.5 kB / 0.5661 GB, free: 12.17 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.616e-05/0.1379, allocations: 11.94 kB / 0.5661 GB, free: 12.16 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.138, allocations: 30.56 kB / 0.5661 GB, free: 12.12 MB / 430.1 MB Notification: Performance of pre-optimization done (n=17): time 1.974e-06/0.138, allocations: 0 / 0.5661 GB, free: 12.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=17): time 0.001275/0.1392, allocations: 471.2 kB / 0.5666 GB, free: 11.66 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.39e-05/0.1393, allocations: 106.8 kB / 0.5667 GB, free: 11.53 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006138/0.1399, allocations: 0.4978 MB / 0.5671 GB, free: 11.02 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.203e-05/0.14, allocations: 29.7 kB / 0.5672 GB, free: 10.99 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001853/0.1402, allocations: 212.4 kB / 0.5674 GB, free: 10.77 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.929e-05/0.1402, allocations: 67.42 kB / 0.5674 GB, free: 10.71 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/0.1403, allocations: 73.69 kB / 0.5675 GB, free: 10.63 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001991/0.1405, allocations: 350.8 kB / 0.5678 GB, free: 10.28 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003528/0.1409, allocations: 128.1 kB / 0.568 GB, free: 10.15 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004132/0.1413, allocations: 214.6 kB / 0.5682 GB, free: 9.902 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007863/0.1421, allocations: 367.2 kB / 0.5685 GB, free: 9.508 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.1421, allocations: 4 kB / 0.5685 GB, free: 9.504 MB / 430.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009619/0.1431, allocations: 421 kB / 0.5689 GB, free: 9.086 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.1431, allocations: 15.92 kB / 0.5689 GB, free: 9.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.696e-05/0.1432, allocations: 32 kB / 0.569 GB, free: 9.039 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.386e-05/0.1432, allocations: 4 kB / 0.569 GB, free: 9.035 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002159/0.1434, allocations: 35.89 kB / 0.569 GB, free: 9 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.427e-06/0.1434, allocations: 4 kB / 0.569 GB, free: 8.996 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002721/0.1437, allocations: 55.94 kB / 0.5691 GB, free: 8.941 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.66e-05/0.1437, allocations: 23.92 kB / 0.5691 GB, free: 8.918 MB / 430.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.0002407/0.144, allocations: 193.7 kB / 0.5693 GB, free: 8.719 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.1441, allocations: 47.66 kB / 0.5693 GB, free: 8.672 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008947/0.145, allocations: 402.6 kB / 0.5697 GB, free: 8.27 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-06/0.145, allocations: 4 kB / 0.5697 GB, free: 8.266 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.145, allocations: 0 / 0.5697 GB, free: 8.266 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.145, allocations: 3.984 kB / 0.5697 GB, free: 8.262 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006025/0.1456, allocations: 361.4 kB / 0.5701 GB, free: 7.859 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.649e-05/0.1456, allocations: 32 kB / 0.5701 GB, free: 7.828 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001573/0.1458, allocations: 23.97 kB / 0.5701 GB, free: 7.805 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.1458, allocations: 3.938 kB / 0.5701 GB, free: 7.801 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.971e-05/0.1458, allocations: 19.98 kB / 0.5701 GB, free: 7.781 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.1458, allocations: 0 / 0.5701 GB, free: 7.781 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.1458, allocations: 0 / 0.5701 GB, free: 7.781 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009314/0.1468, allocations: 0.5873 MB / 0.5707 GB, free: 7.18 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001401/0.1469, allocations: 128.7 kB / 0.5708 GB, free: 7.035 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.407e-05/0.147, allocations: 4 kB / 0.5708 GB, free: 7.031 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002829/0.1472, allocations: 19.97 kB / 0.5708 GB, free: 7.012 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.476e-05/0.1473, allocations: 19.98 kB / 0.5709 GB, free: 6.992 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.524e-05/0.1473, allocations: 8 kB / 0.5709 GB, free: 6.984 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004491/0.1478, allocations: 363 kB / 0.5712 GB, free: 6.629 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1478, allocations: 4 kB / 0.5712 GB, free: 6.625 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005879/0.1484, allocations: 127.7 kB / 0.5713 GB, free: 6.5 MB / 430.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.0003624/0.1487, allocations: 182.9 kB / 0.5715 GB, free: 6.312 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001006/0.1498, allocations: 0.5307 MB / 0.572 GB, free: 5.727 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1498, allocations: 64 / 0.572 GB, free: 5.727 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005279/0.1503, allocations: 387.1 kB / 0.5724 GB, free: 5.293 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000667/0.151, allocations: 102 kB / 0.5725 GB, free: 5.195 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001477/0.1524, allocations: 0.8111 MB / 0.5733 GB, free: 4.348 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004949/0.1529, allocations: 0.8458 MB / 0.5741 GB, free: 3.477 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.352e-05/0.153, allocations: 31.42 kB / 0.5742 GB, free: 3.449 MB / 430.1 MB Notification: Performance of SimCode: time 7.92e-07/0.153, allocations: 0 / 0.5742 GB, free: 3.449 MB / 430.1 MB Notification: Performance of Templates: time 0.01171/0.1647, allocations: 7.468 MB / 0.5814 GB, free: 12.02 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/General/kc_approxForcedConvection/kc_approxForcedConvection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.79222535691224]