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.0007923/0.0007924, allocations: 89.38 kB / 17.34 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009302/0.0009302, allocations: 202.7 kB / 18.28 MB, free: 5.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.157/1.157, allocations: 227.7 MB / 246.8 MB, free: 11.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1742/0.1742, allocations: 46.18 MB / 345.2 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002053/0.0002054, allocations: 8 kB / 419.6 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08748/0.0877, allocations: 63.57 MB / 483.2 MB, free: 4.074 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC): time 0.001598/0.08933, allocations: 1.427 MB / 484.6 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009985/0.09035, allocations: 0.7363 MB / 485.4 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.178e-05/0.09041, allocations: 0 / 485.4 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001875/0.09061, allocations: 27.89 kB / 485.4 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002075/0.09082, allocations: 67.72 kB / 485.5 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001592/0.09099, allocations: 59.75 kB / 485.5 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002563/0.09126, allocations: 243.2 kB / 485.8 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.934e-05/0.09131, allocations: 21.38 kB / 485.8 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.985e-05/0.09139, allocations: 51.78 kB / 485.8 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001314/0.09153, allocations: 83.66 kB / 485.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.09155, allocations: 4 kB / 485.9 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001412/0.0917, allocations: 71.88 kB / 486 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.85e-05/0.09178, allocations: 51.8 kB / 486 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.655e-05/0.09185, allocations: 81.33 kB / 486.1 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002217/0.09208, allocations: 175.6 kB / 486.3 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.09209, allocations: 0 / 486.3 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.0921, allocations: 4 kB / 486.3 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.09211, allocations: 0 / 486.3 MB, free: 0.9609 MB / 350.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.000518/0.09263, allocations: 438.9 kB / 486.7 MB, free: 496 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.09267, allocations: 12.03 kB / 486.7 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.552e-05/0.09272, allocations: 50.67 kB / 486.8 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005205/0.09325, allocations: 76.64 kB / 486.9 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002023/0.09346, allocations: 226.7 kB / 487.1 MB, free: 84 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.09348, allocations: 16.3 kB / 487.1 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.457e-05/0.09352, allocations: 12.38 kB / 487.1 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004736/0.094, allocations: 303.9 kB / 487.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.954e-06/0.09402, allocations: 0 / 487.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.321e-05/0.09405, allocations: 4 kB / 487.4 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.865e-05/0.09408, allocations: 15.98 kB / 487.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005218/0.09461, allocations: 315.6 kB / 487.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001134/0.09576, allocations: 0.7277 MB / 488.5 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004521/0.09622, allocations: 290.2 kB / 488.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002008/0.09643, allocations: 104.8 kB / 488.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.09646, allocations: 112 / 488.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.95e-05/0.09649, allocations: 34.5 kB / 488.9 MB, free: 14.2 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 8.91e-07/0.09649, allocations: 0 / 488.9 MB, free: 14.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007323/0.09723, allocations: 365.1 kB / 489.2 MB, free: 13.83 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.09728, allocations: 51.41 kB / 489.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/0.09747, allocations: 226.2 kB / 489.5 MB, free: 13.54 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.0975, allocations: 29.7 kB / 489.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.351e-05/0.09757, allocations: 124.2 kB / 489.7 MB, free: 13.38 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.675e-05/0.09762, allocations: 47.3 kB / 489.7 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-05/0.09767, allocations: 21.72 kB / 489.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.495e-05/0.09777, allocations: 326.8 kB / 490 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002008/0.09798, allocations: 103.9 kB / 490.1 MB, free: 12.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002175/0.0982, allocations: 143.3 kB / 490.3 MB, free: 12.72 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004283/0.09864, allocations: 254.7 kB / 490.5 MB, free: 12.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.09865, allocations: 0 / 490.5 MB, free: 12.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000534/0.09919, allocations: 305.2 kB / 490.8 MB, free: 12.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.09921, allocations: 4 kB / 490.8 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.09922, allocations: 0 / 490.8 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.09923, allocations: 4 kB / 490.8 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01878/0.118, allocations: 0.9085 MB / 491.7 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01848/0.1365, allocations: 9.924 MB / 0.4899 GB, free: 0.5156 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002543/0.1368, allocations: 24.05 kB / 0.4899 GB, free: 0.4922 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.791e-05/0.1368, allocations: 15.98 kB / 0.4899 GB, free: 488 kB / 366.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.0001329/0.137, allocations: 138.3 kB / 0.4901 GB, free: 340 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.473e-05/0.137, allocations: 15.75 kB / 0.4901 GB, free: 324 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006142/0.1432, allocations: 0.622 MB / 0.4907 GB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.1432, allocations: 7.984 kB / 0.4907 GB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.1432, allocations: 0 / 0.4907 GB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.1432, allocations: 3.938 kB / 0.4907 GB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002812/0.1435, allocations: 277.4 kB / 0.491 GB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1435, allocations: 0 / 0.491 GB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002089/0.1437, allocations: 47.89 kB / 0.491 GB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006841/0.1505, allocations: 406 kB / 0.4914 GB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/0.1506, allocations: 15.97 kB / 0.4914 GB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01325/0.1638, allocations: 9.514 MB / 0.5007 GB, free: 4.547 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1639, allocations: 0 / 0.5007 GB, free: 4.547 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005996/0.1699, allocations: 0.6756 MB / 0.5014 GB, free: 3.848 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.209e-05/0.1699, allocations: 104.8 kB / 0.5015 GB, free: 3.727 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.137e-05/0.17, allocations: 7.938 kB / 0.5015 GB, free: 3.719 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002321/0.1702, allocations: 15.94 kB / 0.5015 GB, free: 3.703 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.1703, allocations: 43.89 kB / 0.5015 GB, free: 3.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.56e-05/0.1704, allocations: 11.98 kB / 0.5016 GB, free: 3.648 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001336/0.1705, allocations: 168.4 kB / 0.5017 GB, free: 3.484 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1705, allocations: 0 / 0.5017 GB, free: 3.484 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005049/0.171, allocations: 95.91 kB / 0.5018 GB, free: 3.391 MB / 382.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.00626/0.1773, allocations: 1.222 MB / 0.503 GB, free: 2.133 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01849/0.1958, allocations: 1.104 MB / 0.5041 GB, free: 1.027 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.1958, allocations: 0 / 0.5041 GB, free: 1.027 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001593/0.1974, allocations: 0.5335 MB / 0.5046 GB, free: 468 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003297/0.1978, allocations: 31.97 kB / 0.5046 GB, free: 436 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1611/0.3589, allocations: 2.865 MB / 0.5074 GB, free: 38.55 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001544/0.3591, allocations: 0.7457 MB / 0.5082 GB, free: 37.85 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001187/0.3592, allocations: 45.8 kB / 0.5082 GB, free: 37.85 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.817e-05/0.3593, allocations: 52.12 kB / 0.5082 GB, free: 37.84 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3593, allocations: 0 / 0.5082 GB, free: 37.84 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01862/0.3779, allocations: 9.207 MB / 0.5172 GB, free: 36.54 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001512/0.3781, allocations: 279.8 kB / 0.5175 GB, free: 36.19 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.809/2.187, allocations: 0 / 0.5175 GB, free: 36.19 MB / 382.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