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.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,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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.001289/0.001289, allocations: 112.8 kB / 17.78 MB, free: 5.281 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.001372/0.001372, allocations: 180.9 kB / 18.71 MB, free: 4.363 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.392/1.392, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2114/0.2114, allocations: 44.2 MB / 336.8 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 63.89 kB / 470.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.3019, allocations: 60.82 MB / 0.5185 GB, free: 3.312 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar): time 0.002723/0.3047, allocations: 1.94 MB / 0.5204 GB, free: 1.961 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00151/0.3062, allocations: 1.128 MB / 0.5215 GB, free: 1.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.268e-05/0.3063, allocations: 2.281 kB / 0.5215 GB, free: 1.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002832/0.3066, allocations: 66.91 kB / 0.5215 GB, free: 1.148 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002375/0.3069, allocations: 105.5 kB / 0.5216 GB, free: 1.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004343/0.3073, allocations: 158.2 kB / 0.5218 GB, free: 1.023 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000461/0.3078, allocations: 476.5 kB / 0.5222 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.722e-05/0.3079, allocations: 56.81 kB / 0.5223 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001377/0.308, allocations: 160.9 kB / 0.5224 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002397/0.3083, allocations: 198 kB / 0.5226 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.867e-05/0.3083, allocations: 10.19 kB / 0.5226 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004576/0.3088, allocations: 269.6 kB / 0.5229 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.3089, allocations: 100.5 kB / 0.523 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001608/0.3091, allocations: 183.8 kB / 0.5232 GB, free: 416 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006598/0.3098, allocations: 0.5693 MB / 0.5237 GB, free: 180 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.3098, allocations: 4 kB / 0.5237 GB, free: 176 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3098, allocations: 0 / 0.5237 GB, free: 176 kB / 382.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.3098, allocations: 0 / 0.5237 GB, free: 176 kB / 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.0009952/0.3108, allocations: 0.7322 MB / 0.5244 GB, free: 15.6 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.3108, allocations: 11.25 kB / 0.5244 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001162/0.311, allocations: 96.64 kB / 0.5245 GB, free: 15.53 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.342e-05/0.311, allocations: 47.06 kB / 0.5246 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003619/0.3114, allocations: 303.2 kB / 0.5249 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.549e-05/0.3115, allocations: 36.94 kB / 0.5249 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.617e-05/0.3115, allocations: 52.94 kB / 0.525 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009464/0.3125, allocations: 0.6285 MB / 0.5256 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.3125, allocations: 1.219 kB / 0.5256 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.615e-05/0.3126, allocations: 20.27 kB / 0.5256 GB, free: 15 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-05/0.3126, allocations: 36.92 kB / 0.5256 GB, free: 15 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008469/0.3135, allocations: 0.508 MB / 0.5261 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002303/0.3158, allocations: 1.423 MB / 0.5275 GB, free: 13.95 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007242/0.3165, allocations: 439.5 kB / 0.5279 GB, free: 13.77 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002313/0.3168, allocations: 136.4 kB / 0.5281 GB, free: 13.72 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.724e-05/0.3168, allocations: 13.72 kB / 0.5281 GB, free: 13.71 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.3169, allocations: 40.42 kB / 0.5281 GB, free: 13.66 MB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 1.623e-06/0.3169, allocations: 0 / 0.5281 GB, free: 13.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.0009342/0.3178, allocations: 0.5076 MB / 0.5286 GB, free: 13.44 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/0.3179, allocations: 54.12 kB / 0.5287 GB, free: 13.38 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006064/0.3185, allocations: 0.5439 MB / 0.5292 GB, free: 13.07 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.373e-05/0.3185, allocations: 31.05 kB / 0.5292 GB, free: 13.04 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001796/0.3187, allocations: 228.3 kB / 0.5294 GB, free: 12.83 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.433e-05/0.3188, allocations: 87.38 kB / 0.5295 GB, free: 12.76 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001449/0.319, allocations: 92.69 kB / 0.5296 GB, free: 12.7 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.3192, allocations: 368.7 kB / 0.53 GB, free: 12.34 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002572/0.3194, allocations: 156.9 kB / 0.5301 GB, free: 12.29 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003739/0.3198, allocations: 261.7 kB / 0.5304 GB, free: 12.09 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003613/0.3234, allocations: 1.048 MB / 0.5314 GB, free: 11.61 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.3234, allocations: 1.094 kB / 0.5314 GB, free: 11.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008228/0.3243, allocations: 0.4978 MB / 0.5319 GB, free: 11.38 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.3243, allocations: 6.031 kB / 0.5319 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.572e-05/0.3244, allocations: 47.8 kB / 0.5319 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.3244, allocations: 8.469 kB / 0.5319 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/0.3246, allocations: 42.75 kB / 0.532 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.3246, allocations: 10.25 kB / 0.532 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002721/0.3249, allocations: 62.31 kB / 0.532 GB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.962e-05/0.3249, allocations: 26.36 kB / 0.5321 GB, free: 11.29 MB / 398.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.0003029/0.3252, allocations: 220 kB / 0.5323 GB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.851e-05/0.3253, allocations: 46.41 kB / 0.5323 GB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001002/0.3263, allocations: 0.5346 MB / 0.5328 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.707e-06/0.3264, allocations: 5.062 kB / 0.5328 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3264, allocations: 0 / 0.5328 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.084e-06/0.3264, allocations: 5.516 kB / 0.5329 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006048/0.327, allocations: 430.5 kB / 0.5333 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.574e-05/0.3271, allocations: 38.39 kB / 0.5333 GB, free: 10.47 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001559/0.3272, allocations: 27.27 kB / 0.5333 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.3272, allocations: 5.062 kB / 0.5333 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.2e-05/0.3273, allocations: 15.62 kB / 0.5333 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.3273, allocations: 2.062 kB / 0.5333 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3273, allocations: 0 / 0.5333 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/0.3283, allocations: 0.7162 MB / 0.534 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/0.3285, allocations: 127.2 kB / 0.5342 GB, free: 9.941 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.889e-05/0.3285, allocations: 9.359 kB / 0.5342 GB, free: 9.934 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/0.3287, allocations: 6.625 kB / 0.5342 GB, free: 9.93 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.281e-05/0.3288, allocations: 18.08 kB / 0.5342 GB, free: 9.926 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.591e-05/0.3288, allocations: 24.05 kB / 0.5342 GB, free: 9.914 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000441/0.3293, allocations: 401.3 kB / 0.5346 GB, free: 9.688 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3293, allocations: 0 / 0.5346 GB, free: 9.688 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000521/0.3298, allocations: 142.9 kB / 0.5347 GB, free: 9.668 MB / 398.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.001569/0.3314, allocations: 1.321 MB / 0.536 GB, free: 8.715 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008478/0.3323, allocations: 0.6734 MB / 0.5367 GB, free: 8.203 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3323, allocations: 4.125 kB / 0.5367 GB, free: 8.199 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004647/0.3327, allocations: 485.6 kB / 0.5372 GB, free: 7.766 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004961/0.3332, allocations: 91.94 kB / 0.5372 GB, free: 7.715 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00698/0.3402, allocations: 5.333 MB / 0.5425 GB, free: 2.809 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005311/0.3408, allocations: 0.8857 MB / 0.5433 GB, free: 1.898 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002707/0.3411, allocations: 116.2 kB / 0.5434 GB, free: 1.781 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002047/0.3413, allocations: 138.6 kB / 0.5436 GB, free: 1.648 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3413, allocations: 4 kB / 0.5436 GB, free: 1.645 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03951/0.3808, allocations: 12.81 MB / 0.5561 GB, free: 5.062 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.845/9.226, allocations: 15.52 kB / 0.5561 GB, free: 5.055 MB / 414.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapLaminar/kc_evenGapLaminar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches