Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC,fileNamePrefix="ModelicaTest_trunk_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_trunk_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/ModelicaServices trunk/package.mo): time 0.001034/0.001034, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001077/0.001077, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.281/1.281, allocations: 227.4 MB / 246.8 MB, free: 10.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2186/0.2186, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0017/0.0017, allocations: 86.19 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1072, allocations: 62.43 MB / 480.1 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC): time 0.002736/0.11, allocations: 1.713 MB / 481.9 MB, free: 3.449 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001028/0.111, allocations: 0.7556 MB / 482.6 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.185e-05/0.1111, allocations: 0 / 482.6 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001903/0.1113, allocations: 35.81 kB / 482.6 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002227/0.1115, allocations: 63.72 kB / 482.7 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001763/0.1117, allocations: 59.75 kB / 482.8 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001799/0.1119, allocations: 159.3 kB / 482.9 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.469e-05/0.112, allocations: 17.39 kB / 482.9 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.762e-05/0.112, allocations: 63.69 kB / 483 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.1122, allocations: 71.69 kB / 483.1 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.1122, allocations: 4 kB / 483.1 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001526/0.1123, allocations: 79.86 kB / 483.2 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.352e-05/0.1124, allocations: 39.83 kB / 483.2 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.385e-05/0.1125, allocations: 63.61 kB / 483.3 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002277/0.1127, allocations: 183.6 kB / 483.4 MB, free: 1.859 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.1127, allocations: 4 kB / 483.4 MB, free: 1.855 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1127, allocations: 0 / 483.4 MB, free: 1.855 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.1128, allocations: 0 / 483.4 MB, free: 1.855 MB / 350.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.0005719/0.1133, allocations: 466.7 kB / 483.9 MB, free: 1.352 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.036e-05/0.1134, allocations: 11.97 kB / 483.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.431e-05/0.1134, allocations: 46.73 kB / 484 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005472/0.114, allocations: 80.64 kB / 484 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002013/0.1142, allocations: 234.6 kB / 484.3 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.1142, allocations: 4.375 kB / 484.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.14e-05/0.1142, allocations: 16.36 kB / 484.3 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000459/0.1147, allocations: 296.5 kB / 484.6 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.1147, allocations: 0 / 484.6 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.488e-05/0.1147, allocations: 4 kB / 484.6 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.857e-05/0.1148, allocations: 19.98 kB / 484.6 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005216/0.1153, allocations: 299.6 kB / 484.9 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001201/0.1165, allocations: 0.7082 MB / 485.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004708/0.117, allocations: 282.2 kB / 485.9 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001966/0.1172, allocations: 104.7 kB / 486 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.1172, allocations: 3.984 kB / 486 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.1173, allocations: 34.56 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.203e-06/0.1173, allocations: 0 / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007313/0.118, allocations: 352.5 kB / 486.4 MB, free: 14.76 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/0.1181, allocations: 55.41 kB / 486.4 MB, free: 14.69 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001921/0.1183, allocations: 222.3 kB / 486.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.1183, allocations: 25.7 kB / 486.7 MB, free: 14.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.685e-05/0.1184, allocations: 128.1 kB / 486.8 MB, free: 14.3 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.827e-05/0.1184, allocations: 47.23 kB / 486.8 MB, free: 14.26 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.875e-05/0.1185, allocations: 49.67 kB / 486.9 MB, free: 14.2 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.1186, allocations: 330.8 kB / 487.2 MB, free: 13.87 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002016/0.1188, allocations: 95.98 kB / 487.3 MB, free: 13.78 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002189/0.119, allocations: 133.6 kB / 487.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004486/0.1195, allocations: 247.1 kB / 487.7 MB, free: 13.38 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.1195, allocations: 0 / 487.7 MB, free: 13.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005376/0.1201, allocations: 289.2 kB / 487.9 MB, free: 13.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.1201, allocations: 16.08 kB / 488 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.1201, allocations: 0 / 488 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.1201, allocations: 0 / 488 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01916/0.1393, allocations: 0.9202 MB / 488.9 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02058/0.1599, allocations: 10.74 MB / 499.6 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003034/0.1602, allocations: 28.02 kB / 499.6 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.07e-05/0.1603, allocations: 11.98 kB / 499.7 MB, free: 0.5352 MB / 366.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.0001768/0.1605, allocations: 141.7 kB / 499.8 MB, free: 396 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.147e-05/0.1605, allocations: 15.81 kB / 499.8 MB, free: 380 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00631/0.1668, allocations: 0.6336 MB / 0.4887 GB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.1669, allocations: 0 / 0.4887 GB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.983e-06/0.1669, allocations: 0 / 0.4887 GB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.1669, allocations: 4 kB / 0.4887 GB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003332/0.1672, allocations: 273.4 kB / 0.489 GB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.1672, allocations: 0 / 0.489 GB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002324/0.1675, allocations: 35.97 kB / 0.489 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004786/0.1723, allocations: 306.1 kB / 0.4893 GB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.189e-05/0.1723, allocations: 15.97 kB / 0.4893 GB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02391/0.1962, allocations: 10.31 MB / 0.4994 GB, free: 3.875 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.1963, allocations: 0 / 0.4994 GB, free: 3.875 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009348/0.2056, allocations: 0.6833 MB / 0.5001 GB, free: 3.168 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001445/0.2058, allocations: 104.8 kB / 0.5002 GB, free: 3.047 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.241e-05/0.2059, allocations: 0 / 0.5002 GB, free: 3.047 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004077/0.2063, allocations: 11.98 kB / 0.5002 GB, free: 3.035 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000277/0.2066, allocations: 47.84 kB / 0.5002 GB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.051e-05/0.2067, allocations: 11.92 kB / 0.5002 GB, free: 2.977 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002806/0.207, allocations: 171.2 kB / 0.5004 GB, free: 2.809 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.207, allocations: 0 / 0.5004 GB, free: 2.809 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001001/0.208, allocations: 92 kB / 0.5005 GB, free: 2.719 MB / 382.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.009739/0.2178, allocations: 1.228 MB / 0.5017 GB, free: 1.461 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.02364/0.2414, allocations: 1.15 MB / 0.5028 GB, free: 316 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/0.2415, allocations: 0 / 0.5028 GB, free: 316 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.18/0.4215, allocations: 0.5174 MB / 0.5033 GB, free: 41.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004248/0.4219, allocations: 31.44 kB / 0.5033 GB, free: 41.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004835/0.4268, allocations: 2.781 MB / 0.506 GB, free: 39.74 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001837/0.427, allocations: 0.7462 MB / 0.5068 GB, free: 39.05 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001399/0.4271, allocations: 45.05 kB / 0.5068 GB, free: 39.05 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.299e-05/0.4272, allocations: 53.5 kB / 0.5069 GB, free: 39.04 MB / 382.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4272, allocations: 0.8125 kB / 0.5069 GB, free: 39.04 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0686/0.4958, allocations: 9.816 MB / 0.5165 GB, free: 37.12 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.66, allocations: 14.59 kB / 0.5165 GB, free: 37.11 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches