Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_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_evenGapLaminar_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_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.001707/0.001707, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002012/0.002012, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 227.4 MB / 247 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.251/0.251, allocations: 46.12 MB / 344.4 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002206/0.002206, allocations: 75.88 kB / 480.9 MB, free: 4.477 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.3168, 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_evenGapLaminar_KC): time 0.003457/0.3203, allocations: 2.174 MB / 0.5328 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001519/0.3218, allocations: 0.9382 MB / 0.5337 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.101e-05/0.3219, allocations: 6.75 kB / 0.5337 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002732/0.3222, allocations: 69.45 kB / 0.5338 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003668/0.3226, allocations: 140.2 kB / 0.5339 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002579/0.3228, allocations: 94.02 kB / 0.534 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005688/0.3234, allocations: 476.5 kB / 0.5344 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.231e-05/0.3235, allocations: 59.44 kB / 0.5345 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000299/0.3238, allocations: 192.7 kB / 0.5347 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002976/0.3241, allocations: 231.3 kB / 0.5349 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.684e-05/0.3242, allocations: 12.38 kB / 0.5349 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003398/0.3245, allocations: 184.6 kB / 0.5351 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001301/0.3247, allocations: 112.5 kB / 0.5352 GB, free: 9.988 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001998/0.3249, allocations: 194.8 kB / 0.5354 GB, free: 9.863 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007116/0.3256, allocations: 0.5425 MB / 0.5359 GB, free: 9.512 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3256, allocations: 4 kB / 0.5359 GB, free: 9.508 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3256, allocations: 0.6875 kB / 0.5359 GB, free: 9.508 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.645e-06/0.3256, allocations: 0 / 0.5359 GB, free: 9.508 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.001255/0.3269, allocations: 0.7628 MB / 0.5367 GB, free: 8.859 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.437e-05/0.3269, allocations: 9.469 kB / 0.5367 GB, free: 8.859 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001183/0.3271, allocations: 97.55 kB / 0.5368 GB, free: 8.777 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.995e-05/0.3272, allocations: 59.84 kB / 0.5368 GB, free: 8.742 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003963/0.3276, allocations: 310.6 kB / 0.5371 GB, free: 8.461 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.221e-05/0.3276, allocations: 36.09 kB / 0.5372 GB, free: 8.445 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.181e-05/0.3277, allocations: 50.92 kB / 0.5372 GB, free: 8.426 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/0.3288, allocations: 0.7099 MB / 0.5379 GB, free: 8.039 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.3288, allocations: 3.984 kB / 0.5379 GB, free: 8.035 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.632e-05/0.3288, allocations: 20.89 kB / 0.5379 GB, free: 8.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.031e-05/0.3289, allocations: 53.44 kB / 0.538 GB, free: 8.004 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001179/0.3301, allocations: 0.7396 MB / 0.5387 GB, free: 7.664 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00218/0.3323, allocations: 1.444 MB / 0.5401 GB, free: 6.699 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007898/0.3331, allocations: 454.3 kB / 0.5405 GB, free: 6.516 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003/0.3334, allocations: 161.4 kB / 0.5407 GB, free: 6.445 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.179e-05/0.3335, allocations: 12.94 kB / 0.5407 GB, free: 6.438 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.212e-05/0.3335, allocations: 40.55 kB / 0.5407 GB, free: 6.391 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 1.553e-06/0.3335, allocations: 0 / 0.5407 GB, free: 6.391 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.001115/0.3346, allocations: 0.5378 MB / 0.5413 GB, free: 6.152 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.3347, allocations: 54.62 kB / 0.5413 GB, free: 6.09 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006039/0.3353, allocations: 0.5267 MB / 0.5418 GB, free: 5.789 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.266e-05/0.3353, allocations: 35.7 kB / 0.5419 GB, free: 5.75 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002026/0.3356, allocations: 238.1 kB / 0.5421 GB, free: 5.535 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.3357, allocations: 108.5 kB / 0.5422 GB, free: 5.441 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001362/0.3358, allocations: 84.06 kB / 0.5423 GB, free: 5.387 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001823/0.336, allocations: 360.1 kB / 0.5426 GB, free: 5.039 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003204/0.3363, allocations: 154.9 kB / 0.5428 GB, free: 4.98 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003945/0.3367, allocations: 252 kB / 0.543 GB, free: 4.758 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007517/0.3375, allocations: 439.6 kB / 0.5434 GB, free: 4.289 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.3375, allocations: 0 / 0.5434 GB, free: 4.289 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009137/0.3384, allocations: 0.4969 MB / 0.5439 GB, free: 3.785 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.3384, allocations: 6.188 kB / 0.5439 GB, free: 3.781 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.363e-06/0.3385, allocations: 4 kB / 0.5439 GB, free: 3.777 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.3385, allocations: 4 kB / 0.5439 GB, free: 3.773 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009133/0.3394, allocations: 211.8 kB / 0.5441 GB, free: 3.566 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004553/0.344, allocations: 7.314 MB / 0.5513 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003645/0.3443, allocations: 63.5 kB / 0.5513 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-05/0.3444, allocations: 20 kB / 0.5514 GB, free: 11.89 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (40): * Single equations (assignments): 28 * 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.0003143/0.3447, allocations: 230.2 kB / 0.5516 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.096e-05/0.3448, allocations: 43.72 kB / 0.5516 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001099/0.3459, allocations: 0.5486 MB / 0.5522 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.3459, allocations: 4 kB / 0.5522 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.3459, allocations: 4 kB / 0.5522 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.3459, allocations: 0 / 0.5522 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005672/0.3465, allocations: 425.2 kB / 0.5526 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.3465, allocations: 0 / 0.5526 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008093/0.3473, allocations: 203.8 kB / 0.5528 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.543e-06/0.3474, allocations: 3.984 kB / 0.5528 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.435e-05/0.3474, allocations: 24.03 kB / 0.5528 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004447/0.3518, allocations: 7.314 MB / 0.5599 GB, free: 2.762 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.3519, allocations: 0 / 0.5599 GB, free: 2.762 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008346/0.3527, allocations: 0.5197 MB / 0.5604 GB, free: 2.227 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000137/0.3528, allocations: 128.8 kB / 0.5606 GB, free: 2.082 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.498e-05/0.3529, allocations: 4 kB / 0.5606 GB, free: 2.078 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002275/0.3532, allocations: 11.98 kB / 0.5606 GB, free: 2.066 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.744e-05/0.3532, allocations: 23.97 kB / 0.5606 GB, free: 2.043 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.392e-05/0.3533, allocations: 19.98 kB / 0.5606 GB, free: 2.023 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000451/0.3537, allocations: 387 kB / 0.561 GB, free: 1.648 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3538, allocations: 0 / 0.561 GB, free: 1.648 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004736/0.3542, allocations: 139.8 kB / 0.5611 GB, free: 1.512 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.001302/0.3555, allocations: 1.079 MB / 0.5622 GB, free: 412 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001485/0.357, allocations: 0.5358 MB / 0.5627 GB, free: 15.86 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.357, allocations: 0 / 0.5627 GB, free: 15.86 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001029/0.3581, allocations: 343.6 kB / 0.563 GB, free: 15.53 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004859/0.3586, allocations: 93.8 kB / 0.5631 GB, free: 15.44 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006896/0.3655, allocations: 5.255 MB / 0.5682 GB, free: 10.04 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005495/0.366, allocations: 0.8933 MB / 0.5691 GB, free: 9.113 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003123/0.3664, allocations: 132.1 kB / 0.5692 GB, free: 8.98 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002137/0.3666, allocations: 143.4 kB / 0.5694 GB, free: 8.84 MB / 430.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3666, allocations: 0 / 0.5694 GB, free: 8.84 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03926/0.4059, allocations: 13.54 MB / 0.5826 GB, free: 11.56 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/12.61, allocations: 11.62 kB / 0.5826 GB, free: 11.55 MB / 446.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_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_evenGapLaminar_KC/kc_evenGapLaminar_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches