Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.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.001886/0.001886, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.00244/0.00244, allocations: 217.2 kB / 23.75 MB, free: 4.668 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.47/1.47, allocations: 230.6 MB / 257.5 MB, free: 8 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.2637/0.2637, allocations: 44.92 MB / 358.8 MB, free: 6.277 MB / 286.1 MB " [Timeout remaining time 180] 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.Plate.kc_turbulent,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent",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.001984/0.001984, allocations: 63.91 kB / 0.4931 GB, free: 10.69 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.3403, allocations: 65.47 MB / 0.557 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent): time 0.003364/0.3436, allocations: 1.858 MB / 0.5589 GB, free: 5.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001788/0.3454, allocations: 1.041 MB / 0.5599 GB, free: 4.863 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.363e-05/0.3455, allocations: 4 kB / 0.5599 GB, free: 4.859 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000242/0.3457, allocations: 35.77 kB / 0.5599 GB, free: 4.824 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002604/0.346, allocations: 71.59 kB / 0.56 GB, free: 4.754 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004117/0.3464, allocations: 143.5 kB / 0.5601 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003006/0.3467, allocations: 207.2 kB / 0.5603 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.274e-05/0.3468, allocations: 13.48 kB / 0.5603 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002115/0.347, allocations: 99.62 kB / 0.5604 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002064/0.3472, allocations: 103.6 kB / 0.5605 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.905e-05/0.3472, allocations: 12 kB / 0.5605 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002548/0.3475, allocations: 131.8 kB / 0.5607 GB, free: 4.055 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.106e-05/0.3476, allocations: 55.81 kB / 0.5607 GB, free: 4 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.518e-05/0.3476, allocations: 79.47 kB / 0.5608 GB, free: 3.922 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003681/0.348, allocations: 261 kB / 0.561 GB, free: 3.668 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.348, allocations: 0 / 0.561 GB, free: 3.668 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.348, allocations: 0 / 0.561 GB, free: 3.668 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.348, allocations: 0 / 0.561 GB, free: 3.668 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009677/0.349, allocations: 475.5 kB / 0.5615 GB, free: 3.172 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.349, allocations: 12.03 kB / 0.5615 GB, free: 3.16 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.199e-05/0.3491, allocations: 50.67 kB / 0.5615 GB, free: 3.102 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003524/0.3494, allocations: 60.69 kB / 0.5616 GB, free: 3.043 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002685/0.3497, allocations: 174.2 kB / 0.5618 GB, free: 2.848 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.3497, allocations: 8.609 kB / 0.5618 GB, free: 2.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.544e-05/0.3498, allocations: 16.31 kB / 0.5618 GB, free: 2.824 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005523/0.3503, allocations: 270.7 kB / 0.5621 GB, free: 2.539 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.3503, allocations: 0 / 0.5621 GB, free: 2.539 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.919e-05/0.3504, allocations: 8 kB / 0.5621 GB, free: 2.531 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.936e-05/0.3504, allocations: 12.23 kB / 0.5621 GB, free: 2.52 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005535/0.3509, allocations: 220.4 kB / 0.5623 GB, free: 2.305 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00124/0.3522, allocations: 0.7937 MB / 0.5631 GB, free: 1.457 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004123/0.3526, allocations: 183.7 kB / 0.5632 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000254/0.3528, allocations: 94.48 kB / 0.5633 GB, free: 1.148 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.246e-05/0.3529, allocations: 7.984 kB / 0.5633 GB, free: 1.141 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.3529, allocations: 38.69 kB / 0.5634 GB, free: 1.094 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.703e-06/0.3529, allocations: 8 kB / 0.5634 GB, free: 1.086 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009318/0.3538, allocations: 309.2 kB / 0.5637 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.37e-05/0.3539, allocations: 115 kB / 0.5638 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002807/0.3542, allocations: 260.9 kB / 0.564 GB, free: 388 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.943e-05/0.3542, allocations: 29.7 kB / 0.5641 GB, free: 352 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.3543, allocations: 124 kB / 0.5642 GB, free: 224 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.153e-05/0.3544, allocations: 47.58 kB / 0.5642 GB, free: 176 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.392e-05/0.3544, allocations: 37.7 kB / 0.5643 GB, free: 132 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001965/0.3546, allocations: 334.8 kB / 0.5646 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002701/0.3549, allocations: 99.83 kB / 0.5647 GB, free: 15.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002839/0.3552, allocations: 129 kB / 0.5648 GB, free: 15.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005257/0.3557, allocations: 233.2 kB / 0.565 GB, free: 15.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.3557, allocations: 4 kB / 0.565 GB, free: 15.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006374/0.3564, allocations: 273.2 kB / 0.5653 GB, free: 15.03 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.3564, allocations: 8 kB / 0.5653 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.079e-05/0.3564, allocations: 4 kB / 0.5653 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.3564, allocations: 4 kB / 0.5653 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002268/0.3566, allocations: 40.05 kB / 0.5653 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.3567, allocations: 8 kB / 0.5653 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002005/0.3569, allocations: 35.83 kB / 0.5654 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.121e-05/0.3569, allocations: 11.92 kB / 0.5654 GB, free: 14.92 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001275/0.357, allocations: 141.8 kB / 0.5655 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.995e-05/0.3571, allocations: 19.86 kB / 0.5655 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004724/0.3576, allocations: 227.2 kB / 0.5658 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.3576, allocations: 4 kB / 0.5658 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3576, allocations: 0 / 0.5658 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.3576, allocations: 0 / 0.5658 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003951/0.358, allocations: 236.5 kB / 0.566 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.434e-05/0.358, allocations: 4 kB / 0.566 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001799/0.3582, allocations: 27.97 kB / 0.566 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3582, allocations: 0 / 0.566 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.97e-05/0.3582, allocations: 11.98 kB / 0.566 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3582, allocations: 0 / 0.566 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.3582, allocations: 12 kB / 0.566 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006737/0.3589, allocations: 485.6 kB / 0.5665 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.661e-05/0.3589, allocations: 19.91 kB / 0.5665 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.746e-05/0.3589, allocations: 4 kB / 0.5665 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002534/0.3592, allocations: 19.97 kB / 0.5665 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.036e-05/0.3593, allocations: 15.92 kB / 0.5666 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.3593, allocations: 7.984 kB / 0.5666 GB, free: 13.63 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001958/0.3595, allocations: 188.5 kB / 0.5668 GB, free: 13.45 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3595, allocations: 4 kB / 0.5668 GB, free: 13.44 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000431/0.3599, allocations: 75.75 kB / 0.5668 GB, free: 13.37 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001172/0.3611, allocations: 1.067 MB / 0.5679 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006479/0.3617, allocations: 280.8 kB / 0.5681 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3617, allocations: 4 kB / 0.5681 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003154/0.362, allocations: 176.9 kB / 0.5683 GB, free: 11.79 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005063/0.3625, allocations: 48.77 kB / 0.5684 GB, free: 11.74 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003979/0.3665, allocations: 2.83 MB / 0.5711 GB, free: 8.777 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003968/0.3669, allocations: 0.7437 MB / 0.5718 GB, free: 8.008 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001219/0.367, allocations: 45.45 kB / 0.5719 GB, free: 7.965 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.3671, allocations: 47.42 kB / 0.5719 GB, free: 7.922 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3672, allocations: 0 / 0.5719 GB, free: 7.922 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03583/0.403, allocations: 6.106 MB / 0.5779 GB, free: 1.977 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.59, allocations: 14.28 kB / 0.5779 GB, free: 1.965 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-07 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_turbulent/kc_turbulent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.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: 14.73782717809081]