Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001148/0.001147, allocations: 177.9 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.43/1.43, allocations: 205.4 MB / 222.5 MB, free: 9.105 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007669/0.0007669, allocations: 89.05 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3403/0.3403, allocations: 43.56 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000425/0.000425, allocations: 19.98 kB / 431.4 MB, free: 6.125 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1123, allocations: 58.84 MB / 490.3 MB, free: 11.2 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.002301/0.1146, allocations: 1.723 MB / 492 MB, free: 9.461 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00179/0.1164, allocations: 1.197 MB / 493.2 MB, free: 8.258 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.471e-05/0.1165, allocations: 0 / 493.2 MB, free: 8.258 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002482/0.1168, allocations: 55.73 kB / 493.2 MB, free: 8.203 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001587/0.117, allocations: 79.5 kB / 493.3 MB, free: 8.125 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004472/0.1174, allocations: 159.5 kB / 493.5 MB, free: 7.969 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004546/0.1179, allocations: 462 kB / 493.9 MB, free: 7.516 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.228e-05/0.118, allocations: 52.69 kB / 494 MB, free: 7.465 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000172/0.1182, allocations: 139.2 kB / 494.1 MB, free: 7.328 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002066/0.1184, allocations: 175.2 kB / 494.3 MB, free: 7.156 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.16e-05/0.1184, allocations: 8 kB / 494.3 MB, free: 7.148 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003892/0.1188, allocations: 247.6 kB / 494.5 MB, free: 6.906 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.915e-05/0.1189, allocations: 83.59 kB / 494.6 MB, free: 6.824 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.02e-05/0.119, allocations: 85.45 kB / 494.7 MB, free: 6.734 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004097/0.1194, allocations: 379.2 kB / 495.1 MB, free: 6.363 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1194, allocations: 0 / 495.1 MB, free: 6.363 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1194, allocations: 0 / 495.1 MB, free: 6.363 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.1194, allocations: 4 kB / 495.1 MB, free: 6.359 MB / 378.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.001044/0.1205, allocations: 0.6704 MB / 495.7 MB, free: 5.637 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.1205, allocations: 8.031 kB / 495.7 MB, free: 5.629 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.566e-05/0.1206, allocations: 47.39 kB / 495.8 MB, free: 5.582 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003157/0.1209, allocations: 279.4 kB / 496.1 MB, free: 5.266 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.443e-05/0.121, allocations: 33 kB / 496.1 MB, free: 5.234 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.123e-05/0.121, allocations: 36 kB / 496.1 MB, free: 5.199 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000868/0.1219, allocations: 0.5613 MB / 496.7 MB, free: 4.621 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.1219, allocations: 3.984 kB / 496.7 MB, free: 4.617 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.381e-05/0.122, allocations: 16 kB / 496.7 MB, free: 4.602 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.955e-05/0.122, allocations: 17 kB / 496.7 MB, free: 4.586 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000807/0.1228, allocations: 443.5 kB / 497.2 MB, free: 4.152 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00164/0.1245, allocations: 1.281 MB / 498.4 MB, free: 2.812 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005539/0.125, allocations: 307.6 kB / 498.7 MB, free: 2.484 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003308/0.1254, allocations: 166.4 kB / 498.9 MB, free: 2.312 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.642e-05/0.1254, allocations: 7.984 kB / 498.9 MB, free: 2.305 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.1255, allocations: 34.56 kB / 498.9 MB, free: 2.262 MB / 378.7 MB Notification: Performance of pre-optimization done (n=17): time 1.158e-05/0.1255, allocations: 112 / 498.9 MB, free: 2.262 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.001208/0.1267, allocations: 0.5355 MB / 499.5 MB, free: 1.723 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.247e-05/0.1268, allocations: 106.8 kB / 499.6 MB, free: 1.594 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005132/0.1273, allocations: 497.9 kB / 0.4883 GB, free: 1.094 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.765e-05/0.1273, allocations: 33.7 kB / 0.4884 GB, free: 1.055 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001601/0.1275, allocations: 208.2 kB / 0.4886 GB, free: 0.8438 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.424e-05/0.1275, allocations: 67.08 kB / 0.4886 GB, free: 0.7773 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.725e-05/0.1276, allocations: 4 kB / 0.4886 GB, free: 0.7734 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.1277, allocations: 350.8 kB / 0.489 GB, free: 432 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003493/0.1281, allocations: 160.1 kB / 0.4891 GB, free: 272 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003701/0.1284, allocations: 230.6 kB / 0.4894 GB, free: 4 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1829/0.3114, allocations: 176.3 kB / 0.4895 GB, free: 42.99 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.3114, allocations: 1.656 kB / 0.4895 GB, free: 42.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.00106/0.3125, allocations: 467.1 kB / 0.49 GB, free: 42.96 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.3126, allocations: 6.656 kB / 0.49 GB, free: 42.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.329e-05/0.3126, allocations: 33.42 kB / 0.49 GB, free: 42.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.3126, allocations: 4.609 kB / 0.49 GB, free: 42.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002392/0.3129, allocations: 43.34 kB / 0.4901 GB, free: 42.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/0.3129, allocations: 11.8 kB / 0.4901 GB, free: 42.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002943/0.3132, allocations: 56.3 kB / 0.4901 GB, free: 42.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.601e-05/0.3133, allocations: 17.61 kB / 0.4901 GB, free: 42.96 MB / 378.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.0002428/0.3135, allocations: 201.5 kB / 0.4903 GB, free: 42.84 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.3136, allocations: 39.64 kB / 0.4904 GB, free: 42.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008625/0.3145, allocations: 438.3 kB / 0.4908 GB, free: 42.79 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.3145, allocations: 4.703 kB / 0.4908 GB, free: 42.79 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3145, allocations: 1.625 kB / 0.4908 GB, free: 42.79 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.3145, allocations: 1.922 kB / 0.4908 GB, free: 42.79 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005555/0.3151, allocations: 375.2 kB / 0.4911 GB, free: 42.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.833e-05/0.3152, allocations: 36.47 kB / 0.4912 GB, free: 42.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001675/0.3153, allocations: 32.19 kB / 0.4912 GB, free: 42.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.3153, allocations: 8.25 kB / 0.4912 GB, free: 42.61 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.783e-05/0.3154, allocations: 13.73 kB / 0.4912 GB, free: 42.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.626e-06/0.3154, allocations: 1.922 kB / 0.4912 GB, free: 42.6 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.3154, allocations: 0.9688 kB / 0.4912 GB, free: 42.6 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008788/0.3163, allocations: 0.6231 MB / 0.4918 GB, free: 42.3 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.111e-05/0.3164, allocations: 120.4 kB / 0.492 GB, free: 42.19 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.474e-05/0.3165, allocations: 5.281 kB / 0.492 GB, free: 42.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002898/0.3168, allocations: 26.16 kB / 0.492 GB, free: 42.18 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.334e-05/0.3168, allocations: 18.67 kB / 0.492 GB, free: 42.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-05/0.3169, allocations: 14.55 kB / 0.492 GB, free: 42.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004048/0.3173, allocations: 360.6 kB / 0.4924 GB, free: 42.1 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3173, allocations: 3.625 kB / 0.4924 GB, free: 42.1 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005343/0.3178, allocations: 126.5 kB / 0.4925 GB, free: 42.09 MB / 378.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.0003292/0.3182, allocations: 167.8 kB / 0.4927 GB, free: 42 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009726/0.3192, allocations: 0.5855 MB / 0.4932 GB, free: 41.71 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3192, allocations: 0 / 0.4932 GB, free: 41.71 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004794/0.3197, allocations: 418.4 kB / 0.4936 GB, free: 41.42 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006564/0.3203, allocations: 90.78 kB / 0.4937 GB, free: 41.41 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/0.3217, allocations: 0.894 MB / 0.4946 GB, free: 41.01 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/0.322, allocations: 0.8413 MB / 0.4954 GB, free: 40.31 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.268e-05/0.3221, allocations: 28.31 kB / 0.4954 GB, free: 40.31 MB / 378.7 MB Notification: Performance of SimCode: time 4.91e-07/0.3221, allocations: 0 / 0.4954 GB, free: 40.31 MB / 378.7 MB Notification: Performance of Templates: time 0.01005/0.3321, allocations: 7.449 MB / 0.5027 GB, free: 39.66 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/General/kc_approxForcedConvection/kc_approxForcedConvection.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches