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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 109.5 kB / 17.78 MB, free: 5.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 188 kB / 18.71 MB, free: 4.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 222.9 MB / 242.4 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2041/0.2041, allocations: 44.18 MB / 336.7 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 59.91 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3747/0.3761, allocations: 60.83 MB / 0.5184 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC): time 0.002574/0.3787, allocations: 1.691 MB / 0.5201 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001075/0.3798, allocations: 0.7247 MB / 0.5208 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.398e-05/0.3798, allocations: 1.125 kB / 0.5208 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000242/0.3801, allocations: 30.22 kB / 0.5208 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000272/0.3804, allocations: 71.34 kB / 0.5209 GB, free: 1.586 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002034/0.3806, allocations: 65.64 kB / 0.521 GB, free: 1.555 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002608/0.3809, allocations: 155.7 kB / 0.5211 GB, free: 1.492 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.395e-05/0.3809, allocations: 10.2 kB / 0.5211 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.56e-05/0.381, allocations: 56.25 kB / 0.5212 GB, free: 1.465 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.3812, allocations: 81.8 kB / 0.5212 GB, free: 1.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.3812, allocations: 4.531 kB / 0.5213 GB, free: 1.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000179/0.3814, allocations: 69.33 kB / 0.5213 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.03e-05/0.3815, allocations: 51.38 kB / 0.5214 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.281e-05/0.3816, allocations: 65.05 kB / 0.5214 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003148/0.3819, allocations: 179.4 kB / 0.5216 GB, free: 1.285 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3819, allocations: 0.6094 kB / 0.5216 GB, free: 1.285 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3819, allocations: 0 / 0.5216 GB, free: 1.285 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.3819, allocations: 1.031 kB / 0.5216 GB, free: 1.285 MB / 382.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.0006439/0.3826, allocations: 458 kB / 0.522 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.3826, allocations: 9.25 kB / 0.522 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.269e-05/0.3827, allocations: 52.34 kB / 0.5221 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005999/0.3833, allocations: 79.34 kB / 0.5222 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002366/0.3835, allocations: 223.6 kB / 0.5224 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.3835, allocations: 12.69 kB / 0.5224 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.599e-05/0.3836, allocations: 15.03 kB / 0.5224 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005523/0.3841, allocations: 302.5 kB / 0.5227 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.3842, allocations: 1.062 kB / 0.5227 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.558e-05/0.3842, allocations: 5.797 kB / 0.5227 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.736e-05/0.3842, allocations: 16.2 kB / 0.5227 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006344/0.3849, allocations: 294.9 kB / 0.523 GB, free: 400 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00159/0.3865, allocations: 0.7146 MB / 0.5237 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006509/0.3871, allocations: 288.4 kB / 0.524 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002759/0.3874, allocations: 104.2 kB / 0.5241 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.916e-05/0.3875, allocations: 6.469 kB / 0.5241 GB, free: 15.83 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.84e-05/0.3875, allocations: 32.64 kB / 0.5241 GB, free: 15.79 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.543e-06/0.3875, allocations: 0 / 0.5241 GB, free: 15.79 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009526/0.3885, allocations: 342.6 kB / 0.5244 GB, free: 15.72 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/0.3885, allocations: 54.67 kB / 0.5245 GB, free: 15.66 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000234/0.3888, allocations: 226.3 kB / 0.5247 GB, free: 15.53 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/0.3888, allocations: 31.02 kB / 0.5247 GB, free: 15.49 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.338e-05/0.3889, allocations: 119.7 kB / 0.5249 GB, free: 15.38 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.014e-05/0.389, allocations: 49.7 kB / 0.5249 GB, free: 15.35 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/0.3891, allocations: 46.08 kB / 0.5249 GB, free: 15.32 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.3893, allocations: 331.6 kB / 0.5253 GB, free: 15 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002435/0.3895, allocations: 98.23 kB / 0.5254 GB, free: 14.99 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002524/0.3898, allocations: 130.1 kB / 0.5255 GB, free: 14.95 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004953/0.3903, allocations: 252.2 kB / 0.5257 GB, free: 14.83 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3903, allocations: 5.031 kB / 0.5257 GB, free: 14.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006431/0.3909, allocations: 286.7 kB / 0.526 GB, free: 14.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.391, allocations: 5.312 kB / 0.526 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.391, allocations: 1.125 kB / 0.526 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.49e-05/0.391, allocations: 1.328 kB / 0.526 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01891/0.4099, allocations: 0.9328 MB / 0.5269 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0209/0.4309, allocations: 10.73 MB / 0.5374 GB, free: 4.176 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003441/0.4313, allocations: 19.98 kB / 0.5374 GB, free: 4.164 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.274e-05/0.4313, allocations: 9.797 kB / 0.5374 GB, free: 4.16 MB / 398.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.0002046/0.4315, allocations: 141.6 kB / 0.5376 GB, free: 4.027 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.317e-05/0.4316, allocations: 15.47 kB / 0.5376 GB, free: 4.02 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006296/0.4379, allocations: 0.6337 MB / 0.5382 GB, free: 3.668 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.4379, allocations: 6.125 kB / 0.5382 GB, free: 3.664 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.4379, allocations: 4 kB / 0.5382 GB, free: 3.66 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.4379, allocations: 1.094 kB / 0.5382 GB, free: 3.66 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004092/0.4384, allocations: 275.8 kB / 0.5385 GB, free: 3.398 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.4384, allocations: 3.984 kB / 0.5385 GB, free: 3.395 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002347/0.4386, allocations: 33.03 kB / 0.5385 GB, free: 3.387 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00487/0.4435, allocations: 305.5 kB / 0.5388 GB, free: 3.234 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.209e-05/0.4436, allocations: 10.05 kB / 0.5388 GB, free: 3.227 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0159/0.4595, allocations: 10.29 MB / 0.5489 GB, free: 9.484 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.4595, allocations: 0 / 0.5489 GB, free: 9.484 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006276/0.4658, allocations: 0.6832 MB / 0.5495 GB, free: 9.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/0.4659, allocations: 103.4 kB / 0.5496 GB, free: 8.957 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.334e-05/0.466, allocations: 1.281 kB / 0.5496 GB, free: 8.957 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002523/0.4663, allocations: 13.33 kB / 0.5496 GB, free: 8.949 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001854/0.4665, allocations: 49.19 kB / 0.5497 GB, free: 8.914 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.531e-05/0.4665, allocations: 9.672 kB / 0.5497 GB, free: 8.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001665/0.4667, allocations: 180.6 kB / 0.5499 GB, free: 8.781 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4667, allocations: 0 / 0.5499 GB, free: 8.781 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006572/0.4673, allocations: 89.19 kB / 0.55 GB, free: 8.777 MB / 414.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.006698/0.474, allocations: 1.224 MB / 0.5511 GB, free: 7.836 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01927/0.4933, allocations: 1.127 MB / 0.5522 GB, free: 7.309 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.4934, allocations: 3.938 kB / 0.5523 GB, free: 7.305 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001831/0.4952, allocations: 0.5308 MB / 0.5528 GB, free: 6.844 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004334/0.4957, allocations: 35.92 kB / 0.5528 GB, free: 6.809 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00516/0.5008, allocations: 2.785 MB / 0.5555 GB, free: 3.926 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.5011, allocations: 0.744 MB / 0.5563 GB, free: 3.156 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001391/0.5013, allocations: 49.5 kB / 0.5563 GB, free: 3.109 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001/0.5014, allocations: 51.41 kB / 0.5563 GB, free: 3.059 MB / 414.1 MB Notification: Performance of SimCode: time 8.21e-07/0.5014, allocations: 4 kB / 0.5564 GB, free: 3.055 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03395/0.5354, allocations: 10.12 MB / 0.5662 GB, free: 9.176 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.93, allocations: 19.77 kB / 0.5663 GB, free: 9.156 MB / 430.1 MB (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 --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) 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) Reference file matches