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_evenGapTurbulent_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 109.2 kB / 20.43 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001739/0.001739, allocations: 213.7 kB / 23.74 MB, free: 4.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.55/1.55, allocations: 230.6 MB / 257.5 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2564/0.2564, allocations: 44.91 MB / 358.8 MB, free: 6.406 MB / 286.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002092/0.002092, allocations: 75.88 kB / 0.4931 GB, free: 10.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.3463, allocations: 65.47 MB / 0.5571 GB, free: 7.559 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.003271/0.3496, allocations: 1.802 MB / 0.5588 GB, free: 5.988 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001554/0.3511, allocations: 0.8694 MB / 0.5597 GB, free: 5.117 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.892e-05/0.3512, allocations: 0 / 0.5597 GB, free: 5.117 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002679/0.3514, allocations: 47.75 kB / 0.5597 GB, free: 5.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002742/0.3517, allocations: 71.64 kB / 0.5598 GB, free: 5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002709/0.352, allocations: 79.73 kB / 0.5599 GB, free: 4.922 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000219/0.3522, allocations: 143.3 kB / 0.56 GB, free: 4.781 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.812e-05/0.3523, allocations: 9.062 kB / 0.56 GB, free: 4.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000192/0.3525, allocations: 79.61 kB / 0.5601 GB, free: 4.691 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.3526, allocations: 75.67 kB / 0.5601 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.3e-05/0.3526, allocations: 4 kB / 0.5602 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002908/0.3529, allocations: 163.8 kB / 0.5603 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.508e-05/0.353, allocations: 43.81 kB / 0.5603 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.707e-05/0.3531, allocations: 51.67 kB / 0.5604 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003263/0.3534, allocations: 213 kB / 0.5606 GB, free: 4.152 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3534, allocations: 0 / 0.5606 GB, free: 4.152 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3534, allocations: 0 / 0.5606 GB, free: 4.152 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.047e-05/0.3534, allocations: 0 / 0.5606 GB, free: 4.152 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.000687/0.3541, allocations: 373.5 kB / 0.561 GB, free: 3.758 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.3541, allocations: 8.031 kB / 0.561 GB, free: 3.75 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.182e-05/0.3542, allocations: 46.73 kB / 0.561 GB, free: 3.695 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.255e-05/0.3542, allocations: 16.84 kB / 0.561 GB, free: 3.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000223/0.3544, allocations: 156.6 kB / 0.5612 GB, free: 3.504 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.3545, allocations: 4.375 kB / 0.5612 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.562e-05/0.3545, allocations: 15.94 kB / 0.5612 GB, free: 3.484 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003729/0.3549, allocations: 173.5 kB / 0.5614 GB, free: 3.309 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.3549, allocations: 0 / 0.5614 GB, free: 3.309 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.3549, allocations: 0 / 0.5614 GB, free: 3.309 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.56e-05/0.3549, allocations: 19.92 kB / 0.5614 GB, free: 3.289 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003577/0.3553, allocations: 159.9 kB / 0.5615 GB, free: 3.133 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008421/0.3561, allocations: 467.3 kB / 0.562 GB, free: 2.633 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000412/0.3565, allocations: 150.4 kB / 0.5621 GB, free: 2.477 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001571/0.3567, allocations: 56.75 kB / 0.5622 GB, free: 2.418 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.365e-05/0.3567, allocations: 8 kB / 0.5622 GB, free: 2.41 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.3567, allocations: 30.56 kB / 0.5622 GB, free: 2.371 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/0.3567, allocations: 0 / 0.5622 GB, free: 2.371 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005403/0.3573, allocations: 201.4 kB / 0.5624 GB, free: 2.168 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.3573, allocations: 55.41 kB / 0.5625 GB, free: 2.102 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002155/0.3575, allocations: 199.5 kB / 0.5626 GB, free: 1.891 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.3576, allocations: 33.7 kB / 0.5627 GB, free: 1.852 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.696e-05/0.3576, allocations: 108.1 kB / 0.5628 GB, free: 1.742 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.512e-05/0.3577, allocations: 31.7 kB / 0.5628 GB, free: 1.711 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.885e-05/0.3577, allocations: 33.7 kB / 0.5628 GB, free: 1.672 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.3579, allocations: 326.8 kB / 0.5632 GB, free: 1.344 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/0.358, allocations: 55.88 kB / 0.5632 GB, free: 1.289 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/0.3582, allocations: 74.47 kB / 0.5633 GB, free: 1.207 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002856/0.3585, allocations: 130.4 kB / 0.5634 GB, free: 1.07 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.3585, allocations: 0 / 0.5634 GB, free: 1.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003733/0.3588, allocations: 165.5 kB / 0.5636 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.3588, allocations: 4.469 kB / 0.5636 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.3589, allocations: 4 kB / 0.5636 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.3589, allocations: 0 / 0.5636 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000269/0.3591, allocations: 47.91 kB / 0.5636 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008212/0.36, allocations: 1.223 MB / 0.5648 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.3601, allocations: 15.83 kB / 0.5648 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.3601, allocations: 8 kB / 0.5648 GB, free: 15.55 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (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 (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000193/0.3603, allocations: 145.7 kB / 0.565 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.925e-05/0.3603, allocations: 15.84 kB / 0.565 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000437/0.3608, allocations: 183 kB / 0.5652 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.3608, allocations: 0 / 0.5652 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.3608, allocations: 4.078 kB / 0.5652 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3608, allocations: 3.938 kB / 0.5652 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002536/0.361, allocations: 204.6 kB / 0.5654 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.361, allocations: 4 kB / 0.5654 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002289/0.3613, allocations: 43.97 kB / 0.5654 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3613, allocations: 4 kB / 0.5654 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.978e-06/0.3613, allocations: 0 / 0.5654 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008289/0.3621, allocations: 1.223 MB / 0.5666 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3621, allocations: 0 / 0.5666 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003994/0.3625, allocations: 255.5 kB / 0.5669 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.815e-05/0.3625, allocations: 7.953 kB / 0.5669 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.11e-05/0.3626, allocations: 7.938 kB / 0.5669 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.3627, allocations: 3.984 kB / 0.5669 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.424e-05/0.3627, allocations: 11.98 kB / 0.5669 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/0.3627, allocations: 7.938 kB / 0.5669 GB, free: 13.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000145/0.3629, allocations: 153.1 kB / 0.567 GB, free: 13.17 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3629, allocations: 0 / 0.567 GB, free: 13.17 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000304/0.3632, allocations: 47.89 kB / 0.5671 GB, free: 13.12 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007893/0.364, allocations: 0.8137 MB / 0.5679 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000484/0.3645, allocations: 155.9 kB / 0.568 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3645, allocations: 0 / 0.568 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002731/0.3647, allocations: 79.92 kB / 0.5681 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.365, allocations: 28.11 kB / 0.5681 GB, free: 12.03 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00274/0.3678, allocations: 2.159 MB / 0.5702 GB, free: 9.777 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/0.3681, allocations: 0.7357 MB / 0.571 GB, free: 9.016 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.947e-05/0.3682, allocations: 33.05 kB / 0.571 GB, free: 8.984 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.928e-05/0.3683, allocations: 35.42 kB / 0.571 GB, free: 8.949 MB / 414.1 MB Notification: Performance of SimCode: time 4e-07/0.3683, allocations: 4 kB / 0.571 GB, free: 8.945 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0309/0.3992, allocations: 4.757 MB / 0.5757 GB, free: 4.367 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.42/12.82, allocations: 8.047 kB / 0.5757 GB, free: 4.359 MB / 414.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_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_evenGapTurbulent_KC/kc_evenGapTurbulent_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.014349948847666]