Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001371/0.001371, allocations: 198.3 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.224/1.224, allocations: 226.5 MB / 243.4 MB, free: 6.375 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007195/0.0007195, allocations: 92.31 kB / 295.4 MB, free: 6.652 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2873/0.2873, allocations: 44.82 MB / 392.3 MB, free: 35.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002615/0.0002615, allocations: 8 kB / 465.4 MB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2925, allocations: 62.96 MB / 0.516 GB, free: 37.12 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC): time 0.001442/0.294, allocations: 1.399 MB / 0.5173 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007956/0.2948, allocations: 0.6884 MB / 0.518 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.298e-05/0.2949, allocations: 3.938 kB / 0.518 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001708/0.2951, allocations: 33.19 kB / 0.5181 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002004/0.2953, allocations: 63.09 kB / 0.5181 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001418/0.2954, allocations: 41.25 kB / 0.5182 GB, free: 35.56 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000189/0.2956, allocations: 208.2 kB / 0.5183 GB, free: 35.49 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.282e-05/0.2957, allocations: 18.81 kB / 0.5184 GB, free: 35.48 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.028e-05/0.2957, allocations: 52.14 kB / 0.5184 GB, free: 35.46 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.2959, allocations: 86.95 kB / 0.5185 GB, free: 35.43 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.2959, allocations: 2.969 kB / 0.5185 GB, free: 35.43 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001301/0.296, allocations: 73.58 kB / 0.5186 GB, free: 35.4 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.775e-05/0.2961, allocations: 44.72 kB / 0.5186 GB, free: 35.39 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.609e-05/0.2961, allocations: 80.58 kB / 0.5187 GB, free: 35.33 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001491/0.2963, allocations: 132 kB / 0.5188 GB, free: 35.29 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2963, allocations: 2.438 kB / 0.5188 GB, free: 35.29 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.2963, allocations: 0 / 0.5188 GB, free: 35.29 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.2963, allocations: 0 / 0.5188 GB, free: 35.29 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.0004814/0.2968, allocations: 435.1 kB / 0.5192 GB, free: 34.88 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.2968, allocations: 16.56 kB / 0.5193 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.254e-05/0.2969, allocations: 43.89 kB / 0.5193 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005318/0.2974, allocations: 83.27 kB / 0.5194 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.2976, allocations: 229.7 kB / 0.5196 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.2976, allocations: 7.156 kB / 0.5196 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.716e-05/0.2977, allocations: 10.98 kB / 0.5196 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004296/0.2981, allocations: 310.8 kB / 0.5199 GB, free: 34.47 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.2981, allocations: 0 / 0.5199 GB, free: 34.47 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.047e-05/0.2981, allocations: 2.938 kB / 0.5199 GB, free: 34.47 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.648e-05/0.2982, allocations: 23.16 kB / 0.5199 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004685/0.2986, allocations: 309.1 kB / 0.5202 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001068/0.2997, allocations: 0.7188 MB / 0.5209 GB, free: 33.94 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004107/0.3001, allocations: 282.5 kB / 0.5212 GB, free: 33.89 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001753/0.3003, allocations: 105.8 kB / 0.5213 GB, free: 33.87 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.3004, allocations: 6.812 kB / 0.5213 GB, free: 33.86 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.195e-05/0.3004, allocations: 34.56 kB / 0.5213 GB, free: 33.82 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.132e-06/0.3004, allocations: 0 / 0.5213 GB, free: 33.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006774/0.3011, allocations: 363.1 kB / 0.5217 GB, free: 33.74 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.765e-05/0.3011, allocations: 51.41 kB / 0.5217 GB, free: 33.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.3013, allocations: 231.9 kB / 0.522 GB, free: 33.55 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.3013, allocations: 25.7 kB / 0.522 GB, free: 33.52 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.674e-05/0.3013, allocations: 119.8 kB / 0.5221 GB, free: 33.41 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.047e-05/0.3014, allocations: 48.28 kB / 0.5221 GB, free: 33.37 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.473e-05/0.3014, allocations: 3.938 kB / 0.5221 GB, free: 33.37 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.572e-05/0.3014, allocations: 327.6 kB / 0.5225 GB, free: 33.05 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001821/0.3016, allocations: 103.3 kB / 0.5226 GB, free: 33.04 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002081/0.3018, allocations: 143.9 kB / 0.5227 GB, free: 32.98 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003975/0.3022, allocations: 250.9 kB / 0.5229 GB, free: 32.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3023, allocations: 0 / 0.5229 GB, free: 32.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004837/0.3027, allocations: 302.1 kB / 0.5232 GB, free: 32.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.3028, allocations: 8.672 kB / 0.5232 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.3028, allocations: 2.781 kB / 0.5232 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.3028, allocations: 2.969 kB / 0.5232 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01856/0.3214, allocations: 0.9081 MB / 0.5241 GB, free: 32.81 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01729/0.3387, allocations: 9.916 MB / 0.5338 GB, free: 24.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002966/0.339, allocations: 26.8 kB / 0.5338 GB, free: 24.44 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.395e-05/0.339, allocations: 9.156 kB / 0.5338 GB, free: 24.44 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.0001145/0.3392, allocations: 139.3 kB / 0.534 GB, free: 24.31 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.12e-05/0.3392, allocations: 20.41 kB / 0.534 GB, free: 24.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005943/0.3452, allocations: 0.6263 MB / 0.5346 GB, free: 24.16 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.3452, allocations: 0 / 0.5346 GB, free: 24.16 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.3452, allocations: 0 / 0.5346 GB, free: 24.16 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.3452, allocations: 14.16 kB / 0.5346 GB, free: 24.16 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002844/0.3455, allocations: 265.2 kB / 0.5349 GB, free: 23.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.3455, allocations: 0 / 0.5349 GB, free: 23.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000217/0.3457, allocations: 39.98 kB / 0.5349 GB, free: 23.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006696/0.3524, allocations: 414.1 kB / 0.5353 GB, free: 23.89 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.685e-05/0.3525, allocations: 12.62 kB / 0.5353 GB, free: 23.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01286/0.3654, allocations: 9.521 MB / 0.5446 GB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.3654, allocations: 4.062 kB / 0.5446 GB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006094/0.3715, allocations: 0.6763 MB / 0.5453 GB, free: 15.47 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.487e-05/0.3716, allocations: 94.81 kB / 0.5454 GB, free: 15.37 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.049e-05/0.3717, allocations: 14.56 kB / 0.5454 GB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002359/0.3719, allocations: 8.156 kB / 0.5454 GB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002172/0.3721, allocations: 42.3 kB / 0.5454 GB, free: 15.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.48e-05/0.3722, allocations: 10.27 kB / 0.5454 GB, free: 15.35 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001311/0.3723, allocations: 173.2 kB / 0.5456 GB, free: 15.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3723, allocations: 0 / 0.5456 GB, free: 15.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005253/0.3729, allocations: 95.94 kB / 0.5457 GB, free: 15.24 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.006165/0.379, allocations: 1.223 MB / 0.5469 GB, free: 14.47 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01791/0.397, allocations: 1.059 MB / 0.5479 GB, free: 14.42 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/0.397, allocations: 0 / 0.5479 GB, free: 14.42 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001746/0.3987, allocations: 0.5289 MB / 0.5484 GB, free: 14.06 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000384/0.3992, allocations: 34.5 kB / 0.5485 GB, free: 14.05 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003928/0.4031, allocations: 1.62 MB / 0.5501 GB, free: 13.32 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001927/0.4033, allocations: 0.7391 MB / 0.5508 GB, free: 12.62 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.962e-05/0.4034, allocations: 46.88 kB / 0.5508 GB, free: 12.59 MB / 378.7 MB Notification: Performance of SimCode: time 6.51e-07/0.4034, allocations: 3.938 kB / 0.5508 GB, free: 12.59 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.243/4.647, allocations: 7.661 MB / 0.5583 GB, free: 8.645 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches