Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.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.Channel.kc_evenGapLaminar,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar",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.001107/0.001107, 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.222/1.222, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0007677/0.0007683, allocations: 90.33 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.3008/0.3008, allocations: 43.56 MB / 363.1 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003612/0.0003612, allocations: 16 kB / 432.1 MB, free: 5.48 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1074, allocations: 58.85 MB / 490.9 MB, free: 10.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar): time 0.002057/0.1095, allocations: 1.612 MB / 492.6 MB, free: 8.914 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00145/0.111, allocations: 1.073 MB / 493.6 MB, free: 7.836 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.019e-05/0.111, allocations: 4 kB / 493.6 MB, free: 7.832 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000243/0.1113, allocations: 51.67 kB / 493.7 MB, free: 7.781 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002139/0.1115, allocations: 95.55 kB / 493.8 MB, free: 7.688 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003595/0.1119, allocations: 127.5 kB / 493.9 MB, free: 7.562 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004819/0.1124, allocations: 0.5134 MB / 494.4 MB, free: 7.047 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.1125, allocations: 57 kB / 494.5 MB, free: 6.992 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001306/0.1126, allocations: 151.2 kB / 494.6 MB, free: 6.844 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002282/0.1129, allocations: 199 kB / 494.8 MB, free: 6.648 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.261e-05/0.1129, allocations: 16 kB / 494.8 MB, free: 6.633 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003728/0.1133, allocations: 255.5 kB / 495.1 MB, free: 6.383 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.235e-05/0.1134, allocations: 99.5 kB / 495.2 MB, free: 6.285 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001649/0.1136, allocations: 200.6 kB / 495.4 MB, free: 6.082 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003966/0.114, allocations: 411 kB / 495.8 MB, free: 5.68 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.114, allocations: 0 / 495.8 MB, free: 5.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.114, allocations: 0 / 495.8 MB, free: 5.68 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.114, allocations: 0 / 495.8 MB, free: 5.68 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.000794/0.1148, allocations: 0.636 MB / 496.4 MB, free: 4.996 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.1148, allocations: 8.031 kB / 496.4 MB, free: 4.988 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.569e-05/0.1149, allocations: 94.7 kB / 496.5 MB, free: 4.887 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.837e-05/0.115, allocations: 48.38 kB / 496.6 MB, free: 4.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003272/0.1153, allocations: 295.6 kB / 496.8 MB, free: 4.512 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.251e-05/0.1154, allocations: 41.67 kB / 496.9 MB, free: 4.473 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.771e-05/0.1155, allocations: 51.88 kB / 496.9 MB, free: 4.422 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008562/0.1163, allocations: 0.6271 MB / 497.6 MB, free: 3.789 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.1163, allocations: 0 / 497.6 MB, free: 3.789 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.39e-05/0.1164, allocations: 27.97 kB / 497.6 MB, free: 3.762 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.585e-05/0.1165, allocations: 37.3 kB / 497.6 MB, free: 3.727 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007163/0.1172, allocations: 0.5008 MB / 498.1 MB, free: 3.223 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002088/0.1193, allocations: 1.399 MB / 499.5 MB, free: 1.77 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006598/0.1199, allocations: 430.1 kB / 499.9 MB, free: 1.34 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002047/0.1202, allocations: 140.8 kB / 0.4884 GB, free: 1.199 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.71e-05/0.1202, allocations: 23.84 kB / 0.4884 GB, free: 1.176 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.1203, allocations: 34.56 kB / 0.4884 GB, free: 1.133 MB / 378.7 MB Notification: Performance of pre-optimization done (n=25): time 1.753e-06/0.1203, allocations: 0 / 0.4884 GB, free: 1.133 MB / 378.7 MB Notification: Performance of matching and sorting (n=25): time 0.0008376/0.1211, allocations: 0.489 MB / 0.4889 GB, free: 0.6367 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/0.1211, allocations: 59.41 kB / 0.489 GB, free: 0.5664 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005396/0.1217, allocations: 0.5523 MB / 0.4895 GB, free: 4 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.1732/0.2949, allocations: 26.58 kB / 0.4895 GB, free: 43.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001822/0.2951, allocations: 214.7 kB / 0.4897 GB, free: 43.17 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.48e-05/0.2952, allocations: 85.67 kB / 0.4898 GB, free: 43.16 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.399e-05/0.2952, allocations: 7.75 kB / 0.4898 GB, free: 43.16 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.744e-05/0.2953, allocations: 357 kB / 0.4902 GB, free: 42.84 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000262/0.2956, allocations: 152.6 kB / 0.4903 GB, free: 42.84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002764/0.2959, allocations: 263.5 kB / 0.4905 GB, free: 42.72 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004018/0.2999, allocations: 1.002 MB / 0.4915 GB, free: 42.61 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.2999, allocations: 1.344 kB / 0.4915 GB, free: 42.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009389/0.3009, allocations: 0.5023 MB / 0.492 GB, free: 42.55 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.3009, allocations: 6.875 kB / 0.492 GB, free: 42.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-05/0.301, allocations: 44.41 kB / 0.4921 GB, free: 42.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.301, allocations: 5.156 kB / 0.4921 GB, free: 42.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002053/0.3012, allocations: 40.42 kB / 0.4921 GB, free: 42.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.3012, allocations: 10.8 kB / 0.4921 GB, free: 42.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002719/0.3015, allocations: 60.05 kB / 0.4922 GB, free: 42.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.61e-05/0.3016, allocations: 21.94 kB / 0.4922 GB, free: 42.51 MB / 378.7 MB Warning: Assuming fixed start value for the following 1 variables: dimlesslength:VARIABLE(start = 0.01 unit = "m" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,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 (41): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0002925/0.3019, allocations: 224.7 kB / 0.4924 GB, free: 42.39 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.478e-05/0.302, allocations: 43.86 kB / 0.4925 GB, free: 42.37 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001102/0.3031, allocations: 0.532 MB / 0.493 GB, free: 42.31 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/0.3031, allocations: 11.7 kB / 0.493 GB, free: 42.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.3031, allocations: 0 / 0.493 GB, free: 42.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.3031, allocations: 2.703 kB / 0.493 GB, free: 42.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006129/0.3037, allocations: 425.2 kB / 0.4934 GB, free: 42.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.6e-05/0.3038, allocations: 38.66 kB / 0.4934 GB, free: 42.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001789/0.304, allocations: 29.5 kB / 0.4935 GB, free: 42.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.304, allocations: 5.094 kB / 0.4935 GB, free: 42.11 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.629e-05/0.3041, allocations: 14.33 kB / 0.4935 GB, free: 42.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.3041, allocations: 5.938 kB / 0.4935 GB, free: 42.1 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.3041, allocations: 1.812 kB / 0.4935 GB, free: 42.1 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/0.3052, allocations: 0.7044 MB / 0.4942 GB, free: 41.94 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.548e-05/0.3053, allocations: 131.4 kB / 0.4943 GB, free: 41.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.961e-05/0.3054, allocations: 4.562 kB / 0.4943 GB, free: 41.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002076/0.3056, allocations: 10.05 kB / 0.4943 GB, free: 41.82 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.966e-05/0.3057, allocations: 27.56 kB / 0.4943 GB, free: 41.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.523e-05/0.3057, allocations: 17.41 kB / 0.4944 GB, free: 41.81 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004537/0.3062, allocations: 399.2 kB / 0.4947 GB, free: 41.73 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3062, allocations: 1.281 kB / 0.4947 GB, free: 41.73 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005137/0.3067, allocations: 145 kB / 0.4949 GB, free: 41.73 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (dimlesslength) * 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 (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.001388/0.3081, allocations: 1.308 MB / 0.4962 GB, free: 41.03 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007466/0.3089, allocations: 0.6751 MB / 0.4968 GB, free: 40.63 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3089, allocations: 0 / 0.4968 GB, free: 40.63 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003464/0.3093, allocations: 489 kB / 0.4973 GB, free: 40.25 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005418/0.3098, allocations: 89.12 kB / 0.4974 GB, free: 40.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004102/0.3139, allocations: 3.365 MB / 0.5007 GB, free: 39.29 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000214/0.3141, allocations: 0.8729 MB / 0.5015 GB, free: 38.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001697/0.3143, allocations: 138.2 kB / 0.5016 GB, free: 38.58 MB / 378.7 MB Notification: Performance of SimCode: time 2.7e-07/0.3143, allocations: 0 / 0.5016 GB, free: 38.58 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.464/4.778, allocations: 8.997 MB / 0.5104 GB, free: 37.94 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapLaminar/kc_evenGapLaminar.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches