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_evenGapOverall_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.Channel.kc_evenGapOverall_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_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.0009227/0.0009225, allocations: 175.4 kB / 16.72 MB, free: 5.082 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.343/1.343, 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.0007283/0.0007283, allocations: 85.36 kB / 271.2 MB, free: 8.25 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.2862/0.2862, allocations: 43.56 MB / 363.1 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003302/0.0003302, allocations: 12 kB / 432.1 MB, free: 5.473 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08484/0.08519, 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_evenGapOverall_KC): time 0.001949/0.08717, allocations: 1.809 MB / 492.8 MB, free: 8.711 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002059/0.08926, allocations: 1.645 MB / 494.4 MB, free: 7.059 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.306e-05/0.08937, allocations: 4 kB / 494.4 MB, free: 7.055 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00022/0.0896, allocations: 55.66 kB / 494.5 MB, free: 7 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003281/0.08993, allocations: 131.4 kB / 494.6 MB, free: 6.871 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000622/0.09057, allocations: 283 kB / 494.9 MB, free: 6.594 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004858/0.09106, allocations: 0.5444 MB / 495.4 MB, free: 6.047 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.177e-05/0.09116, allocations: 61.05 kB / 495.5 MB, free: 5.98 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002167/0.09139, allocations: 171.1 kB / 495.6 MB, free: 5.812 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002564/0.09165, allocations: 227 kB / 495.9 MB, free: 5.59 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.862e-05/0.0917, allocations: 12 kB / 495.9 MB, free: 5.578 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007043/0.09241, allocations: 0.5148 MB / 496.4 MB, free: 5.062 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001086/0.09253, allocations: 119.4 kB / 496.5 MB, free: 4.945 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001769/0.09271, allocations: 204.5 kB / 496.7 MB, free: 4.738 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000478/0.0932, allocations: 486.8 kB / 497.2 MB, free: 4.262 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.247e-06/0.09321, allocations: 0 / 497.2 MB, free: 4.262 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.09322, allocations: 4 kB / 497.2 MB, free: 4.258 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.09323, allocations: 0 / 497.2 MB, free: 4.258 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.0009165/0.09415, allocations: 0.6979 MB / 497.9 MB, free: 3.512 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.09419, allocations: 8.031 kB / 497.9 MB, free: 3.504 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001016/0.0943, allocations: 98.7 kB / 498 MB, free: 3.398 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.343e-05/0.09438, allocations: 52.28 kB / 498 MB, free: 3.348 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003012/0.09468, allocations: 311.9 kB / 498.3 MB, free: 3.004 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.102e-05/0.09472, allocations: 29 kB / 498.4 MB, free: 2.973 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.601e-05/0.09478, allocations: 47.98 kB / 498.4 MB, free: 2.926 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009242/0.09571, allocations: 0.7186 MB / 499.1 MB, free: 2.199 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.09574, allocations: 0 / 499.1 MB, free: 2.199 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.894e-05/0.09578, allocations: 19.98 kB / 499.2 MB, free: 2.18 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.529e-05/0.09584, allocations: 53.28 kB / 499.2 MB, free: 2.129 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009957/0.09684, allocations: 0.7506 MB / 500 MB, free: 1.379 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1394/0.2363, allocations: 1.424 MB / 0.4896 GB, free: 42.95 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007255/0.2371, allocations: 452.3 kB / 0.4901 GB, free: 42.93 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002646/0.2373, allocations: 165.8 kB / 0.4902 GB, free: 42.92 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.167e-05/0.2374, allocations: 10.3 kB / 0.4902 GB, free: 42.92 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.477e-05/0.2374, allocations: 35.53 kB / 0.4903 GB, free: 42.88 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 2.474e-06/0.2374, allocations: 0 / 0.4903 GB, free: 42.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.001007/0.2384, allocations: 0.5571 MB / 0.4908 GB, free: 42.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.874e-05/0.2385, allocations: 54.41 kB / 0.4909 GB, free: 42.78 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004961/0.239, allocations: 0.5303 MB / 0.4914 GB, free: 42.67 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.239, allocations: 30.77 kB / 0.4914 GB, free: 42.64 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.2391, allocations: 241.4 kB / 0.4916 GB, free: 42.52 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.429e-05/0.2392, allocations: 104.1 kB / 0.4917 GB, free: 42.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.089e-05/0.2392, allocations: 8.406 kB / 0.4917 GB, free: 42.46 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.182e-05/0.2393, allocations: 362.2 kB / 0.4921 GB, free: 42.15 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002846/0.2396, allocations: 165.7 kB / 0.4922 GB, free: 42.15 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003304/0.2399, allocations: 305.2 kB / 0.4925 GB, free: 42 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006641/0.2406, allocations: 0.4915 MB / 0.493 GB, free: 41.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.2406, allocations: 1 kB / 0.493 GB, free: 41.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008335/0.2414, allocations: 0.5404 MB / 0.4935 GB, free: 41.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.2414, allocations: 11.81 kB / 0.4936 GB, free: 41.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.2415, allocations: 4.922 kB / 0.4936 GB, free: 41.76 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.2415, allocations: 5.531 kB / 0.4936 GB, free: 41.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008577/0.2423, allocations: 224.5 kB / 0.4938 GB, free: 41.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001959/0.2443, allocations: 7.32 MB / 0.5009 GB, free: 34.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002802/0.2446, allocations: 62.92 kB / 0.501 GB, free: 34.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.859e-05/0.2447, allocations: 29.42 kB / 0.501 GB, free: 34.66 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (46): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002103/0.2449, allocations: 235.3 kB / 0.5012 GB, free: 34.54 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.904e-05/0.2449, allocations: 48 kB / 0.5013 GB, free: 34.51 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009246/0.2459, allocations: 0.5544 MB / 0.5018 GB, free: 34.44 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.2459, allocations: 3.562 kB / 0.5018 GB, free: 34.44 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.2459, allocations: 0 / 0.5018 GB, free: 34.44 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.2459, allocations: 1.359 kB / 0.5018 GB, free: 34.44 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004021/0.2463, allocations: 431.9 kB / 0.5022 GB, free: 34.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2463, allocations: 3.938 kB / 0.5022 GB, free: 34.24 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007536/0.2471, allocations: 204.7 kB / 0.5024 GB, free: 34.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.2471, allocations: 1.375 kB / 0.5024 GB, free: 34.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.475e-05/0.2471, allocations: 16.28 kB / 0.5025 GB, free: 34.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00182/0.2489, allocations: 7.307 MB / 0.5096 GB, free: 27.18 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.249, allocations: 3.938 kB / 0.5096 GB, free: 27.17 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006195/0.2496, allocations: 0.5154 MB / 0.5101 GB, free: 27 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.823e-05/0.2497, allocations: 124.5 kB / 0.5102 GB, free: 26.88 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.308e-05/0.2497, allocations: 10.22 kB / 0.5102 GB, free: 26.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002089/0.2499, allocations: 14.25 kB / 0.5102 GB, free: 26.88 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.024e-05/0.25, allocations: 31.03 kB / 0.5103 GB, free: 26.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.477e-05/0.2501, allocations: 16.33 kB / 0.5103 GB, free: 26.88 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002673/0.2503, allocations: 382.6 kB / 0.5107 GB, free: 26.79 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2503, allocations: 2.844 kB / 0.5107 GB, free: 26.79 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004431/0.2508, allocations: 165.8 kB / 0.5108 GB, free: 26.78 MB / 378.7 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 (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009162/0.2517, allocations: 1.166 MB / 0.512 GB, free: 26.07 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001183/0.2529, allocations: 0.5615 MB / 0.5125 GB, free: 26.04 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2529, allocations: 1.125 kB / 0.5125 GB, free: 26.04 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008353/0.2538, allocations: 349.8 kB / 0.5128 GB, free: 26.04 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004327/0.2542, allocations: 103.1 kB / 0.5129 GB, free: 26.02 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003497/0.2577, allocations: 3.322 MB / 0.5162 GB, free: 25.03 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002384/0.258, allocations: 0.8852 MB / 0.517 GB, free: 24.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001895/0.2581, allocations: 152.6 kB / 0.5172 GB, free: 24.25 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.2582, allocations: 0 / 0.5172 GB, free: 24.25 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.205/6.464, allocations: 31.01 MB / 0.5475 GB, free: 13.87 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_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_evenGapOverall_KC/kc_evenGapOverall_KC.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches