Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001239/0.001239, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001359/0.001359, allocations: 203.3 kB / 23.73 MB, free: 4.379 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.41/1.41, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.223/0.223, allocations: 46.96 MB / 360.9 MB, free: 4.145 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_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_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 71.89 kB / 0.4961 GB, free: 7.711 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.302, allocations: 66.03 MB / 0.5606 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent): time 0.003567/0.3055, allocations: 1.804 MB / 0.5624 GB, free: 2.438 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001643/0.3072, allocations: 0.9357 MB / 0.5633 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.535e-05/0.3073, allocations: 0 / 0.5633 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002952/0.3076, allocations: 43.7 kB / 0.5633 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000269/0.3078, allocations: 71.66 kB / 0.5634 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000536/0.3084, allocations: 135.5 kB / 0.5635 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002971/0.3087, allocations: 215.2 kB / 0.5637 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.481e-05/0.3087, allocations: 13.55 kB / 0.5637 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002197/0.3089, allocations: 95.62 kB / 0.5638 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001924/0.3091, allocations: 103.6 kB / 0.5639 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.723e-05/0.3092, allocations: 8 kB / 0.5639 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002961/0.3095, allocations: 115.8 kB / 0.5641 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.715e-05/0.3095, allocations: 59.75 kB / 0.5641 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.022e-05/0.3096, allocations: 55.67 kB / 0.5642 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004017/0.31, allocations: 261 kB / 0.5644 GB, free: 348 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.31, allocations: 3.938 kB / 0.5644 GB, free: 344 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.093e-06/0.31, allocations: 0 / 0.5644 GB, free: 344 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.31, allocations: 7.938 kB / 0.5644 GB, free: 336 kB / 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.001074/0.3111, allocations: 465.2 kB / 0.5649 GB, free: 15.84 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.3112, allocations: 8.031 kB / 0.5649 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.642e-05/0.3112, allocations: 54.72 kB / 0.5649 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003639/0.3116, allocations: 48.77 kB / 0.565 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002881/0.3119, allocations: 178.2 kB / 0.5651 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.3119, allocations: 8.609 kB / 0.5652 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.829e-05/0.3119, allocations: 12.38 kB / 0.5652 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005618/0.3125, allocations: 262.8 kB / 0.5654 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.3125, allocations: 0 / 0.5654 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.168e-05/0.3125, allocations: 4 kB / 0.5654 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.214e-05/0.3125, allocations: 16.22 kB / 0.5654 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006492/0.3132, allocations: 224.4 kB / 0.5657 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001356/0.3146, allocations: 0.7664 MB / 0.5664 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003963/0.3149, allocations: 179.7 kB / 0.5666 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002566/0.3152, allocations: 102.5 kB / 0.5667 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.911e-05/0.3152, allocations: 8.125 kB / 0.5667 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.3153, allocations: 38.55 kB / 0.5667 GB, free: 13.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.473e-06/0.3153, allocations: 0 / 0.5667 GB, free: 13.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009563/0.3162, allocations: 321.3 kB / 0.567 GB, free: 13.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.827e-05/0.3163, allocations: 102.8 kB / 0.5671 GB, free: 13.36 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003048/0.3166, allocations: 260.9 kB / 0.5674 GB, free: 13.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.823e-05/0.3166, allocations: 29.7 kB / 0.5674 GB, free: 13.06 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.3167, allocations: 143.8 kB / 0.5675 GB, free: 12.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.958e-05/0.3168, allocations: 39.67 kB / 0.5676 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.627e-05/0.3169, allocations: 37.7 kB / 0.5676 GB, free: 12.83 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.317, allocations: 330.8 kB / 0.5679 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002619/0.3173, allocations: 95.95 kB / 0.568 GB, free: 12.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003014/0.3176, allocations: 136.1 kB / 0.5681 GB, free: 12.26 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005516/0.3182, allocations: 237.2 kB / 0.5684 GB, free: 12.01 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3182, allocations: 0 / 0.5684 GB, free: 12.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006704/0.3188, allocations: 281.2 kB / 0.5686 GB, free: 11.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.3189, allocations: 4 kB / 0.5686 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.494e-05/0.3189, allocations: 11.98 kB / 0.5687 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.3189, allocations: 0 / 0.5687 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002446/0.3191, allocations: 39.97 kB / 0.5687 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.3192, allocations: 0 / 0.5687 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002066/0.3194, allocations: 31.86 kB / 0.5687 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.532e-05/0.3194, allocations: 15.92 kB / 0.5687 GB, free: 11.62 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.0001434/0.3195, allocations: 145.8 kB / 0.5689 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.37e-05/0.3196, allocations: 23.86 kB / 0.5689 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005754/0.3202, allocations: 223.1 kB / 0.5691 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.3202, allocations: 0 / 0.5691 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.3202, allocations: 0 / 0.5691 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3202, allocations: 4 kB / 0.5691 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004207/0.3206, allocations: 208.6 kB / 0.5693 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.072e-05/0.3206, allocations: 16 kB / 0.5693 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001891/0.3208, allocations: 31.97 kB / 0.5694 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.3208, allocations: 0 / 0.5694 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.026e-05/0.3209, allocations: 7.984 kB / 0.5694 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.3209, allocations: 0 / 0.5694 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3209, allocations: 0 / 0.5694 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006836/0.3215, allocations: 493.6 kB / 0.5698 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.242e-05/0.3216, allocations: 23.86 kB / 0.5699 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.972e-05/0.3216, allocations: 4 kB / 0.5699 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002587/0.3219, allocations: 19.97 kB / 0.5699 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.558e-05/0.322, allocations: 15.92 kB / 0.5699 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.705e-05/0.322, allocations: 7.984 kB / 0.5699 GB, free: 10.35 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000296/0.3223, allocations: 196.4 kB / 0.5701 GB, free: 10.16 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3223, allocations: 0 / 0.5701 GB, free: 10.16 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004433/0.3227, allocations: 67.81 kB / 0.5702 GB, free: 10.09 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.001426/0.3241, allocations: 1.066 MB / 0.5712 GB, free: 9 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006725/0.3248, allocations: 276.8 kB / 0.5715 GB, free: 8.711 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3248, allocations: 0 / 0.5715 GB, free: 8.711 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003299/0.3251, allocations: 185.2 kB / 0.5716 GB, free: 8.512 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005514/0.3257, allocations: 44.28 kB / 0.5717 GB, free: 8.469 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004466/0.3302, allocations: 2.827 MB / 0.5744 GB, free: 5.512 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001633/0.3303, allocations: 131.4 kB / 0.5746 GB, free: 5.363 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001475/0.3305, allocations: 45.44 kB / 0.5746 GB, free: 5.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001109/0.3306, allocations: 51.42 kB / 0.5747 GB, free: 5.27 MB / 414.1 MB Notification: Performance of SimCode: time 7.71e-07/0.3306, allocations: 384 / 0.5747 GB, free: 5.27 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0333/0.3639, allocations: 6.803 MB / 0.5813 GB, free: 14.65 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/11.06, allocations: 11.75 kB / 0.5813 GB, free: 14.64 MB / 430.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_4_1_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_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_turbulent/kc_turbulent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 13.985694396978943]