Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.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,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001156/0.001156, allocations: 118.8 kB / 17.78 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001256/0.001256, allocations: 197.2 kB / 18.73 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2101/0.2101, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 75.88 kB / 480.8 MB, free: 4.527 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3511/0.3524, allocations: 62.43 MB / 0.5305 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent): time 0.003146/0.3556, allocations: 1.836 MB / 0.5323 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001781/0.3574, allocations: 1.024 MB / 0.5333 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.511e-05/0.3575, allocations: 1.406 kB / 0.5333 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002646/0.3578, allocations: 49.08 kB / 0.5334 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000267/0.3581, allocations: 66.75 kB / 0.5334 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004155/0.3585, allocations: 139 kB / 0.5336 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002712/0.3588, allocations: 213.8 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.479e-05/0.3589, allocations: 19.11 kB / 0.5338 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002141/0.3591, allocations: 88.88 kB / 0.5339 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001758/0.3593, allocations: 94.09 kB / 0.534 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.895e-05/0.3593, allocations: 8.25 kB / 0.534 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002618/0.3596, allocations: 141.7 kB / 0.5341 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.015e-05/0.3597, allocations: 57.73 kB / 0.5342 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001099/0.3598, allocations: 81.59 kB / 0.5342 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004164/0.3603, allocations: 257.6 kB / 0.5345 GB, free: 10.43 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3603, allocations: 0 / 0.5345 GB, free: 10.43 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3603, allocations: 0 / 0.5345 GB, free: 10.43 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.166e-05/0.3603, allocations: 0 / 0.5345 GB, free: 10.43 MB / 398.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.001012/0.3613, allocations: 0.5214 MB / 0.535 GB, free: 9.938 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.3614, allocations: 14.19 kB / 0.535 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.647e-05/0.3614, allocations: 51.47 kB / 0.5351 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00037/0.3618, allocations: 54.42 kB / 0.5351 GB, free: 9.855 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002654/0.3621, allocations: 228.7 kB / 0.5353 GB, free: 9.617 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.3621, allocations: 13.17 kB / 0.5353 GB, free: 9.609 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.71e-05/0.3621, allocations: 8.875 kB / 0.5353 GB, free: 9.609 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005806/0.3627, allocations: 281.4 kB / 0.5356 GB, free: 9.418 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.3627, allocations: 0 / 0.5356 GB, free: 9.418 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.062e-05/0.3628, allocations: 1.062 kB / 0.5356 GB, free: 9.418 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.78e-05/0.3628, allocations: 18.47 kB / 0.5356 GB, free: 9.41 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005935/0.3634, allocations: 226.5 kB / 0.5358 GB, free: 9.312 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001217/0.3646, allocations: 0.8086 MB / 0.5366 GB, free: 8.602 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000408/0.3651, allocations: 189.7 kB / 0.5368 GB, free: 8.473 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000265/0.3653, allocations: 101.6 kB / 0.5369 GB, free: 8.414 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.752e-05/0.3654, allocations: 6.234 kB / 0.5369 GB, free: 8.41 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.3654, allocations: 36.69 kB / 0.537 GB, free: 8.367 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.513e-06/0.3654, allocations: 0 / 0.537 GB, free: 8.367 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009274/0.3664, allocations: 312.5 kB / 0.5373 GB, free: 8.219 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.079e-05/0.3664, allocations: 105.4 kB / 0.5374 GB, free: 8.094 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002979/0.3667, allocations: 263.9 kB / 0.5376 GB, free: 7.914 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.3668, allocations: 30.77 kB / 0.5376 GB, free: 7.879 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.949e-05/0.3669, allocations: 137.5 kB / 0.5378 GB, free: 7.75 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.706e-05/0.3669, allocations: 44.5 kB / 0.5378 GB, free: 7.711 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.997e-05/0.367, allocations: 35.58 kB / 0.5378 GB, free: 7.684 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.3672, allocations: 340.8 kB / 0.5382 GB, free: 7.348 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002623/0.3674, allocations: 85.75 kB / 0.5383 GB, free: 7.316 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002964/0.3677, allocations: 135.2 kB / 0.5384 GB, free: 7.227 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005229/0.3683, allocations: 230.6 kB / 0.5386 GB, free: 7.094 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.3683, allocations: 1.812 kB / 0.5386 GB, free: 7.094 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006322/0.3689, allocations: 275.4 kB / 0.5389 GB, free: 6.957 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.3689, allocations: 9.859 kB / 0.5389 GB, free: 6.953 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.668e-05/0.369, allocations: 10.84 kB / 0.5389 GB, free: 6.949 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.887e-05/0.369, allocations: 5.453 kB / 0.5389 GB, free: 6.945 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002378/0.3692, allocations: 38.12 kB / 0.5389 GB, free: 6.934 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/0.3693, allocations: 5.266 kB / 0.5389 GB, free: 6.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002022/0.3695, allocations: 31.05 kB / 0.539 GB, free: 6.914 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.511e-05/0.3695, allocations: 13.64 kB / 0.539 GB, free: 6.906 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000139/0.3696, allocations: 142.1 kB / 0.5391 GB, free: 6.773 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.184e-05/0.3697, allocations: 15.75 kB / 0.5391 GB, free: 6.766 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005271/0.3703, allocations: 227.2 kB / 0.5393 GB, free: 6.633 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/0.3703, allocations: 2.375 kB / 0.5393 GB, free: 6.633 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.3703, allocations: 0 / 0.5393 GB, free: 6.633 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.024e-06/0.3703, allocations: 5.141 kB / 0.5393 GB, free: 6.629 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004398/0.3708, allocations: 251.1 kB / 0.5396 GB, free: 6.383 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.566e-05/0.3708, allocations: 23.05 kB / 0.5396 GB, free: 6.367 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000191/0.371, allocations: 30.88 kB / 0.5396 GB, free: 6.355 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.371, allocations: 1.094 kB / 0.5396 GB, free: 6.355 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.087e-05/0.371, allocations: 3.344 kB / 0.5396 GB, free: 6.355 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.858e-06/0.371, allocations: 1.219 kB / 0.5396 GB, free: 6.355 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.3711, allocations: 1.094 kB / 0.5396 GB, free: 6.355 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007662/0.3718, allocations: 481.5 kB / 0.5401 GB, free: 5.984 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.136e-05/0.3719, allocations: 104.6 kB / 0.5402 GB, free: 5.871 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.359e-05/0.372, allocations: 10.25 kB / 0.5402 GB, free: 5.863 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002526/0.3722, allocations: 13.7 kB / 0.5402 GB, free: 5.859 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.3e-05/0.3723, allocations: 30.03 kB / 0.5403 GB, free: 5.836 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.3724, allocations: 4.469 kB / 0.5403 GB, free: 5.836 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002112/0.3726, allocations: 193.9 kB / 0.5404 GB, free: 5.711 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3726, allocations: 0 / 0.5404 GB, free: 5.711 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004698/0.3731, allocations: 67.38 kB / 0.5405 GB, free: 5.699 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00133/0.3744, allocations: 1.065 MB / 0.5415 GB, free: 4.766 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007458/0.3751, allocations: 281.7 kB / 0.5418 GB, free: 4.594 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3752, allocations: 3.938 kB / 0.5418 GB, free: 4.59 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003191/0.3755, allocations: 182.3 kB / 0.542 GB, free: 4.453 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005557/0.3761, allocations: 51.05 kB / 0.542 GB, free: 4.426 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004503/0.3806, allocations: 2.825 MB / 0.5448 GB, free: 2.316 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003719/0.381, allocations: 0.7476 MB / 0.5455 GB, free: 1.586 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001513/0.3811, allocations: 43.12 kB / 0.5456 GB, free: 1.57 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.3812, allocations: 52.56 kB / 0.5456 GB, free: 1.531 MB / 398.1 MB Notification: Performance of SimCode: time 7.92e-07/0.3813, allocations: 0 / 0.5456 GB, free: 1.531 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02436/0.4056, allocations: 6.044 MB / 0.5515 GB, free: 11.79 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.682/8.088, allocations: 13.06 kB / 0.5515 GB, free: 11.77 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_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_turbulent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches