Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.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: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008379/0.0008377, allocations: 175.1 kB / 16.72 MB, free: 5.055 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.17/1.17, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.0007328/0.0007329, allocations: 90.34 kB / 271.2 MB, free: 8.258 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.3167/0.3167, allocations: 43.56 MB / 363.1 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004285/0.0004289, allocations: 12 kB / 432.1 MB, free: 5.48 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1149, allocations: 58.84 MB / 490.9 MB, free: 10.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.002425/0.1174, allocations: 1.836 MB / 492.8 MB, free: 8.691 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001459/0.1189, allocations: 1.018 MB / 493.8 MB, free: 7.668 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.119, allocations: 0 / 493.8 MB, free: 7.668 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002947/0.1193, allocations: 75.52 kB / 493.9 MB, free: 7.594 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00029/0.1196, allocations: 75.45 kB / 493.9 MB, free: 7.52 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002747/0.1199, allocations: 99.64 kB / 494 MB, free: 7.422 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002016/0.1201, allocations: 170.9 kB / 494.2 MB, free: 7.254 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.082e-05/0.1202, allocations: 24.38 kB / 494.2 MB, free: 7.23 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.1203, allocations: 67.64 kB / 494.3 MB, free: 7.164 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.1204, allocations: 75.56 kB / 494.4 MB, free: 7.09 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.372e-05/0.1205, allocations: 4 kB / 494.4 MB, free: 7.086 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000383/0.1209, allocations: 259.5 kB / 494.6 MB, free: 6.832 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.252e-05/0.1209, allocations: 23.8 kB / 494.7 MB, free: 6.809 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.36e-05/0.121, allocations: 109.2 kB / 494.8 MB, free: 6.695 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002683/0.1213, allocations: 207.2 kB / 495 MB, free: 6.492 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1213, allocations: 0 / 495 MB, free: 6.492 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1213, allocations: 0 / 495 MB, free: 6.492 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.1213, allocations: 0 / 495 MB, free: 6.492 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0006054/0.1219, allocations: 479.1 kB / 495.4 MB, free: 5.977 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.122, allocations: 12.03 kB / 495.4 MB, free: 5.965 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.401e-05/0.1221, allocations: 50.73 kB / 495.5 MB, free: 5.906 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.937e-05/0.1221, allocations: 28.59 kB / 495.5 MB, free: 5.879 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002015/0.1223, allocations: 215.9 kB / 495.7 MB, free: 5.629 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.1224, allocations: 16.81 kB / 495.7 MB, free: 5.613 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.57e-05/0.1224, allocations: 23.94 kB / 495.8 MB, free: 5.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004104/0.1228, allocations: 231.2 kB / 496 MB, free: 5.359 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.1228, allocations: 3.938 kB / 496 MB, free: 5.355 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.433e-05/0.1229, allocations: 12 kB / 496 MB, free: 5.344 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.1229, allocations: 4 kB / 496 MB, free: 5.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004468/0.1233, allocations: 253.6 kB / 496.3 MB, free: 5.09 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00102/0.1244, allocations: 0.6234 MB / 496.9 MB, free: 4.414 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002922/0.1247, allocations: 106.6 kB / 497 MB, free: 4.301 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001402/0.1248, allocations: 52.86 kB / 497 MB, free: 4.246 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.471e-05/0.1248, allocations: 0 / 497 MB, free: 4.246 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.1249, allocations: 30.56 kB / 497.1 MB, free: 4.207 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.203e-06/0.1249, allocations: 0 / 497.1 MB, free: 4.207 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005558/0.1254, allocations: 185.3 kB / 497.3 MB, free: 4.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/0.1255, allocations: 55.41 kB / 497.3 MB, free: 3.953 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000241/0.1257, allocations: 262.9 kB / 497.6 MB, free: 3.688 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.1258, allocations: 29.7 kB / 497.6 MB, free: 3.652 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.1259, allocations: 179.3 kB / 497.8 MB, free: 3.473 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.861e-05/0.1259, allocations: 31.64 kB / 497.8 MB, free: 3.441 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.039e-05/0.1259, allocations: 0 / 497.8 MB, free: 3.441 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.1261, allocations: 334.8 kB / 498.1 MB, free: 3.105 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.1262, allocations: 55.95 kB / 498.2 MB, free: 3.051 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000223/0.1265, allocations: 152.7 kB / 498.3 MB, free: 2.855 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003725/0.1268, allocations: 228.6 kB / 498.6 MB, free: 2.586 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.1269, allocations: 0 / 498.6 MB, free: 2.586 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005004/0.1274, allocations: 245.2 kB / 498.8 MB, free: 2.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.1274, allocations: 11.94 kB / 498.8 MB, free: 2.328 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.1274, allocations: 8 kB / 498.8 MB, free: 2.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.1274, allocations: 4 kB / 498.8 MB, free: 2.316 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003818/0.1278, allocations: 88.28 kB / 498.9 MB, free: 2.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008245/0.1287, allocations: 1.223 MB / 0.4884 GB, free: 0.9609 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002007/0.1289, allocations: 35.62 kB / 0.4884 GB, free: 0.9258 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.555e-05/0.1289, allocations: 16.17 kB / 0.4885 GB, free: 0.9102 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_2.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001421/0.1291, allocations: 141.7 kB / 0.4886 GB, free: 0.7617 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.259e-05/0.1291, allocations: 23.72 kB / 0.4886 GB, free: 0.7383 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004381/0.1296, allocations: 179.2 kB / 0.4888 GB, free: 0.5586 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.1296, allocations: 0 / 0.4888 GB, free: 0.5586 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1296, allocations: 0 / 0.4888 GB, free: 0.5586 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.1296, allocations: 0 / 0.4888 GB, free: 0.5586 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006511/0.1302, allocations: 464 kB / 0.4892 GB, free: 44 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1303, allocations: 0 / 0.4892 GB, free: 44 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2064/0.3366, allocations: 59.06 kB / 0.4893 GB, free: 43.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.768e-06/0.3367, allocations: 1.438 kB / 0.4893 GB, free: 43.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.195e-05/0.3367, allocations: 6.188 kB / 0.4893 GB, free: 43.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005035/0.3372, allocations: 1.214 MB / 0.4905 GB, free: 42.13 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.3372, allocations: 0 / 0.4905 GB, free: 42.13 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003806/0.3376, allocations: 255.4 kB / 0.4907 GB, free: 41.99 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.444e-05/0.3377, allocations: 105.1 kB / 0.4908 GB, free: 41.89 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.373e-05/0.3377, allocations: 8.469 kB / 0.4908 GB, free: 41.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000166/0.3379, allocations: 10.8 kB / 0.4908 GB, free: 41.89 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.064e-05/0.338, allocations: 10.59 kB / 0.4908 GB, free: 41.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.338, allocations: 4.672 kB / 0.4908 GB, free: 41.89 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001776/0.3382, allocations: 187.2 kB / 0.491 GB, free: 41.81 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3382, allocations: 0 / 0.491 GB, free: 41.81 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003772/0.3386, allocations: 63.38 kB / 0.4911 GB, free: 41.81 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000646/0.3392, allocations: 0.8275 MB / 0.4919 GB, free: 41.13 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005323/0.3398, allocations: 184.8 kB / 0.4921 GB, free: 41.13 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3398, allocations: 0 / 0.4921 GB, free: 41.13 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003562/0.3401, allocations: 91.67 kB / 0.4922 GB, free: 41.13 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003791/0.3405, allocations: 23.44 kB / 0.4922 GB, free: 41.13 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002083/0.3426, allocations: 1.407 MB / 0.4936 GB, free: 40.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001615/0.3428, allocations: 0.7321 MB / 0.4943 GB, free: 39.78 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.3429, allocations: 62.88 kB / 0.4943 GB, free: 39.77 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3429, allocations: 1.281 kB / 0.4943 GB, free: 39.77 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.061/3.404, allocations: 4.946 MB / 0.4992 GB, free: 39.47 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube_KC/kc_flatTube_KC.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches