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_evenGapOverall_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_evenGapOverall_KC,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 106.4 kB / 17.78 MB, free: 5.289 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.001629/0.001629, allocations: 187.9 kB / 18.7 MB, free: 4.371 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.332/1.332, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2388/0.2388, allocations: 44.18 MB / 336.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 67.83 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3575/0.3589, allocations: 60.82 MB / 0.5184 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC): time 0.002771/0.3617, allocations: 2.15 MB / 0.5205 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002127/0.3639, allocations: 1.771 MB / 0.5223 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.12e-05/0.364, allocations: 3.188 kB / 0.5223 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002652/0.3642, allocations: 68.39 kB / 0.5223 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003511/0.3646, allocations: 142.5 kB / 0.5225 GB, free: 484 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006907/0.3653, allocations: 320.7 kB / 0.5228 GB, free: 348 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004258/0.3657, allocations: 491 kB / 0.5233 GB, free: 132 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.266e-05/0.3658, allocations: 60.03 kB / 0.5233 GB, free: 100 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002004/0.366, allocations: 191.5 kB / 0.5235 GB, free: 12 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002907/0.3663, allocations: 218.8 kB / 0.5237 GB, free: 15.92 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.266e-05/0.3664, allocations: 11.56 kB / 0.5237 GB, free: 15.92 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008471/0.3672, allocations: 0.5506 MB / 0.5243 GB, free: 15.73 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001608/0.3674, allocations: 117.6 kB / 0.5244 GB, free: 15.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001834/0.3676, allocations: 192.9 kB / 0.5246 GB, free: 15.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008841/0.3685, allocations: 0.7259 MB / 0.5253 GB, free: 15.28 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.3685, allocations: 0 / 0.5253 GB, free: 15.28 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.3685, allocations: 0 / 0.5253 GB, free: 15.28 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.101e-05/0.3685, allocations: 0 / 0.5253 GB, free: 15.28 MB / 398.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.00123/0.3697, allocations: 0.7775 MB / 0.526 GB, free: 14.69 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.3698, allocations: 9.625 kB / 0.526 GB, free: 14.69 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001092/0.3699, allocations: 98.86 kB / 0.5261 GB, free: 14.62 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.243e-05/0.37, allocations: 55.66 kB / 0.5262 GB, free: 14.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004512/0.3705, allocations: 312.6 kB / 0.5265 GB, free: 14.31 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.934e-05/0.3705, allocations: 37.56 kB / 0.5265 GB, free: 14.29 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.321e-05/0.3706, allocations: 50.23 kB / 0.5266 GB, free: 14.27 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.3716, allocations: 0.7057 MB / 0.5272 GB, free: 13.89 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.3716, allocations: 0 / 0.5272 GB, free: 13.89 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.376e-05/0.3717, allocations: 24.58 kB / 0.5273 GB, free: 13.87 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.423e-05/0.3717, allocations: 50.72 kB / 0.5273 GB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00113/0.3729, allocations: 0.7429 MB / 0.528 GB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002111/0.375, allocations: 1.434 MB / 0.5294 GB, free: 12.56 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007684/0.3758, allocations: 452.9 kB / 0.5299 GB, free: 12.38 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002934/0.3761, allocations: 164.9 kB / 0.53 GB, free: 12.3 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.135e-05/0.3761, allocations: 7.969 kB / 0.53 GB, free: 12.3 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.3762, allocations: 37.08 kB / 0.5301 GB, free: 12.25 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 1.433e-06/0.3762, allocations: 0 / 0.5301 GB, free: 12.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.001104/0.3773, allocations: 0.5417 MB / 0.5306 GB, free: 12.01 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.3773, allocations: 54.53 kB / 0.5307 GB, free: 11.95 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005118/0.3778, allocations: 0.5289 MB / 0.5312 GB, free: 11.64 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.977e-05/0.3779, allocations: 30.8 kB / 0.5312 GB, free: 11.61 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/0.3781, allocations: 247.4 kB / 0.5314 GB, free: 11.39 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.471e-05/0.3782, allocations: 99.89 kB / 0.5315 GB, free: 11.3 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/0.3783, allocations: 96.8 kB / 0.5316 GB, free: 11.24 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.3784, allocations: 355.9 kB / 0.532 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003113/0.3788, allocations: 166.6 kB / 0.5321 GB, free: 10.83 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004418/0.3792, allocations: 303.3 kB / 0.5324 GB, free: 10.59 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007644/0.38, allocations: 0.4894 MB / 0.5329 GB, free: 10.26 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.38, allocations: 2.188 kB / 0.5329 GB, free: 10.26 MB / 398.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009279/0.3809, allocations: 0.5352 MB / 0.5334 GB, free: 10 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.381, allocations: 7 kB / 0.5334 GB, free: 10 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.381, allocations: 4.531 kB / 0.5334 GB, free: 10 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.381, allocations: 6.906 kB / 0.5334 GB, free: 10 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009486/0.3819, allocations: 221.9 kB / 0.5336 GB, free: 9.941 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004045/0.386, allocations: 7.309 MB / 0.5408 GB, free: 2.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003607/0.3864, allocations: 61.95 kB / 0.5408 GB, free: 2.617 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.025e-05/0.3864, allocations: 30.23 kB / 0.5409 GB, free: 2.605 MB / 398.1 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 (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.0002914/0.3867, allocations: 237.6 kB / 0.5411 GB, free: 2.422 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.268e-05/0.3868, allocations: 42.22 kB / 0.5411 GB, free: 2.398 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001155/0.388, allocations: 0.538 MB / 0.5417 GB, free: 2.117 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.388, allocations: 2.281 kB / 0.5417 GB, free: 2.117 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.388, allocations: 5.125 kB / 0.5417 GB, free: 2.113 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.388, allocations: 3.984 kB / 0.5417 GB, free: 2.109 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005819/0.3886, allocations: 424.5 kB / 0.5421 GB, free: 1.777 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3886, allocations: 0 / 0.5421 GB, free: 1.777 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009052/0.3895, allocations: 204.7 kB / 0.5423 GB, free: 1.719 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.3895, allocations: 2.281 kB / 0.5423 GB, free: 1.719 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.403e-05/0.3896, allocations: 17.05 kB / 0.5423 GB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004245/0.3938, allocations: 7.304 MB / 0.5494 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.3939, allocations: 1.281 kB / 0.5494 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009039/0.3948, allocations: 0.5008 MB / 0.5499 GB, free: 10.13 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001597/0.3949, allocations: 133.8 kB / 0.55 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.238e-05/0.395, allocations: 6.125 kB / 0.5501 GB, free: 9.996 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002229/0.3952, allocations: 8.312 kB / 0.5501 GB, free: 9.992 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.3953, allocations: 28.2 kB / 0.5501 GB, free: 9.977 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.14e-05/0.3954, allocations: 14.41 kB / 0.5501 GB, free: 9.973 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004439/0.3958, allocations: 385.1 kB / 0.5505 GB, free: 9.758 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.3958, allocations: 0 / 0.5505 GB, free: 9.758 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006433/0.3965, allocations: 174.1 kB / 0.5506 GB, free: 9.715 MB / 414.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.001383/0.3979, allocations: 1.159 MB / 0.5518 GB, free: 8.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00152/0.3994, allocations: 0.5499 MB / 0.5523 GB, free: 8.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3994, allocations: 0 / 0.5523 GB, free: 8.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001004/0.4004, allocations: 340.9 kB / 0.5526 GB, free: 8.078 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004721/0.4009, allocations: 89.86 kB / 0.5527 GB, free: 7.992 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006477/0.4074, allocations: 5.304 MB / 0.5579 GB, free: 2.496 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005136/0.4079, allocations: 0.8975 MB / 0.5588 GB, free: 1.574 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003401/0.4083, allocations: 140.2 kB / 0.5589 GB, free: 1.434 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001904/0.4085, allocations: 139.4 kB / 0.559 GB, free: 1.297 MB / 414.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4085, allocations: 0 / 0.559 GB, free: 1.297 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03328/0.4418, allocations: 15.03 MB / 0.5737 GB, free: 2.543 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/12.43, allocations: 27.73 kB / 0.5737 GB, free: 2.52 MB / 430.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_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_evenGapOverall_KC/kc_evenGapOverall_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches