Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar,fileNamePrefix="ModelicaTest_3_2_3_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007028/0.0007029, allocations: 103 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000752/0.000752, allocations: 185.4 kB / 16.92 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.334/1.334, allocations: 205.4 MB / 223.1 MB, free: 5.484 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3648/0.3648, allocations: 43.57 MB / 315 MB, free: 8.773 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005475/0.0005475, allocations: 12 kB / 384.7 MB, free: 7.523 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1327, allocations: 58.85 MB / 443.6 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar): time 0.002134/0.1349, allocations: 1.658 MB / 445.2 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001701/0.1366, allocations: 1.162 MB / 446.4 MB, free: 9.723 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.252e-05/0.1367, allocations: 8 kB / 446.4 MB, free: 9.715 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001945/0.1369, allocations: 55.72 kB / 446.4 MB, free: 9.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002245/0.1371, allocations: 99.47 kB / 446.5 MB, free: 9.562 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003438/0.1375, allocations: 131.6 kB / 446.7 MB, free: 9.434 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005373/0.138, allocations: 0.5797 MB / 447.2 MB, free: 8.852 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.901e-05/0.1381, allocations: 57 kB / 447.3 MB, free: 8.797 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.1382, allocations: 155.1 kB / 447.5 MB, free: 8.645 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00024/0.1385, allocations: 203 kB / 447.7 MB, free: 8.445 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.528e-05/0.1385, allocations: 12 kB / 447.7 MB, free: 8.434 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003802/0.1389, allocations: 271.5 kB / 447.9 MB, free: 8.168 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.652e-05/0.139, allocations: 95.52 kB / 448 MB, free: 8.074 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001791/0.1392, allocations: 208.4 kB / 448.2 MB, free: 7.863 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005297/0.1397, allocations: 0.5528 MB / 448.8 MB, free: 7.309 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.784e-06/0.1397, allocations: 0 / 448.8 MB, free: 7.309 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1398, allocations: 0 / 448.8 MB, free: 7.309 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.323e-06/0.1398, allocations: 4 kB / 448.8 MB, free: 7.305 MB / 382.1 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.0008164/0.1406, allocations: 0.6398 MB / 449.4 MB, free: 6.617 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.1406, allocations: 12.03 kB / 449.4 MB, free: 6.605 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001079/0.1408, allocations: 94.7 kB / 449.5 MB, free: 6.504 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.926e-05/0.1408, allocations: 48.38 kB / 449.6 MB, free: 6.457 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003665/0.1412, allocations: 295.6 kB / 449.9 MB, free: 6.129 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.835e-05/0.1413, allocations: 37.69 kB / 449.9 MB, free: 6.094 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.791e-05/0.1413, allocations: 51.94 kB / 450 MB, free: 6.043 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008746/0.1422, allocations: 0.6388 MB / 450.6 MB, free: 5.398 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.1423, allocations: 4 kB / 450.6 MB, free: 5.395 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.294e-05/0.1423, allocations: 20 kB / 450.6 MB, free: 5.375 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.474e-05/0.1424, allocations: 33.3 kB / 450.6 MB, free: 5.344 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007263/0.1431, allocations: 0.5086 MB / 451.2 MB, free: 4.832 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002114/0.1452, allocations: 1.399 MB / 452.6 MB, free: 3.379 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006856/0.1459, allocations: 438.1 kB / 453 MB, free: 2.941 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002193/0.1461, allocations: 140.8 kB / 453.1 MB, free: 2.801 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.175e-05/0.1462, allocations: 19.86 kB / 453.1 MB, free: 2.781 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.1462, allocations: 38.5 kB / 453.2 MB, free: 2.734 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.433e-06/0.1462, allocations: 4 kB / 453.2 MB, free: 2.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=25): time 0.0008501/0.1471, allocations: 0.4929 MB / 453.7 MB, free: 2.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.1471, allocations: 55.41 kB / 453.7 MB, free: 2.164 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005879/0.1477, allocations: 0.5485 MB / 454.3 MB, free: 1.605 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.343e-05/0.1478, allocations: 29.7 kB / 454.3 MB, free: 1.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001631/0.148, allocations: 216.1 kB / 454.5 MB, free: 1.355 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.881e-05/0.148, allocations: 90.73 kB / 454.6 MB, free: 1.266 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.188e-05/0.1481, allocations: 37.7 kB / 454.6 MB, free: 1.223 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.1483, allocations: 370.7 kB / 455 MB, free: 0.8516 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002413/0.1485, allocations: 156.2 kB / 455.2 MB, free: 0.6953 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003165/0.1488, allocations: 256.6 kB / 455.4 MB, free: 412 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1871/0.3359, allocations: 1.025 MB / 456.4 MB, free: 45.95 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.336, allocations: 0 / 456.4 MB, free: 45.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007368/0.3367, allocations: 0.5051 MB / 456.9 MB, free: 45.9 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.3368, allocations: 5.281 kB / 456.9 MB, free: 45.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.739e-05/0.3368, allocations: 44.22 kB / 457 MB, free: 45.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.3369, allocations: 5.125 kB / 457 MB, free: 45.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001719/0.337, allocations: 39.64 kB / 457 MB, free: 45.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.337, allocations: 7.406 kB / 457 MB, free: 45.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002381/0.3373, allocations: 54.39 kB / 457.1 MB, free: 45.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.531e-05/0.3373, allocations: 25.17 kB / 457.1 MB, free: 45.9 MB / 382.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002782/0.3376, allocations: 225.7 kB / 457.3 MB, free: 45.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.219e-05/0.3377, allocations: 45.14 kB / 457.4 MB, free: 45.79 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008071/0.3385, allocations: 0.5272 MB / 457.9 MB, free: 45.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.3385, allocations: 7.844 kB / 457.9 MB, free: 45.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.3385, allocations: 0 / 457.9 MB, free: 45.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.3385, allocations: 6.078 kB / 457.9 MB, free: 45.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004416/0.339, allocations: 432.4 kB / 458.3 MB, free: 45.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.896e-05/0.339, allocations: 39.33 kB / 458.4 MB, free: 45.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001499/0.3392, allocations: 26.59 kB / 458.4 MB, free: 45.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.3392, allocations: 3.094 kB / 458.4 MB, free: 45.54 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.68e-05/0.3392, allocations: 11.91 kB / 458.4 MB, free: 45.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.3392, allocations: 2.938 kB / 458.4 MB, free: 45.54 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.3393, allocations: 0 / 458.4 MB, free: 45.54 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008009/0.3401, allocations: 0.7163 MB / 459.1 MB, free: 45.38 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.38e-05/0.3401, allocations: 124.9 kB / 459.3 MB, free: 45.26 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.843e-05/0.3402, allocations: 5.594 kB / 459.3 MB, free: 45.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/0.3404, allocations: 10.06 kB / 459.3 MB, free: 45.26 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.127e-05/0.3404, allocations: 19.02 kB / 459.3 MB, free: 45.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.432e-05/0.3405, allocations: 22.97 kB / 459.3 MB, free: 45.26 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003076/0.3408, allocations: 402.2 kB / 459.7 MB, free: 45.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3408, allocations: 0 / 459.7 MB, free: 45.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004331/0.3412, allocations: 146.4 kB / 459.9 MB, free: 45.17 MB / 382.1 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 (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.001058/0.3423, allocations: 1.32 MB / 461.2 MB, free: 44.47 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005721/0.3429, allocations: 0.6677 MB / 461.8 MB, free: 44.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3429, allocations: 0 / 461.8 MB, free: 44.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002888/0.3432, allocations: 495.1 kB / 462.3 MB, free: 43.7 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004705/0.3437, allocations: 86.2 kB / 462.4 MB, free: 43.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005037/0.3487, allocations: 5.617 MB / 468 MB, free: 41.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002481/0.349, allocations: 0.8847 MB / 468.9 MB, free: 40.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002167/0.3492, allocations: 116.3 kB / 469 MB, free: 40.89 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001485/0.3494, allocations: 142.1 kB / 469.2 MB, free: 40.88 MB / 382.1 MB Notification: Performance of SimCode: time 4.2e-07/0.3494, allocations: 0 / 469.2 MB, free: 40.88 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.074/1.424, allocations: 12.15 MB / 481.3 MB, free: 39.9 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001895/1.424, allocations: 245.2 kB / 481.5 MB, free: 39.64 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.024/3.448, allocations: 0 / 481.5 MB, free: 39.64 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches