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_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.00135/0.00135, 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.00148/0.00148, allocations: 210.5 kB / 23.74 MB, free: 4.672 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.488/1.488, allocations: 230.6 MB / 257.5 MB, free: 7.973 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.2273/0.2273, allocations: 44.91 MB / 358.8 MB, free: 6.254 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_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_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.002115/0.002115, allocations: 67.88 kB / 0.4931 GB, free: 10.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3307, allocations: 65.48 MB / 0.5571 GB, free: 7.492 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC): time 0.003666/0.3343, allocations: 1.717 MB / 0.5587 GB, free: 5.988 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001359/0.3357, allocations: 0.7761 MB / 0.5595 GB, free: 5.207 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.476e-05/0.3357, allocations: 8 kB / 0.5595 GB, free: 5.199 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002568/0.336, allocations: 27.83 kB / 0.5595 GB, free: 5.172 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002937/0.3363, allocations: 67.7 kB / 0.5596 GB, free: 5.105 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002384/0.3365, allocations: 63.75 kB / 0.5596 GB, free: 5.043 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000244/0.3368, allocations: 155.3 kB / 0.5598 GB, free: 4.891 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.08e-05/0.3368, allocations: 5.594 kB / 0.5598 GB, free: 4.879 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.3369, allocations: 63.7 kB / 0.5599 GB, free: 4.816 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001648/0.3371, allocations: 87.64 kB / 0.5599 GB, free: 4.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.3371, allocations: 8 kB / 0.56 GB, free: 4.723 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001711/0.3373, allocations: 63.89 kB / 0.56 GB, free: 4.66 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.765e-05/0.3374, allocations: 51.81 kB / 0.5601 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.652e-05/0.3374, allocations: 67.59 kB / 0.5601 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003145/0.3378, allocations: 173 kB / 0.5603 GB, free: 4.379 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3378, allocations: 3.938 kB / 0.5603 GB, free: 4.375 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3378, allocations: 4 kB / 0.5603 GB, free: 4.371 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.72e-06/0.3378, allocations: 0 / 0.5603 GB, free: 4.371 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.0007377/0.3385, allocations: 403.6 kB / 0.5607 GB, free: 3.949 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.3386, allocations: 8.031 kB / 0.5607 GB, free: 3.941 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.84e-05/0.3386, allocations: 50.72 kB / 0.5607 GB, free: 3.883 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006511/0.3393, allocations: 80.73 kB / 0.5608 GB, free: 3.805 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000284/0.3396, allocations: 178.2 kB / 0.561 GB, free: 3.605 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.3396, allocations: 4.375 kB / 0.561 GB, free: 3.602 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.262e-05/0.3396, allocations: 12.38 kB / 0.561 GB, free: 3.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005681/0.3402, allocations: 304 kB / 0.5613 GB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.3402, allocations: 0 / 0.5613 GB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.499e-05/0.3402, allocations: 4 kB / 0.5613 GB, free: 3.277 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-05/0.3403, allocations: 19.97 kB / 0.5613 GB, free: 3.258 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005936/0.3409, allocations: 299.6 kB / 0.5616 GB, free: 2.965 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00146/0.3423, allocations: 0.6915 MB / 0.5623 GB, free: 2.223 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005201/0.3428, allocations: 274.1 kB / 0.5625 GB, free: 1.945 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002132/0.343, allocations: 96.8 kB / 0.5626 GB, free: 1.848 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.3431, allocations: 4 kB / 0.5626 GB, free: 1.844 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.3431, allocations: 38.56 kB / 0.5627 GB, free: 1.797 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.142e-06/0.3431, allocations: 0 / 0.5627 GB, free: 1.797 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007819/0.3439, allocations: 345.2 kB / 0.563 GB, free: 1.453 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.234e-05/0.3439, allocations: 55.34 kB / 0.5631 GB, free: 1.387 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002473/0.3442, allocations: 239.1 kB / 0.5633 GB, free: 1.145 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.3442, allocations: 25.7 kB / 0.5633 GB, free: 1.113 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.637e-05/0.3443, allocations: 116 kB / 0.5634 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.892e-05/0.3443, allocations: 51.56 kB / 0.5635 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.832e-05/0.3444, allocations: 45.67 kB / 0.5635 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.3446, allocations: 330.8 kB / 0.5638 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002155/0.3448, allocations: 95.88 kB / 0.5639 GB, free: 480 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002373/0.345, allocations: 134.1 kB / 0.564 GB, free: 336 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004676/0.3455, allocations: 246.6 kB / 0.5643 GB, free: 80 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3455, allocations: 0 / 0.5643 GB, free: 80 kB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005982/0.3461, allocations: 293.2 kB / 0.5646 GB, free: 15.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.3461, allocations: 8 kB / 0.5646 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.3461, allocations: 0 / 0.5646 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.3462, allocations: 0 / 0.5646 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01988/0.366, allocations: 0.9241 MB / 0.5655 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02302/0.389, allocations: 10.12 MB / 0.5754 GB, free: 4.031 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003344/0.3894, allocations: 27.84 kB / 0.5754 GB, free: 4.004 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.264e-05/0.3894, allocations: 7.984 kB / 0.5754 GB, free: 3.996 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001994/0.3896, allocations: 146.2 kB / 0.5755 GB, free: 3.844 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.351e-05/0.3897, allocations: 15.91 kB / 0.5755 GB, free: 3.828 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006614/0.3963, allocations: 0.6336 MB / 0.5762 GB, free: 3.172 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.3963, allocations: 4 kB / 0.5762 GB, free: 3.168 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.3963, allocations: 4 kB / 0.5762 GB, free: 3.164 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.3963, allocations: 0 / 0.5762 GB, free: 3.164 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004048/0.3967, allocations: 240.5 kB / 0.5764 GB, free: 2.887 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.3967, allocations: 0 / 0.5764 GB, free: 2.887 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002454/0.397, allocations: 35.97 kB / 0.5764 GB, free: 2.852 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005062/0.402, allocations: 306.2 kB / 0.5767 GB, free: 2.543 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.68e-05/0.4021, allocations: 15.91 kB / 0.5767 GB, free: 2.527 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01726/0.4193, allocations: 9.697 MB / 0.5862 GB, free: 8.129 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4193, allocations: 0 / 0.5862 GB, free: 8.129 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006505/0.4258, allocations: 0.677 MB / 0.5869 GB, free: 7.426 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.022e-05/0.4259, allocations: 19.91 kB / 0.5869 GB, free: 7.406 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.302e-05/0.426, allocations: 8 kB / 0.5869 GB, free: 7.398 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002575/0.4262, allocations: 11.92 kB / 0.5869 GB, free: 7.387 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001822/0.4264, allocations: 47.83 kB / 0.587 GB, free: 7.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-05/0.4264, allocations: 11.98 kB / 0.587 GB, free: 7.328 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001968/0.4266, allocations: 171.1 kB / 0.5871 GB, free: 7.16 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4266, allocations: 0 / 0.5871 GB, free: 7.16 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006302/0.4273, allocations: 92 kB / 0.5872 GB, free: 7.07 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 (13): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007003/0.4343, allocations: 1.232 MB / 0.5884 GB, free: 5.805 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01983/0.4541, allocations: 1.124 MB / 0.5895 GB, free: 4.68 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.4541, allocations: 0 / 0.5895 GB, free: 4.68 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001941/0.4561, allocations: 0.527 MB / 0.59 GB, free: 4.113 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003883/0.4564, allocations: 34.64 kB / 0.5901 GB, free: 4.082 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00561/0.462, allocations: 2.804 MB / 0.5928 GB, free: 1.184 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004157/0.4625, allocations: 0.7595 MB / 0.5935 GB, free: 408 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001268/0.4626, allocations: 41.45 kB / 0.5936 GB, free: 364 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.4627, allocations: 55.41 kB / 0.5936 GB, free: 308 kB / 430.1 MB Notification: Performance of SimCode: time 8.52e-07/0.4627, allocations: 0 / 0.5936 GB, free: 308 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0441/0.5068, allocations: 10.1 MB / 0.6035 GB, free: 6.383 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.68/13.18, allocations: 4.062 kB / 0.6035 GB, free: 6.379 MB / 446.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC_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_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC_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/kc_turbulent_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_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.26683868491091]