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.001355/0.001355, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002355/0.002355, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.41/1.41, 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.2294/0.2294, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 79.88 kB / 480.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.348, allocations: 62.44 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent): time 0.003043/0.3511, allocations: 1.827 MB / 0.5323 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001571/0.3527, allocations: 1.027 MB / 0.5333 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.381e-05/0.3528, allocations: 2.688 kB / 0.5333 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002367/0.353, allocations: 44.02 kB / 0.5334 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002182/0.3533, allocations: 70.94 kB / 0.5334 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003778/0.3537, allocations: 140.9 kB / 0.5336 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002762/0.3539, allocations: 211.2 kB / 0.5338 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.14e-05/0.354, allocations: 15.44 kB / 0.5338 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001801/0.3542, allocations: 88.78 kB / 0.5339 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001616/0.3544, allocations: 105.8 kB / 0.534 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.67e-05/0.3544, allocations: 8.312 kB / 0.534 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002539/0.3547, allocations: 138.6 kB / 0.5341 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.3e-05/0.3547, allocations: 53.28 kB / 0.5342 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.284e-05/0.3548, allocations: 81.66 kB / 0.5342 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003487/0.3552, allocations: 260.2 kB / 0.5345 GB, free: 10.44 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.3552, allocations: 0 / 0.5345 GB, free: 10.44 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3552, allocations: 1.375 kB / 0.5345 GB, free: 10.44 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.3552, allocations: 0 / 0.5345 GB, free: 10.44 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.001001/0.3562, allocations: 0.5247 MB / 0.535 GB, free: 9.945 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.3563, allocations: 13.62 kB / 0.535 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.337e-05/0.3563, allocations: 48.23 kB / 0.5351 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003468/0.3567, allocations: 54.86 kB / 0.5351 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002825/0.357, allocations: 224.7 kB / 0.5353 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.357, allocations: 12.67 kB / 0.5353 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.961e-05/0.357, allocations: 16.61 kB / 0.5354 GB, free: 9.617 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005131/0.3575, allocations: 269.1 kB / 0.5356 GB, free: 9.438 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.3576, allocations: 5 kB / 0.5356 GB, free: 9.434 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.963e-05/0.3576, allocations: 5.031 kB / 0.5356 GB, free: 9.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.97e-05/0.3576, allocations: 14.34 kB / 0.5356 GB, free: 9.426 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005686/0.3582, allocations: 225.3 kB / 0.5358 GB, free: 9.328 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00111/0.3593, allocations: 0.8099 MB / 0.5366 GB, free: 8.617 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003869/0.3597, allocations: 185.2 kB / 0.5368 GB, free: 8.492 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002583/0.36, allocations: 102 kB / 0.5369 GB, free: 8.434 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.963e-05/0.36, allocations: 14.52 kB / 0.5369 GB, free: 8.422 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.3601, allocations: 31.94 kB / 0.537 GB, free: 8.383 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.633e-06/0.3601, allocations: 0 / 0.537 GB, free: 8.383 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009508/0.361, allocations: 324.7 kB / 0.5373 GB, free: 8.223 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.117e-05/0.3611, allocations: 104.2 kB / 0.5374 GB, free: 8.098 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002597/0.3614, allocations: 260.8 kB / 0.5376 GB, free: 7.922 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.3614, allocations: 26.45 kB / 0.5376 GB, free: 7.891 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.3615, allocations: 137.9 kB / 0.5378 GB, free: 7.762 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.169e-05/0.3616, allocations: 31.41 kB / 0.5378 GB, free: 7.734 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.924e-05/0.3617, allocations: 44.31 kB / 0.5378 GB, free: 7.699 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.3618, allocations: 332.5 kB / 0.5382 GB, free: 7.371 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002658/0.3621, allocations: 90.89 kB / 0.5382 GB, free: 7.336 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003053/0.3624, allocations: 144.5 kB / 0.5384 GB, free: 7.234 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005326/0.3629, allocations: 222.4 kB / 0.5386 GB, free: 7.109 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.3629, allocations: 0 / 0.5386 GB, free: 7.109 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006737/0.3636, allocations: 284.8 kB / 0.5389 GB, free: 6.965 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.3636, allocations: 5.594 kB / 0.5389 GB, free: 6.965 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.377e-05/0.3637, allocations: 7.031 kB / 0.5389 GB, free: 6.965 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.3637, allocations: 1.562 kB / 0.5389 GB, free: 6.965 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002275/0.3639, allocations: 41.39 kB / 0.5389 GB, free: 6.949 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.3639, allocations: 3.438 kB / 0.5389 GB, free: 6.949 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002047/0.3641, allocations: 29.66 kB / 0.539 GB, free: 6.934 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.575e-05/0.3642, allocations: 15.19 kB / 0.539 GB, free: 6.926 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.0001171/0.3643, allocations: 149.5 kB / 0.5391 GB, free: 6.785 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.914e-05/0.3644, allocations: 16.72 kB / 0.5391 GB, free: 6.777 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004782/0.3649, allocations: 225.5 kB / 0.5393 GB, free: 6.645 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.3649, allocations: 6.172 kB / 0.5393 GB, free: 6.641 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.3649, allocations: 1.25 kB / 0.5393 GB, free: 6.641 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.3649, allocations: 1.688 kB / 0.5393 GB, free: 6.641 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003767/0.3653, allocations: 258.6 kB / 0.5396 GB, free: 6.387 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-05/0.3653, allocations: 9.156 kB / 0.5396 GB, free: 6.383 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00018/0.3655, allocations: 35.92 kB / 0.5396 GB, free: 6.367 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.3655, allocations: 5.094 kB / 0.5396 GB, free: 6.363 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.3655, allocations: 3.344 kB / 0.5396 GB, free: 6.363 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.3655, allocations: 5.094 kB / 0.5397 GB, free: 6.359 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.3655, allocations: 1.25 kB / 0.5397 GB, free: 6.359 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006833/0.3662, allocations: 480.9 kB / 0.5401 GB, free: 5.988 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.954e-05/0.3663, allocations: 101.5 kB / 0.5402 GB, free: 5.879 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.621e-05/0.3664, allocations: 5.109 kB / 0.5402 GB, free: 5.875 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002545/0.3666, allocations: 13.8 kB / 0.5402 GB, free: 5.871 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.714e-05/0.3667, allocations: 23.02 kB / 0.5402 GB, free: 5.855 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.186e-05/0.3668, allocations: 12.02 kB / 0.5403 GB, free: 5.848 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000192/0.3669, allocations: 189.3 kB / 0.5404 GB, free: 5.727 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.615e-06/0.367, allocations: 1.406 kB / 0.5404 GB, free: 5.727 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004413/0.3674, allocations: 74.36 kB / 0.5405 GB, free: 5.707 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.001139/0.3686, allocations: 1.053 MB / 0.5415 GB, free: 4.785 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006826/0.3692, allocations: 285.2 kB / 0.5418 GB, free: 4.609 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3693, allocations: 8 kB / 0.5418 GB, free: 4.602 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003177/0.3696, allocations: 183.1 kB / 0.542 GB, free: 4.465 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005264/0.3701, allocations: 43.56 kB / 0.542 GB, free: 4.441 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003899/0.374, allocations: 2.824 MB / 0.5448 GB, free: 2.332 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000329/0.3744, allocations: 0.7437 MB / 0.5455 GB, free: 1.605 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001284/0.3745, allocations: 39.89 kB / 0.5456 GB, free: 1.594 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.336e-05/0.3746, allocations: 52.05 kB / 0.5456 GB, free: 1.555 MB / 398.1 MB Notification: Performance of SimCode: time 4.3e-07/0.3746, allocations: 0 / 0.5456 GB, free: 1.555 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02156/0.3962, allocations: 6.048 MB / 0.5515 GB, free: 11.81 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.751/8.148, allocations: 21 kB / 0.5515 GB, free: 11.79 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