Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_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_4_0_0_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.0008414/0.0008412, allocations: 93.42 kB / 17.35 MB, free: 6.344 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.000922/0.0009221, allocations: 171.3 kB / 18.25 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.248/1.248, allocations: 223.3 MB / 242.3 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.165/0.165, allocations: 44.25 MB / 337.7 MB, free: 2.434 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002648/0.0002649, allocations: 12 kB / 410.5 MB, free: 27.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08392/0.0842, allocations: 61.92 MB / 472.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC): time 0.001919/0.08616, allocations: 1.863 MB / 474.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001114/0.08728, allocations: 0.8843 MB / 475.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.306e-05/0.08735, allocations: 0 / 475.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002111/0.08757, allocations: 67.64 kB / 475.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002941/0.08787, allocations: 139.4 kB / 475.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001777/0.08806, allocations: 71.8 kB / 475.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004931/0.08856, allocations: 0.6341 MB / 476 MB, free: 9.523 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.968e-05/0.08865, allocations: 65.03 kB / 476.1 MB, free: 9.453 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000168/0.08882, allocations: 171 kB / 476.3 MB, free: 9.285 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002416/0.08907, allocations: 238.8 kB / 476.5 MB, free: 9.051 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.75e-05/0.08911, allocations: 16 kB / 476.5 MB, free: 9.035 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002479/0.08936, allocations: 179.7 kB / 476.7 MB, free: 8.859 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.08947, allocations: 111.5 kB / 476.8 MB, free: 8.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001546/0.08963, allocations: 216.3 kB / 477 MB, free: 8.531 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004346/0.09008, allocations: 0.5177 MB / 477.5 MB, free: 8.012 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.09009, allocations: 0 / 477.5 MB, free: 8.012 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.09009, allocations: 0 / 477.5 MB, free: 8.012 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.0901, allocations: 0 / 477.5 MB, free: 8.012 MB / 350.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.0008635/0.09097, allocations: 0.6689 MB / 478.2 MB, free: 7.297 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.964e-05/0.09101, allocations: 8.031 kB / 478.2 MB, free: 7.289 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001021/0.09111, allocations: 110.7 kB / 478.3 MB, free: 7.172 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.992e-05/0.09119, allocations: 52.28 kB / 478.4 MB, free: 7.121 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002939/0.09149, allocations: 311.8 kB / 478.7 MB, free: 6.777 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/0.09152, allocations: 32.98 kB / 478.7 MB, free: 6.746 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.225e-05/0.09159, allocations: 48 kB / 478.7 MB, free: 6.699 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008887/0.09248, allocations: 0.7148 MB / 479.5 MB, free: 5.977 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.09251, allocations: 0 / 479.5 MB, free: 5.977 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.933e-05/0.09255, allocations: 16 kB / 479.5 MB, free: 5.961 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.778e-05/0.09261, allocations: 53.28 kB / 479.5 MB, free: 5.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001002/0.09362, allocations: 0.7584 MB / 480.3 MB, free: 5.152 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00177/0.0954, allocations: 1.43 MB / 481.7 MB, free: 3.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006865/0.0961, allocations: 464.4 kB / 482.2 MB, free: 3.199 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002756/0.09639, allocations: 169.2 kB / 482.3 MB, free: 3.031 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.353e-05/0.09643, allocations: 12.22 kB / 482.3 MB, free: 3.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/0.09645, allocations: 30.8 kB / 482.4 MB, free: 2.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 2.525e-06/0.09646, allocations: 3.984 kB / 482.4 MB, free: 2.977 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.0009877/0.09745, allocations: 0.5599 MB / 482.9 MB, free: 2.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.84e-05/0.09749, allocations: 59.34 kB / 483 MB, free: 2.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004883/0.09799, allocations: 0.529 MB / 483.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.074e-05/0.09802, allocations: 29.7 kB / 483.6 MB, free: 1.773 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.09816, allocations: 232.4 kB / 483.8 MB, free: 1.539 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.772e-05/0.09824, allocations: 106.6 kB / 483.9 MB, free: 1.434 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.316e-05/0.0983, allocations: 33.7 kB / 483.9 MB, free: 1.395 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.09842, allocations: 354.8 kB / 484.3 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002821/0.09871, allocations: 164.5 kB / 484.4 MB, free: 0.875 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003227/0.09904, allocations: 256.3 kB / 484.7 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006258/0.09968, allocations: 451.5 kB / 485.1 MB, free: 112 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.09969, allocations: 4 kB / 485.1 MB, free: 108 kB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007808/0.1005, allocations: 0.5008 MB / 485.6 MB, free: 15.6 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.1005, allocations: 12 kB / 485.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.1005, allocations: 7.984 kB / 485.6 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.1005, allocations: 8 kB / 485.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000808/0.1013, allocations: 211.8 kB / 485.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003105/0.1045, allocations: 7.321 MB / 493.2 MB, free: 7.762 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002595/0.1047, allocations: 63.28 kB / 493.2 MB, free: 7.699 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.679e-05/0.1048, allocations: 19.98 kB / 493.3 MB, free: 7.68 MB / 366.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.0002175/0.105, allocations: 230.4 kB / 493.5 MB, free: 7.445 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.433e-05/0.1051, allocations: 47.44 kB / 493.5 MB, free: 7.398 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009468/0.106, allocations: 0.5486 MB / 494.1 MB, free: 6.844 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.106, allocations: 0 / 494.1 MB, free: 6.844 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.106, allocations: 8 kB / 494.1 MB, free: 6.836 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1061, allocations: 0 / 494.1 MB, free: 6.836 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004383/0.1065, allocations: 429.2 kB / 494.5 MB, free: 6.367 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.1065, allocations: 0 / 494.5 MB, free: 6.367 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007177/0.1072, allocations: 207.8 kB / 494.7 MB, free: 6.164 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.1072, allocations: 0 / 494.7 MB, free: 6.164 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.535e-05/0.1073, allocations: 15.94 kB / 494.7 MB, free: 6.148 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003038/0.1103, allocations: 7.321 MB / 0.4903 GB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1103, allocations: 0 / 0.4903 GB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000686/0.111, allocations: 0.5195 MB / 0.4908 GB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.267e-05/0.1111, allocations: 132.5 kB / 0.4909 GB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.363e-05/0.1112, allocations: 4 kB / 0.4909 GB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000218/0.1114, allocations: 12 kB / 0.4909 GB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.972e-05/0.1115, allocations: 31.95 kB / 0.491 GB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.481e-05/0.1115, allocations: 11.94 kB / 0.491 GB, free: 13.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003526/0.1119, allocations: 395 kB / 0.4913 GB, free: 13.42 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1119, allocations: 0 / 0.4913 GB, free: 13.42 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000401/0.1123, allocations: 131.8 kB / 0.4915 GB, free: 13.29 MB / 382.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.001012/0.1133, allocations: 1.087 MB / 0.4925 GB, free: 12.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001281/0.1146, allocations: 0.5431 MB / 0.4931 GB, free: 11.63 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1146, allocations: 0 / 0.4931 GB, free: 11.63 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009301/0.1155, allocations: 360.6 kB / 0.4934 GB, free: 11.28 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004508/0.116, allocations: 77.91 kB / 0.4935 GB, free: 11.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005866/0.1219, allocations: 5.591 MB / 0.4989 GB, free: 5.457 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003782/0.1223, allocations: 0.9011 MB / 0.4998 GB, free: 4.531 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002857/0.1226, allocations: 136.1 kB / 0.5 GB, free: 4.398 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001684/0.1227, allocations: 135.4 kB / 0.5001 GB, free: 4.266 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1227, allocations: 0 / 0.5001 GB, free: 4.266 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.637/2.76, allocations: 12.52 MB / 0.5123 GB, free: 48.88 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001818/2.76, allocations: 289.4 kB / 0.5126 GB, free: 48.5 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.454/5.214, allocations: 0 / 0.5126 GB, free: 48.5 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapLaminar_KC/kc_evenGapLaminar_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches