Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001388/0.001388, allocations: 118.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00171/0.00171, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.358/1.358, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2114/0.2114, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 75.88 kB / 480.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3757/0.3772, allocations: 62.43 MB / 0.5305 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC): time 0.003085/0.3803, allocations: 2.162 MB / 0.5327 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002498/0.3829, allocations: 1.836 MB / 0.5344 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.383, allocations: 5.312 kB / 0.5344 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002785/0.3833, allocations: 77.45 kB / 0.5345 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003642/0.3836, allocations: 149.5 kB / 0.5347 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007131/0.3844, allocations: 327.7 kB / 0.535 GB, free: 9.922 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004761/0.3849, allocations: 491.3 kB / 0.5354 GB, free: 9.652 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.464e-05/0.385, allocations: 59.58 kB / 0.5355 GB, free: 9.625 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002712/0.3852, allocations: 188.2 kB / 0.5357 GB, free: 9.523 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002763/0.3855, allocations: 219.5 kB / 0.5359 GB, free: 9.395 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.178e-05/0.3856, allocations: 12.22 kB / 0.5359 GB, free: 9.395 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008903/0.3865, allocations: 0.5662 MB / 0.5365 GB, free: 9.051 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001494/0.3866, allocations: 113.4 kB / 0.5366 GB, free: 8.977 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002523/0.3869, allocations: 197.6 kB / 0.5368 GB, free: 8.848 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001026/0.3879, allocations: 0.7341 MB / 0.5375 GB, free: 8.375 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.3879, allocations: 0 / 0.5375 GB, free: 8.375 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.388, allocations: 0 / 0.5375 GB, free: 8.375 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.86e-05/0.388, allocations: 0 / 0.5375 GB, free: 8.375 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.001548/0.3895, allocations: 0.7849 MB / 0.5382 GB, free: 7.711 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.3896, allocations: 9.344 kB / 0.5382 GB, free: 7.711 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001304/0.3897, allocations: 101.8 kB / 0.5383 GB, free: 7.625 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001334/0.3899, allocations: 51.47 kB / 0.5384 GB, free: 7.598 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004574/0.3903, allocations: 309.7 kB / 0.5387 GB, free: 7.316 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.162e-05/0.3904, allocations: 32.59 kB / 0.5387 GB, free: 7.305 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.392e-05/0.3905, allocations: 51.11 kB / 0.5388 GB, free: 7.285 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001101/0.3916, allocations: 0.7018 MB / 0.5395 GB, free: 6.906 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.3916, allocations: 5.031 kB / 0.5395 GB, free: 6.902 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.883e-05/0.3916, allocations: 23.64 kB / 0.5395 GB, free: 6.883 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.93e-05/0.3917, allocations: 61.64 kB / 0.5395 GB, free: 6.859 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001245/0.393, allocations: 0.7402 MB / 0.5403 GB, free: 6.523 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002407/0.3954, allocations: 1.426 MB / 0.5417 GB, free: 5.574 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007891/0.3962, allocations: 468.6 kB / 0.5421 GB, free: 5.375 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003007/0.3965, allocations: 153.1 kB / 0.5422 GB, free: 5.312 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.922e-05/0.3966, allocations: 20.67 kB / 0.5423 GB, free: 5.297 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.3966, allocations: 31.83 kB / 0.5423 GB, free: 5.258 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 2.264e-06/0.3966, allocations: 0 / 0.5423 GB, free: 5.258 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.001155/0.3978, allocations: 0.5414 MB / 0.5428 GB, free: 5.016 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/0.3978, allocations: 58.7 kB / 0.5429 GB, free: 4.949 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005993/0.3984, allocations: 0.5264 MB / 0.5434 GB, free: 4.434 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.326e-05/0.3985, allocations: 33.7 kB / 0.5434 GB, free: 4.395 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000163/0.3986, allocations: 244.1 kB / 0.5437 GB, free: 4.148 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.68e-05/0.3987, allocations: 102.6 kB / 0.5438 GB, free: 4.047 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/0.3989, allocations: 93.95 kB / 0.5438 GB, free: 3.945 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.399, allocations: 362.8 kB / 0.5442 GB, free: 3.582 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002917/0.3993, allocations: 160.6 kB / 0.5443 GB, free: 3.426 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003702/0.3997, allocations: 299.8 kB / 0.5446 GB, free: 3.078 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000694/0.4004, allocations: 0.4889 MB / 0.5451 GB, free: 2.531 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.4004, allocations: 0 / 0.5451 GB, free: 2.531 MB / 398.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009212/0.4013, allocations: 0.5398 MB / 0.5456 GB, free: 1.984 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.4014, allocations: 12.06 kB / 0.5456 GB, free: 1.973 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.4014, allocations: 4 kB / 0.5457 GB, free: 1.969 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.718e-05/0.4014, allocations: 8 kB / 0.5457 GB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009568/0.4024, allocations: 215.8 kB / 0.5459 GB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003801/0.4062, allocations: 7.306 MB / 0.553 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004035/0.4066, allocations: 67.27 kB / 0.5531 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.483e-05/0.4067, allocations: 20 kB / 0.5531 GB, free: 10.08 MB / 414.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.0002884/0.407, allocations: 240.6 kB / 0.5533 GB, free: 9.836 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.105e-05/0.4071, allocations: 47.55 kB / 0.5534 GB, free: 9.789 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001016/0.4081, allocations: 0.5409 MB / 0.5539 GB, free: 9.234 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.4081, allocations: 4 kB / 0.5539 GB, free: 9.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.4081, allocations: 0 / 0.5539 GB, free: 9.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.4081, allocations: 0 / 0.5539 GB, free: 9.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006135/0.4087, allocations: 425.2 kB / 0.5543 GB, free: 8.766 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.4088, allocations: 3.938 kB / 0.5543 GB, free: 8.762 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008418/0.4096, allocations: 203.8 kB / 0.5545 GB, free: 8.562 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.416e-06/0.4096, allocations: 4 kB / 0.5545 GB, free: 8.559 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.979e-05/0.4097, allocations: 15.92 kB / 0.5545 GB, free: 8.543 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003515/0.4132, allocations: 7.309 MB / 0.5617 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.4132, allocations: 0 / 0.5617 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007482/0.414, allocations: 0.5117 MB / 0.5622 GB, free: 436 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001642/0.4141, allocations: 124.6 kB / 0.5623 GB, free: 292 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.4142, allocations: 7.984 kB / 0.5623 GB, free: 284 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002476/0.4145, allocations: 8 kB / 0.5623 GB, free: 276 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.783e-05/0.4146, allocations: 23.97 kB / 0.5623 GB, free: 252 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.173e-05/0.4146, allocations: 19.98 kB / 0.5623 GB, free: 232 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004205/0.415, allocations: 387 kB / 0.5627 GB, free: 15.85 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4151, allocations: 4 kB / 0.5627 GB, free: 15.85 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006272/0.4157, allocations: 179.8 kB / 0.5629 GB, free: 15.67 MB / 430.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.001363/0.4171, allocations: 1.153 MB / 0.564 GB, free: 14.49 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001432/0.4185, allocations: 0.5555 MB / 0.5645 GB, free: 13.93 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.4185, allocations: 0 / 0.5645 GB, free: 13.93 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009624/0.4195, allocations: 351.6 kB / 0.5649 GB, free: 13.59 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005187/0.42, allocations: 89.84 kB / 0.565 GB, free: 13.5 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006557/0.4266, allocations: 5.287 MB / 0.5701 GB, free: 8.02 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000426/0.427, allocations: 0.8936 MB / 0.571 GB, free: 7.098 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003296/0.4274, allocations: 144.2 kB / 0.5711 GB, free: 6.953 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001984/0.4276, allocations: 143.4 kB / 0.5713 GB, free: 6.812 MB / 430.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4276, allocations: 0 / 0.5713 GB, free: 6.812 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0374/0.465, allocations: 15.19 MB / 0.5861 GB, free: 7.887 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.43, allocations: 8.359 kB / 0.5861 GB, free: 7.879 MB / 446.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches