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_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.001683/0.001683, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002283/0.002283, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.44/1.44, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.2297/0.2297, allocations: 46.92 MB / 357.1 MB, free: 10.34 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_KC,fileNamePrefix="ModelicaTest_4_1_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_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 67.89 kB / 0.4909 GB, free: 7.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1289, allocations: 66 MB / 0.5554 GB, free: 5.859 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC): time 0.003055/0.132, allocations: 1.706 MB / 0.5571 GB, free: 4.141 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001294/0.1333, allocations: 0.7712 MB / 0.5578 GB, free: 3.363 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.322e-05/0.1333, allocations: 4 kB / 0.5578 GB, free: 3.359 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002142/0.1335, allocations: 35.75 kB / 0.5579 GB, free: 3.324 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002707/0.1338, allocations: 63.72 kB / 0.5579 GB, free: 3.262 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001994/0.134, allocations: 67.69 kB / 0.558 GB, free: 3.195 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002398/0.1342, allocations: 159.3 kB / 0.5581 GB, free: 3.039 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.118e-05/0.1343, allocations: 5.406 kB / 0.5581 GB, free: 3.031 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.666e-05/0.1344, allocations: 63.77 kB / 0.5582 GB, free: 2.969 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000149/0.1345, allocations: 83.64 kB / 0.5583 GB, free: 2.887 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.874e-05/0.1345, allocations: 4 kB / 0.5583 GB, free: 2.883 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001665/0.1347, allocations: 71.89 kB / 0.5584 GB, free: 2.812 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.049e-05/0.1348, allocations: 55.73 kB / 0.5584 GB, free: 2.758 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.822e-05/0.1349, allocations: 55.67 kB / 0.5585 GB, free: 2.703 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002821/0.1351, allocations: 187.2 kB / 0.5586 GB, free: 2.52 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1352, allocations: 0 / 0.5586 GB, free: 2.52 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1352, allocations: 3.938 kB / 0.5586 GB, free: 2.516 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.1352, allocations: 0 / 0.5586 GB, free: 2.516 MB / 414.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.000725/0.1359, allocations: 466.5 kB / 0.5591 GB, free: 2.012 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.1359, allocations: 12.03 kB / 0.5591 GB, free: 2 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.229e-05/0.136, allocations: 46.73 kB / 0.5591 GB, free: 1.945 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006019/0.1366, allocations: 80.73 kB / 0.5592 GB, free: 1.867 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002565/0.1368, allocations: 224.1 kB / 0.5594 GB, free: 1.609 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.1369, allocations: 8.375 kB / 0.5594 GB, free: 1.602 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.348e-05/0.1369, allocations: 8.375 kB / 0.5594 GB, free: 1.594 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005659/0.1375, allocations: 304 kB / 0.5597 GB, free: 1.285 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.1375, allocations: 0 / 0.5597 GB, free: 1.285 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.525e-05/0.1375, allocations: 8 kB / 0.5597 GB, free: 1.277 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.634e-05/0.1375, allocations: 19.97 kB / 0.5598 GB, free: 1.258 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006142/0.1381, allocations: 295.6 kB / 0.56 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001407/0.1395, allocations: 0.7236 MB / 0.5608 GB, free: 192 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005937/0.1401, allocations: 274.2 kB / 0.561 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002298/0.1404, allocations: 96.8 kB / 0.5611 GB, free: 15.81 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.1404, allocations: 0 / 0.5611 GB, free: 15.81 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/0.1404, allocations: 34.56 kB / 0.5611 GB, free: 15.77 MB / 430.1 MB Notification: Performance of pre-optimization done (n=13): time 9.71e-07/0.1404, allocations: 0 / 0.5611 GB, free: 15.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008835/0.1413, allocations: 349.2 kB / 0.5615 GB, free: 15.42 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.826e-05/0.1414, allocations: 59.41 kB / 0.5615 GB, free: 15.35 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002435/0.1416, allocations: 226.2 kB / 0.5617 GB, free: 15.12 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.062e-05/0.1416, allocations: 29.7 kB / 0.5618 GB, free: 15.09 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.1417, allocations: 124 kB / 0.5619 GB, free: 14.96 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.001e-05/0.1418, allocations: 47.62 kB / 0.5619 GB, free: 14.91 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.5e-05/0.1419, allocations: 45.67 kB / 0.562 GB, free: 14.86 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.142, allocations: 326.8 kB / 0.5623 GB, free: 14.54 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002361/0.1423, allocations: 107.8 kB / 0.5624 GB, free: 14.43 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002574/0.1425, allocations: 129.3 kB / 0.5625 GB, free: 14.29 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005098/0.1431, allocations: 247.1 kB / 0.5628 GB, free: 14.04 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1431, allocations: 0 / 0.5628 GB, free: 14.04 MB / 430.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000631/0.1437, allocations: 304.2 kB / 0.563 GB, free: 13.74 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.1437, allocations: 4 kB / 0.563 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.1437, allocations: 0 / 0.563 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.1437, allocations: 4 kB / 0.5631 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01948/0.1632, allocations: 0.9241 MB / 0.564 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02281/0.186, allocations: 10.73 MB / 0.5744 GB, free: 1.223 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003009/0.1863, allocations: 24.06 kB / 0.5745 GB, free: 1.199 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.965e-05/0.1863, allocations: 15.98 kB / 0.5745 GB, free: 1.184 MB / 430.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.000192/0.1865, allocations: 137.8 kB / 0.5746 GB, free: 1.039 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.241e-05/0.1866, allocations: 15.84 kB / 0.5746 GB, free: 1.023 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006427/0.193, allocations: 0.6414 MB / 0.5752 GB, free: 372 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.193, allocations: 4.109 kB / 0.5753 GB, free: 368 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.193, allocations: 3.938 kB / 0.5753 GB, free: 364 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.193, allocations: 0 / 0.5753 GB, free: 364 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003693/0.1934, allocations: 273.4 kB / 0.5755 GB, free: 40 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.1934, allocations: 0 / 0.5755 GB, free: 40 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002311/0.1936, allocations: 35.97 kB / 0.5755 GB, free: 4 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004936/0.1986, allocations: 306.1 kB / 0.5758 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.84e-05/0.1986, allocations: 7.984 kB / 0.5758 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01728/0.2159, allocations: 10.31 MB / 0.5859 GB, free: 4.523 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.2159, allocations: 3.984 kB / 0.5859 GB, free: 4.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006275/0.2221, allocations: 0.6789 MB / 0.5866 GB, free: 3.816 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.665e-05/0.2222, allocations: 100.9 kB / 0.5867 GB, free: 3.699 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.281e-05/0.2223, allocations: 0 / 0.5867 GB, free: 3.699 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002491/0.2225, allocations: 15.98 kB / 0.5867 GB, free: 3.684 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001912/0.2227, allocations: 47.84 kB / 0.5867 GB, free: 3.637 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.29e-05/0.2227, allocations: 7.984 kB / 0.5868 GB, free: 3.629 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001802/0.2229, allocations: 163.2 kB / 0.5869 GB, free: 3.469 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2229, allocations: 4 kB / 0.5869 GB, free: 3.465 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006228/0.2235, allocations: 92 kB / 0.587 GB, free: 3.375 MB / 446.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.006686/0.2302, allocations: 1.222 MB / 0.5882 GB, free: 2.117 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01938/0.2496, allocations: 1.123 MB / 0.5893 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.2496, allocations: 0 / 0.5893 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00178/0.2514, allocations: 0.5215 MB / 0.5898 GB, free: 444 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003604/0.2517, allocations: 51.89 kB / 0.5898 GB, free: 392 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2518/0.5036, allocations: 2.783 MB / 0.5926 GB, free: 33.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002198/0.5038, allocations: 0.7464 MB / 0.5933 GB, free: 32.82 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001571/0.504, allocations: 50.05 kB / 0.5933 GB, free: 32.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.5041, allocations: 53.36 kB / 0.5934 GB, free: 32.81 MB / 446.1 MB Notification: Performance of SimCode: time 8.92e-07/0.5041, allocations: 0 / 0.5934 GB, free: 32.81 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04203/0.5461, allocations: 9.976 MB / 0.6031 GB, free: 31.93 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.25/12.8, allocations: 8.75 kB / 0.6031 GB, free: 31.93 MB / 446.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_4_1_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_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.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.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_turbulent_KC/kc_turbulent_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.13484234502539]