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_KC.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_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC",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.001107/0.001107, allocations: 104.4 kB / 16.27 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001146/0.001147, allocations: 187.8 kB / 17.19 MB, free: 5.688 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.321/1.321, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1949/0.1949, allocations: 43.53 MB / 313.9 MB, free: 0.5352 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.001551/0.001551, allocations: 66.38 kB / 382.9 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07934/0.0809, allocations: 57.79 MB / 440.6 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC): time 0.002788/0.08372, allocations: 2.154 MB / 442.8 MB, free: 4.637 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001175/0.08492, allocations: 0.9394 MB / 443.7 MB, free: 3.691 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.08504, allocations: 4 kB / 443.7 MB, free: 3.688 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002656/0.08533, allocations: 75.58 kB / 443.8 MB, free: 3.613 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000313/0.08565, allocations: 139.3 kB / 444 MB, free: 3.477 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002309/0.08589, allocations: 91.64 kB / 444 MB, free: 3.387 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003089/0.08621, allocations: 485.7 kB / 444.5 MB, free: 2.91 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.274e-05/0.08629, allocations: 64.98 kB / 444.6 MB, free: 2.844 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001553/0.08645, allocations: 183 kB / 444.8 MB, free: 2.664 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001929/0.08665, allocations: 226.9 kB / 445 MB, free: 2.441 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.408e-05/0.08669, allocations: 16 kB / 445 MB, free: 2.426 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002695/0.08697, allocations: 187.6 kB / 445.2 MB, free: 2.242 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.308e-05/0.08706, allocations: 115.4 kB / 445.3 MB, free: 2.129 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001257/0.08719, allocations: 194.6 kB / 445.5 MB, free: 1.938 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003835/0.08758, allocations: 0.5175 MB / 446 MB, free: 1.418 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.0876, allocations: 4 kB / 446 MB, free: 1.414 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.0876, allocations: 4 kB / 446 MB, free: 1.41 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.08761, allocations: 0 / 446 MB, free: 1.41 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.0009072/0.08853, allocations: 0.7498 MB / 446.8 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.08857, allocations: 12.03 kB / 446.8 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.762e-05/0.08865, allocations: 102.6 kB / 446.9 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.403e-05/0.08873, allocations: 52.28 kB / 446.9 MB, free: 452 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002647/0.089, allocations: 307.9 kB / 447.2 MB, free: 104 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.08903, allocations: 33 kB / 447.3 MB, free: 72 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.868e-05/0.08908, allocations: 51.98 kB / 447.3 MB, free: 20 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.0901, allocations: 0.7031 MB / 448 MB, free: 15.31 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.09012, allocations: 3.938 kB / 448 MB, free: 15.31 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.494e-05/0.09018, allocations: 23.98 kB / 448 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.787e-05/0.09025, allocations: 57.27 kB / 448.1 MB, free: 15.23 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001124/0.09138, allocations: 0.7428 MB / 448.8 MB, free: 14.49 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002041/0.09343, allocations: 1.438 MB / 450.3 MB, free: 12.99 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007622/0.09421, allocations: 469.8 kB / 450.7 MB, free: 12.53 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002866/0.0945, allocations: 153.2 kB / 450.9 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.094e-05/0.09455, allocations: 16.42 kB / 450.9 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.09458, allocations: 34.56 kB / 450.9 MB, free: 12.32 MB / 334.1 MB Notification: Performance of pre-optimization done (n=28): time 1.573e-06/0.09459, allocations: 0 / 450.9 MB, free: 12.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=28): time 0.0011/0.09569, allocations: 0.5435 MB / 451.5 MB, free: 11.77 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/0.09574, allocations: 55.41 kB / 451.5 MB, free: 11.7 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005411/0.09629, allocations: 0.529 MB / 452.1 MB, free: 11.17 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.125e-05/0.09633, allocations: 29.7 kB / 452.1 MB, free: 11.13 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.09648, allocations: 236.3 kB / 452.3 MB, free: 10.89 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.755e-05/0.09656, allocations: 94.64 kB / 452.4 MB, free: 10.8 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/0.0967, allocations: 97.91 kB / 452.5 MB, free: 10.7 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.09683, allocations: 354.8 kB / 452.8 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003019/0.09714, allocations: 160.5 kB / 453 MB, free: 10.19 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003627/0.09751, allocations: 248.2 kB / 453.2 MB, free: 9.906 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007042/0.09822, allocations: 435.6 kB / 453.7 MB, free: 9.441 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.09824, allocations: 4 kB / 453.7 MB, free: 9.438 MB / 334.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009071/0.09915, allocations: 0.4965 MB / 454.2 MB, free: 8.934 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.09918, allocations: 8 kB / 454.2 MB, free: 8.926 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.0992, allocations: 3.984 kB / 454.2 MB, free: 8.922 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.306e-05/0.09923, allocations: 8.375 kB / 454.2 MB, free: 8.914 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009459/0.1002, allocations: 207.8 kB / 454.4 MB, free: 8.711 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003936/0.1041, allocations: 7.317 MB / 461.7 MB, free: 1.113 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003667/0.1045, allocations: 59.31 kB / 461.8 MB, free: 1.055 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.496e-05/0.1046, allocations: 24.27 kB / 461.8 MB, free: 1.031 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (40): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 12 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 12 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003461/0.1049, allocations: 225.6 kB / 462 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.718e-05/0.105, allocations: 43.44 kB / 462.1 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001136/0.1062, allocations: 0.5486 MB / 462.6 MB, free: 208 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.1062, allocations: 4 kB / 462.6 MB, free: 204 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.1062, allocations: 4 kB / 462.6 MB, free: 200 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.1062, allocations: 0 / 462.6 MB, free: 200 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005675/0.1068, allocations: 425.3 kB / 463 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.1068, allocations: 3.938 kB / 463 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007997/0.1076, allocations: 203.8 kB / 463.2 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/0.1076, allocations: 4 kB / 463.2 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.829e-05/0.1077, allocations: 11.94 kB / 463.2 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003927/0.1116, allocations: 7.306 MB / 470.6 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.1116, allocations: 3.984 kB / 470.6 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007639/0.1124, allocations: 0.5194 MB / 471.1 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001397/0.1125, allocations: 124.5 kB / 471.2 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.546e-05/0.1126, allocations: 7.984 kB / 471.2 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002346/0.1129, allocations: 12 kB / 471.2 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.113, allocations: 23.97 kB / 471.2 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.614e-05/0.113, allocations: 15.98 kB / 471.3 MB, free: 7.188 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005831/0.1136, allocations: 391 kB / 471.6 MB, free: 6.805 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1136, allocations: 0 / 471.6 MB, free: 6.805 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000533/0.1141, allocations: 131.8 kB / 471.8 MB, free: 6.676 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 12 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 12 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001264/0.1154, allocations: 1.086 MB / 472.9 MB, free: 5.562 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001577/0.117, allocations: 0.5821 MB / 473.4 MB, free: 4.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.117, allocations: 4 kB / 473.4 MB, free: 4.977 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001039/0.1181, allocations: 348.5 kB / 473.8 MB, free: 4.637 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005606/0.1186, allocations: 91.88 kB / 473.9 MB, free: 4.543 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006816/0.1255, allocations: 5.409 MB / 479.3 MB, free: 14.97 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004289/0.1259, allocations: 0.901 MB / 480.2 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003167/0.1262, allocations: 128.1 kB / 480.3 MB, free: 13.92 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001898/0.1264, allocations: 143.4 kB / 480.4 MB, free: 13.79 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1264, allocations: 0 / 480.4 MB, free: 13.79 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03328/0.1597, allocations: 13.29 MB / 493.7 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/12.3, allocations: 12.44 kB / 493.7 MB, free: 0.5195 MB / 366.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_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/Channel/kc_evenGapLaminar_KC/kc_evenGapLaminar_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches