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.001394/0.001395, allocations: 114.4 kB / 17.78 MB, free: 5.266 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.001362/0.001362, allocations: 187 kB / 18.71 MB, free: 4.344 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.318/1.318, allocations: 222.9 MB / 242.4 MB, free: 15.18 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.2023/0.2023, allocations: 44.18 MB / 336.7 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 71.88 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.3295, allocations: 60.82 MB / 0.5185 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar): time 0.003079/0.3327, allocations: 1.94 MB / 0.5203 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001647/0.3343, allocations: 1.137 MB / 0.5215 GB, free: 1.156 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001733/0.3345, allocations: 2.312 kB / 0.5215 GB, free: 1.156 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003104/0.3349, allocations: 65.91 kB / 0.5215 GB, free: 1.125 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003302/0.3352, allocations: 101.8 kB / 0.5216 GB, free: 1.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005905/0.3358, allocations: 157.8 kB / 0.5218 GB, free: 1.008 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005214/0.3364, allocations: 481.2 kB / 0.5222 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.856e-05/0.3365, allocations: 59.08 kB / 0.5223 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002209/0.3367, allocations: 158.8 kB / 0.5224 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003056/0.337, allocations: 197.6 kB / 0.5226 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.83e-05/0.3371, allocations: 11.28 kB / 0.5226 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005057/0.3376, allocations: 264.9 kB / 0.5229 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001308/0.3377, allocations: 105.1 kB / 0.523 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002256/0.338, allocations: 181.1 kB / 0.5232 GB, free: 400 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007452/0.3387, allocations: 0.5554 MB / 0.5237 GB, free: 176 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.3387, allocations: 4 kB / 0.5237 GB, free: 172 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3387, allocations: 0 / 0.5237 GB, free: 172 kB / 382.1 MB Notification: Performance of Transformations before backend: time 1.381e-05/0.3387, allocations: 0 / 0.5237 GB, free: 172 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.001298/0.34, allocations: 0.7303 MB / 0.5244 GB, free: 15.6 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.3401, allocations: 7.719 kB / 0.5244 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001781/0.3403, allocations: 102.6 kB / 0.5245 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001037/0.3404, allocations: 46.56 kB / 0.5246 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004427/0.3408, allocations: 299.1 kB / 0.5249 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.4e-05/0.3409, allocations: 41.52 kB / 0.5249 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.217e-05/0.341, allocations: 52.09 kB / 0.5249 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009938/0.342, allocations: 0.6292 MB / 0.5256 GB, free: 15.01 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.342, allocations: 1.375 kB / 0.5256 GB, free: 15.01 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.545e-05/0.342, allocations: 24.11 kB / 0.5256 GB, free: 14.99 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-05/0.3421, allocations: 32.75 kB / 0.5256 GB, free: 14.99 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008109/0.3429, allocations: 0.5075 MB / 0.5261 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002462/0.3454, allocations: 1.411 MB / 0.5275 GB, free: 13.96 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007343/0.3461, allocations: 445.5 kB / 0.5279 GB, free: 13.78 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002349/0.3464, allocations: 138.1 kB / 0.528 GB, free: 13.72 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.024e-05/0.3464, allocations: 21.59 kB / 0.5281 GB, free: 13.71 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.3465, allocations: 31.59 kB / 0.5281 GB, free: 13.67 MB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 2.245e-06/0.3465, allocations: 1.188 kB / 0.5281 GB, free: 13.67 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.00093/0.3474, allocations: 0.5025 MB / 0.5286 GB, free: 13.45 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.3475, allocations: 57.59 kB / 0.5286 GB, free: 13.38 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006384/0.3481, allocations: 0.5446 MB / 0.5292 GB, free: 13.07 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.005e-05/0.3482, allocations: 30.95 kB / 0.5292 GB, free: 13.04 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001541/0.3483, allocations: 219.9 kB / 0.5294 GB, free: 12.84 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.49e-05/0.3484, allocations: 90.8 kB / 0.5295 GB, free: 12.77 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001515/0.3486, allocations: 89.36 kB / 0.5296 GB, free: 12.71 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.3488, allocations: 372.6 kB / 0.5299 GB, free: 12.35 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002614/0.349, allocations: 152.7 kB / 0.5301 GB, free: 12.3 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003387/0.3494, allocations: 253.3 kB / 0.5303 GB, free: 12.11 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003702/0.3531, allocations: 1.052 MB / 0.5314 GB, free: 11.62 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.3531, allocations: 5.156 kB / 0.5314 GB, free: 11.62 MB / 398.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008522/0.354, allocations: 0.4939 MB / 0.5318 GB, free: 11.39 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.354, allocations: 10.84 kB / 0.5319 GB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.837e-05/0.3541, allocations: 42.08 kB / 0.5319 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.3541, allocations: 4.156 kB / 0.5319 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001857/0.3543, allocations: 44.78 kB / 0.5319 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.3543, allocations: 8.281 kB / 0.5319 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002963/0.3546, allocations: 55.16 kB / 0.532 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.046e-05/0.3547, allocations: 25.7 kB / 0.532 GB, free: 11.31 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.000345/0.355, allocations: 232 kB / 0.5322 GB, free: 11.13 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.3552, allocations: 43.22 kB / 0.5323 GB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009855/0.3561, allocations: 0.5302 MB / 0.5328 GB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.858e-06/0.3562, allocations: 5.594 kB / 0.5328 GB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.3562, allocations: 0 / 0.5328 GB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.3562, allocations: 5.297 kB / 0.5328 GB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006217/0.3568, allocations: 433.9 kB / 0.5332 GB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.875e-05/0.3569, allocations: 39.45 kB / 0.5333 GB, free: 10.49 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001763/0.3571, allocations: 34.48 kB / 0.5333 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.3571, allocations: 1.031 kB / 0.5333 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.899e-05/0.3571, allocations: 15.88 kB / 0.5333 GB, free: 10.47 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/0.3571, allocations: 1.031 kB / 0.5333 GB, free: 10.47 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.3572, allocations: 1.094 kB / 0.5333 GB, free: 10.47 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/0.3582, allocations: 0.7074 MB / 0.534 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001724/0.3584, allocations: 130.9 kB / 0.5341 GB, free: 9.961 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.111e-05/0.3585, allocations: 6.156 kB / 0.5341 GB, free: 9.957 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001882/0.3587, allocations: 7.094 kB / 0.5341 GB, free: 9.953 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.44e-05/0.3587, allocations: 22.45 kB / 0.5342 GB, free: 9.945 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.289e-05/0.3588, allocations: 18.39 kB / 0.5342 GB, free: 9.938 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004434/0.3592, allocations: 401.9 kB / 0.5346 GB, free: 9.711 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3592, allocations: 5.188 kB / 0.5346 GB, free: 9.707 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005578/0.3598, allocations: 153.7 kB / 0.5347 GB, free: 9.676 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.3614, allocations: 1.309 MB / 0.536 GB, free: 8.734 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008285/0.3622, allocations: 0.6736 MB / 0.5367 GB, free: 8.223 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3622, allocations: 0.8125 kB / 0.5367 GB, free: 8.223 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004415/0.3627, allocations: 486.3 kB / 0.5371 GB, free: 7.789 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000534/0.3632, allocations: 91.75 kB / 0.5372 GB, free: 7.734 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006751/0.37, allocations: 5.305 MB / 0.5424 GB, free: 2.871 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004473/0.3705, allocations: 0.8857 MB / 0.5433 GB, free: 1.961 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003265/0.3708, allocations: 120.2 kB / 0.5434 GB, free: 1.84 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001964/0.371, allocations: 135.4 kB / 0.5435 GB, free: 1.707 MB / 398.1 MB Notification: Performance of SimCode: time 2.405e-06/0.371, allocations: 0 / 0.5435 GB, free: 1.707 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03475/0.4058, allocations: 13.03 MB / 0.5562 GB, free: 4.91 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.478/8.884, allocations: 19.19 kB / 0.5562 GB, free: 4.898 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 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.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_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