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.001384/0.001384, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00145/0.00145, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.525/1.525, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2327/0.2327, allocations: 46.13 MB / 344.4 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003065/0.003065, allocations: 75.88 kB / 480.9 MB, free: 4.449 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2949/0.298, allocations: 62.45 MB / 0.5307 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC): time 0.003809/0.3019, allocations: 2.165 MB / 0.5328 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002876/0.3048, allocations: 1.843 MB / 0.5346 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001345/0.3049, allocations: 1.375 kB / 0.5346 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003038/0.3053, allocations: 73.41 kB / 0.5346 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004733/0.3058, allocations: 145.5 kB / 0.5348 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008883/0.3067, allocations: 335 kB / 0.5351 GB, free: 9.836 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005151/0.3072, allocations: 487.5 kB / 0.5356 GB, free: 9.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.3073, allocations: 63.58 kB / 0.5356 GB, free: 9.539 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002888/0.3076, allocations: 184.6 kB / 0.5358 GB, free: 9.441 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002934/0.3079, allocations: 223 kB / 0.536 GB, free: 9.309 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.984e-05/0.308, allocations: 16.12 kB / 0.536 GB, free: 9.305 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000939/0.3089, allocations: 0.5621 MB / 0.5366 GB, free: 8.965 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001324/0.3091, allocations: 122.1 kB / 0.5367 GB, free: 8.883 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002005/0.3093, allocations: 189.7 kB / 0.5369 GB, free: 8.762 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001078/0.3104, allocations: 0.7342 MB / 0.5376 GB, free: 8.289 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.3104, allocations: 0 / 0.5376 GB, free: 8.289 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3104, allocations: 5.25 kB / 0.5376 GB, free: 8.285 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.155e-06/0.3104, allocations: 0 / 0.5376 GB, free: 8.285 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.001297/0.3117, allocations: 0.7903 MB / 0.5384 GB, free: 7.613 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.3117, allocations: 10.34 kB / 0.5384 GB, free: 7.613 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001246/0.3119, allocations: 101.3 kB / 0.5385 GB, free: 7.527 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.312, allocations: 55.66 kB / 0.5385 GB, free: 7.496 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003876/0.3124, allocations: 309.9 kB / 0.5388 GB, free: 7.215 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.628e-05/0.3124, allocations: 36.7 kB / 0.5389 GB, free: 7.199 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.33e-05/0.3125, allocations: 50.84 kB / 0.5389 GB, free: 7.18 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/0.3136, allocations: 0.7095 MB / 0.5396 GB, free: 6.793 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.3136, allocations: 1.375 kB / 0.5396 GB, free: 6.793 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.766e-05/0.3137, allocations: 23.19 kB / 0.5396 GB, free: 6.773 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.328e-05/0.3137, allocations: 50.34 kB / 0.5397 GB, free: 6.762 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00125/0.315, allocations: 0.7438 MB / 0.5404 GB, free: 6.418 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002305/0.3173, allocations: 1.447 MB / 0.5418 GB, free: 5.449 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007846/0.3181, allocations: 452.3 kB / 0.5422 GB, free: 5.266 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002989/0.3184, allocations: 160.5 kB / 0.5424 GB, free: 5.195 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.391e-05/0.3185, allocations: 8.469 kB / 0.5424 GB, free: 5.191 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.3185, allocations: 41.23 kB / 0.5424 GB, free: 5.145 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 1.523e-06/0.3185, allocations: 0 / 0.5424 GB, free: 5.145 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.001156/0.3197, allocations: 0.541 MB / 0.543 GB, free: 4.898 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.3198, allocations: 55.41 kB / 0.543 GB, free: 4.832 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006595/0.3205, allocations: 0.5252 MB / 0.5435 GB, free: 4.297 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.57e-05/0.3205, allocations: 33.7 kB / 0.5436 GB, free: 4.258 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002008/0.3207, allocations: 252.4 kB / 0.5438 GB, free: 4.004 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/0.3208, allocations: 111 kB / 0.5439 GB, free: 3.895 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001485/0.321, allocations: 90.05 kB / 0.544 GB, free: 3.797 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001819/0.3212, allocations: 362.8 kB / 0.5443 GB, free: 3.434 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003343/0.3215, allocations: 160.6 kB / 0.5445 GB, free: 3.277 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004455/0.322, allocations: 306 kB / 0.5448 GB, free: 2.922 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008483/0.3228, allocations: 0.4889 MB / 0.5453 GB, free: 2.375 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.3228, allocations: 0 / 0.5453 GB, free: 2.375 MB / 398.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001057/0.3239, allocations: 0.536 MB / 0.5458 GB, free: 1.832 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.3239, allocations: 8 kB / 0.5458 GB, free: 1.824 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.3239, allocations: 4 kB / 0.5458 GB, free: 1.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/0.324, allocations: 11.98 kB / 0.5458 GB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009442/0.3249, allocations: 219.8 kB / 0.546 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004426/0.3293, allocations: 7.314 MB / 0.5532 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00043/0.3298, allocations: 63.5 kB / 0.5532 GB, free: 9.938 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.435e-05/0.3299, allocations: 23.98 kB / 0.5532 GB, free: 9.914 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.0003336/0.3302, allocations: 229.6 kB / 0.5535 GB, free: 9.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.326e-05/0.3303, allocations: 47.91 kB / 0.5535 GB, free: 9.633 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001204/0.3315, allocations: 0.5408 MB / 0.554 GB, free: 9.078 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.3315, allocations: 7.938 kB / 0.554 GB, free: 9.07 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.3315, allocations: 0 / 0.554 GB, free: 9.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.3316, allocations: 3.984 kB / 0.5541 GB, free: 9.066 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005901/0.3321, allocations: 425.2 kB / 0.5545 GB, free: 8.602 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.3322, allocations: 4 kB / 0.5545 GB, free: 8.598 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008499/0.333, allocations: 207.8 kB / 0.5547 GB, free: 8.395 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.333, allocations: 4 kB / 0.5547 GB, free: 8.391 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.565e-05/0.3331, allocations: 19.92 kB / 0.5547 GB, free: 8.371 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004552/0.3376, allocations: 7.302 MB / 0.5618 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.3377, allocations: 0 / 0.5618 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009421/0.3386, allocations: 0.5117 MB / 0.5623 GB, free: 268 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001723/0.3388, allocations: 136.6 kB / 0.5624 GB, free: 112 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.534e-05/0.3389, allocations: 4 kB / 0.5624 GB, free: 108 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002312/0.3391, allocations: 8.094 kB / 0.5625 GB, free: 100 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.124e-05/0.3392, allocations: 31.95 kB / 0.5625 GB, free: 68 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.273e-05/0.3393, allocations: 16 kB / 0.5625 GB, free: 52 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004686/0.3397, allocations: 383 kB / 0.5629 GB, free: 15.68 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3397, allocations: 0 / 0.5629 GB, free: 15.68 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006105/0.3404, allocations: 179.6 kB / 0.563 GB, free: 15.5 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.001585/0.3419, allocations: 1.167 MB / 0.5642 GB, free: 14.31 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001701/0.3437, allocations: 0.5594 MB / 0.5647 GB, free: 13.75 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3437, allocations: 0 / 0.5647 GB, free: 13.75 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001032/0.3447, allocations: 339.7 kB / 0.565 GB, free: 13.42 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005317/0.3453, allocations: 89.8 kB / 0.5651 GB, free: 13.33 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007178/0.3524, allocations: 5.306 MB / 0.5703 GB, free: 7.832 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005643/0.353, allocations: 0.8936 MB / 0.5712 GB, free: 6.91 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003844/0.3534, allocations: 140.2 kB / 0.5713 GB, free: 6.77 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002234/0.3537, allocations: 147.4 kB / 0.5715 GB, free: 6.625 MB / 430.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3537, allocations: 0 / 0.5715 GB, free: 6.625 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04185/0.3955, allocations: 14.9 MB / 0.586 GB, free: 7.98 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.3/12.7, allocations: 5.188 kB / 0.586 GB, free: 7.977 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