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.001365/0.001365, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001557/0.001556, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.405/1.405, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2286/0.2286, allocations: 46.12 MB / 344.4 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002363/0.002363, allocations: 79.88 kB / 480.9 MB, free: 4.469 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3598/0.3621, allocations: 62.45 MB / 0.5306 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC): time 0.002949/0.3651, allocations: 1.705 MB / 0.5323 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001215/0.3664, allocations: 0.7608 MB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.575e-05/0.3664, allocations: 0 / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002459/0.3667, allocations: 39.88 kB / 0.5331 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002578/0.367, allocations: 61.62 kB / 0.5332 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002112/0.3672, allocations: 60.38 kB / 0.5332 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002176/0.3674, allocations: 153.6 kB / 0.5334 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.719e-05/0.3675, allocations: 21.58 kB / 0.5334 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.136e-05/0.3676, allocations: 55.27 kB / 0.5334 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001417/0.3677, allocations: 79.28 kB / 0.5335 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.242e-05/0.3678, allocations: 4.125 kB / 0.5335 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001725/0.3679, allocations: 79.38 kB / 0.5336 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.332e-05/0.368, allocations: 42.5 kB / 0.5336 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.908e-05/0.3681, allocations: 69.45 kB / 0.5337 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002992/0.3684, allocations: 173.6 kB / 0.5339 GB, free: 10.94 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.3684, allocations: 1.25 kB / 0.5339 GB, free: 10.94 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3684, allocations: 0 / 0.5339 GB, free: 10.94 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.3685, allocations: 3.938 kB / 0.5339 GB, free: 10.94 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.0006764/0.3691, allocations: 474.4 kB / 0.5343 GB, free: 10.48 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.3692, allocations: 9.938 kB / 0.5343 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.634e-05/0.3692, allocations: 48.27 kB / 0.5344 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005815/0.3698, allocations: 82.55 kB / 0.5344 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/0.3701, allocations: 227.6 kB / 0.5347 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.3701, allocations: 5.031 kB / 0.5347 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.152e-05/0.3701, allocations: 14.61 kB / 0.5347 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000541/0.3707, allocations: 301.3 kB / 0.535 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.3707, allocations: 1.094 kB / 0.535 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.436e-05/0.3707, allocations: 5.156 kB / 0.535 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.54e-05/0.3708, allocations: 20.98 kB / 0.535 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005505/0.3713, allocations: 289.3 kB / 0.5353 GB, free: 9.805 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001304/0.3727, allocations: 0.721 MB / 0.536 GB, free: 9.215 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005072/0.3732, allocations: 278.2 kB / 0.5362 GB, free: 9.082 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002211/0.3734, allocations: 98.7 kB / 0.5363 GB, free: 9.035 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.3734, allocations: 6.203 kB / 0.5363 GB, free: 9.031 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.3735, allocations: 35.69 kB / 0.5364 GB, free: 8.988 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.3735, allocations: 4 kB / 0.5364 GB, free: 8.984 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.000806/0.3743, allocations: 350.4 kB / 0.5367 GB, free: 8.812 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/0.3743, allocations: 52.34 kB / 0.5368 GB, free: 8.75 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000242/0.3746, allocations: 224.6 kB / 0.537 GB, free: 8.594 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.674e-05/0.3746, allocations: 26.95 kB / 0.537 GB, free: 8.562 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.485e-05/0.3747, allocations: 123.5 kB / 0.5371 GB, free: 8.445 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.932e-05/0.3748, allocations: 46.03 kB / 0.5372 GB, free: 8.406 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.383e-05/0.3749, allocations: 53.42 kB / 0.5372 GB, free: 8.363 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.375, allocations: 328 kB / 0.5375 GB, free: 8.039 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002243/0.3753, allocations: 97.25 kB / 0.5376 GB, free: 8 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002487/0.3755, allocations: 137.8 kB / 0.5378 GB, free: 7.914 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004933/0.376, allocations: 243.1 kB / 0.538 GB, free: 7.789 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.376, allocations: 0 / 0.538 GB, free: 7.789 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005917/0.3766, allocations: 294.5 kB / 0.5383 GB, free: 7.641 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.3767, allocations: 9.594 kB / 0.5383 GB, free: 7.637 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3767, allocations: 1.094 kB / 0.5383 GB, free: 7.637 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.3767, allocations: 2.188 kB / 0.5383 GB, free: 7.637 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01854/0.3952, allocations: 0.9243 MB / 0.5392 GB, free: 7.191 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02642/0.4217, allocations: 10.74 MB / 0.5497 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003221/0.4221, allocations: 19.91 kB / 0.5497 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.613e-05/0.4221, allocations: 16.14 kB / 0.5497 GB, free: 13.06 MB / 414.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.0002788/0.4224, allocations: 145.7 kB / 0.5498 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.439e-05/0.4224, allocations: 15.91 kB / 0.5499 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006264/0.4287, allocations: 0.6328 MB / 0.5505 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.497e-06/0.4288, allocations: 7.938 kB / 0.5505 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.4288, allocations: 0 / 0.5505 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.4288, allocations: 3.984 kB / 0.5505 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004546/0.4293, allocations: 273.5 kB / 0.5507 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.4293, allocations: 0 / 0.5507 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002364/0.4295, allocations: 35.91 kB / 0.5508 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004681/0.4342, allocations: 310.1 kB / 0.5511 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.831e-05/0.4343, allocations: 11.98 kB / 0.5511 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01699/0.4513, allocations: 10.3 MB / 0.5612 GB, free: 412 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.4513, allocations: 8.203 kB / 0.5612 GB, free: 404 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006124/0.4574, allocations: 0.673 MB / 0.5618 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/0.4576, allocations: 100.9 kB / 0.5619 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.699e-05/0.4577, allocations: 8 kB / 0.5619 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002429/0.4579, allocations: 11.98 kB / 0.5619 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001747/0.4581, allocations: 51.78 kB / 0.562 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.26e-05/0.4581, allocations: 7.984 kB / 0.562 GB, free: 15.5 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001834/0.4583, allocations: 171.2 kB / 0.5622 GB, free: 15.33 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4583, allocations: 0 / 0.5622 GB, free: 15.33 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005906/0.4589, allocations: 92 kB / 0.5622 GB, free: 15.24 MB / 430.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.006474/0.4654, allocations: 1.229 MB / 0.5634 GB, free: 13.98 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0186/0.484, allocations: 1.123 MB / 0.5645 GB, free: 12.86 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/0.4841, allocations: 0 / 0.5645 GB, free: 12.86 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001832/0.4859, allocations: 0.5375 MB / 0.5651 GB, free: 12.28 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003882/0.4863, allocations: 31.97 kB / 0.5651 GB, free: 12.25 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005222/0.4915, allocations: 2.8 MB / 0.5678 GB, free: 9.352 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003796/0.4919, allocations: 0.7478 MB / 0.5686 GB, free: 8.578 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001344/0.4921, allocations: 53.5 kB / 0.5686 GB, free: 8.527 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.67e-05/0.4922, allocations: 47.42 kB / 0.5687 GB, free: 8.48 MB / 430.1 MB Notification: Performance of SimCode: time 7.92e-07/0.4922, allocations: 4 kB / 0.5687 GB, free: 8.477 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04119/0.5334, allocations: 9.93 MB / 0.5784 GB, free: 14.78 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/12.56, allocations: 8.281 kB / 0.5784 GB, free: 14.77 MB / 446.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