Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_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_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008779/0.0008781, allocations: 175.1 kB / 16.72 MB, free: 5.059 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.252/1.252, allocations: 205.4 MB / 222.9 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007107/0.0007108, allocations: 108 kB / 271.2 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2948/0.2948, allocations: 43.57 MB / 363.1 MB, free: 52.08 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003496/0.0003497, allocations: 12 kB / 432.1 MB, free: 5.711 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1059, allocations: 58.85 MB / 490.9 MB, free: 10.78 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC): time 0.001876/0.1078, allocations: 1.387 MB / 492.3 MB, free: 9.379 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00108/0.1089, allocations: 0.7103 MB / 493 MB, free: 8.66 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.092e-05/0.109, allocations: 0 / 493 MB, free: 8.66 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002053/0.1092, allocations: 27.89 kB / 493.1 MB, free: 8.633 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002668/0.1095, allocations: 59.72 kB / 493.1 MB, free: 8.574 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001958/0.1097, allocations: 51.77 kB / 493.2 MB, free: 8.523 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002689/0.11, allocations: 207.3 kB / 493.4 MB, free: 8.32 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.543e-05/0.1101, allocations: 25.31 kB / 493.4 MB, free: 8.293 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.1102, allocations: 51.78 kB / 493.5 MB, free: 8.242 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001515/0.1103, allocations: 83.72 kB / 493.5 MB, free: 8.16 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.972e-05/0.1104, allocations: 4 kB / 493.5 MB, free: 8.156 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001642/0.1105, allocations: 67.83 kB / 493.6 MB, free: 8.09 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.375e-05/0.1106, allocations: 47.86 kB / 493.7 MB, free: 8.043 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.424e-05/0.1107, allocations: 85.31 kB / 493.7 MB, free: 7.953 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002178/0.1109, allocations: 123.9 kB / 493.9 MB, free: 7.832 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.111, allocations: 0 / 493.9 MB, free: 7.832 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.111, allocations: 0 / 493.9 MB, free: 7.832 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.111, allocations: 0 / 493.9 MB, free: 7.832 MB / 378.7 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.000669/0.1116, allocations: 446.8 kB / 494.3 MB, free: 7.348 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.1117, allocations: 8.031 kB / 494.3 MB, free: 7.34 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.811e-05/0.1118, allocations: 54.72 kB / 494.4 MB, free: 7.277 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006149/0.1124, allocations: 80.64 kB / 494.4 MB, free: 7.199 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002614/0.1127, allocations: 224 kB / 494.7 MB, free: 6.941 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.851e-05/0.1127, allocations: 16.36 kB / 494.7 MB, free: 6.926 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.175e-05/0.1127, allocations: 8.375 kB / 494.7 MB, free: 6.918 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005402/0.1133, allocations: 300 kB / 495 MB, free: 6.613 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.1133, allocations: 4 kB / 495 MB, free: 6.609 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.71e-05/0.1133, allocations: 8 kB / 495 MB, free: 6.602 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.211e-05/0.1134, allocations: 15.98 kB / 495 MB, free: 6.586 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005582/0.1139, allocations: 307.6 kB / 495.3 MB, free: 6.285 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001385/0.1153, allocations: 0.7198 MB / 496 MB, free: 5.508 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005078/0.1159, allocations: 286.2 kB / 496.3 MB, free: 5.219 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001997/0.1161, allocations: 100.8 kB / 496.4 MB, free: 5.117 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.838e-05/0.1161, allocations: 7.984 kB / 496.4 MB, free: 5.109 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.1161, allocations: 42.55 kB / 496.4 MB, free: 5.059 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.713e-06/0.1162, allocations: 0 / 496.4 MB, free: 5.059 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007945/0.117, allocations: 357.2 kB / 496.8 MB, free: 4.703 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/0.117, allocations: 59.34 kB / 496.9 MB, free: 4.633 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002158/0.1172, allocations: 222.3 kB / 497.1 MB, free: 4.406 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.1173, allocations: 29.7 kB / 497.1 MB, free: 4.371 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.313e-05/0.1173, allocations: 119.9 kB / 497.2 MB, free: 4.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.015e-05/0.1174, allocations: 47.39 kB / 497.3 MB, free: 4.203 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.622e-05/0.1174, allocations: 0 / 497.3 MB, free: 4.203 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.1175, allocations: 326.8 kB / 497.6 MB, free: 3.875 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002169/0.1178, allocations: 107.9 kB / 497.7 MB, free: 3.77 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002226/0.118, allocations: 135.1 kB / 497.8 MB, free: 3.629 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004805/0.1185, allocations: 263.6 kB / 498.1 MB, free: 3.359 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.1185, allocations: 0 / 498.1 MB, free: 3.359 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005882/0.1191, allocations: 297.2 kB / 498.4 MB, free: 3.062 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.1191, allocations: 8 kB / 498.4 MB, free: 3.055 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.1191, allocations: 0 / 498.4 MB, free: 3.055 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.1191, allocations: 0 / 498.4 MB, free: 3.055 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0203/0.1394, allocations: 0.9124 MB / 499.3 MB, free: 2.141 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.187/0.3265, allocations: 9.906 MB / 0.4973 GB, free: 36.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003056/0.3269, allocations: 29.88 kB / 0.4973 GB, free: 36.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.257e-05/0.3269, allocations: 12.45 kB / 0.4973 GB, free: 36.23 MB / 378.7 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 (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001374/0.327, allocations: 136.8 kB / 0.4974 GB, free: 36.11 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.806e-05/0.3271, allocations: 21.05 kB / 0.4974 GB, free: 36.11 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006173/0.3333, allocations: 0.6314 MB / 0.4981 GB, free: 36.05 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.3333, allocations: 3.047 kB / 0.4981 GB, free: 36.05 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.3333, allocations: 1.625 kB / 0.4981 GB, free: 36.05 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.3333, allocations: 0.75 kB / 0.4981 GB, free: 36.05 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003107/0.3336, allocations: 277.9 kB / 0.4983 GB, free: 35.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.3337, allocations: 0 / 0.4983 GB, free: 35.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000224/0.3339, allocations: 42.36 kB / 0.4984 GB, free: 35.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006789/0.3407, allocations: 416.9 kB / 0.4988 GB, free: 35.82 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.196e-05/0.3407, allocations: 16.19 kB / 0.4988 GB, free: 35.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01253/0.3533, allocations: 9.509 MB / 0.5081 GB, free: 27.95 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.3533, allocations: 1.594 kB / 0.5081 GB, free: 27.95 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005847/0.3592, allocations: 0.6678 MB / 0.5087 GB, free: 27.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.952e-05/0.3592, allocations: 107 kB / 0.5088 GB, free: 27.66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.217e-05/0.3593, allocations: 3.875 kB / 0.5088 GB, free: 27.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002358/0.3595, allocations: 11.62 kB / 0.5088 GB, free: 27.66 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002038/0.3597, allocations: 45.08 kB / 0.5089 GB, free: 27.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.593e-05/0.3598, allocations: 15.47 kB / 0.5089 GB, free: 27.65 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001377/0.3599, allocations: 165.9 kB / 0.5091 GB, free: 27.58 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3599, allocations: 0 / 0.5091 GB, free: 27.58 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005566/0.3605, allocations: 100.8 kB / 0.5092 GB, free: 27.57 MB / 378.7 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 (linear and non-linear blocks): 3 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.006013/0.3665, allocations: 1.217 MB / 0.5103 GB, free: 26.86 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01722/0.3837, allocations: 1.054 MB / 0.5114 GB, free: 26.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.3838, allocations: 0 / 0.5114 GB, free: 26.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001613/0.3854, allocations: 0.5278 MB / 0.5119 GB, free: 26.51 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003698/0.3858, allocations: 35.2 kB / 0.5119 GB, free: 26.51 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003301/0.3891, allocations: 1.635 MB / 0.5135 GB, free: 25.97 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001431/0.3893, allocations: 0.7454 MB / 0.5142 GB, free: 25.27 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.637e-05/0.3893, allocations: 44.2 kB / 0.5143 GB, free: 25.26 MB / 378.7 MB Notification: Performance of SimCode: time 4.21e-07/0.3893, allocations: 0 / 0.5143 GB, free: 25.26 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.111/4.5, allocations: 7.655 MB / 0.5218 GB, free: 24.88 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_turbulent_KC/kc_turbulent_KC.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches