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.0006818/0.0006818, allocations: 92.86 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007808/0.0007809, allocations: 203 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.16/1.16, allocations: 227.7 MB / 246.8 MB, free: 9.703 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1688/0.1688, allocations: 46.19 MB / 345.2 MB, free: 11.19 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002196/0.0002196, allocations: 8 kB / 419.6 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08894/0.08918, allocations: 63.56 MB / 483.2 MB, free: 4.023 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC): time 0.001526/0.09074, allocations: 1.419 MB / 484.6 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009256/0.09168, allocations: 0.7441 MB / 485.4 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.562e-05/0.09173, allocations: 7.938 kB / 485.4 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001706/0.0919, allocations: 31.83 kB / 485.4 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002044/0.09212, allocations: 59.77 kB / 485.5 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001482/0.09227, allocations: 59.81 kB / 485.5 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002312/0.09251, allocations: 247.2 kB / 485.8 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.999e-05/0.09256, allocations: 17.38 kB / 485.8 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.363e-05/0.09263, allocations: 55.72 kB / 485.8 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.09276, allocations: 79.73 kB / 485.9 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.09279, allocations: 4 kB / 485.9 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001359/0.09293, allocations: 75.8 kB / 486 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.817e-05/0.09299, allocations: 47.81 kB / 486 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.389e-05/0.09307, allocations: 85.27 kB / 486.1 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.09328, allocations: 175.6 kB / 486.3 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.09329, allocations: 0 / 486.3 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.0933, allocations: 0 / 486.3 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.477e-06/0.09331, allocations: 0 / 486.3 MB, free: 0.9062 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.0004966/0.09381, allocations: 442.9 kB / 486.7 MB, free: 436 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.09385, allocations: 12.03 kB / 486.7 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.232e-05/0.0939, allocations: 46.73 kB / 486.8 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005203/0.09442, allocations: 76.64 kB / 486.9 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001776/0.09461, allocations: 231.9 kB / 487.1 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.09463, allocations: 8.375 kB / 487.1 MB, free: 12 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.086e-05/0.09466, allocations: 12.38 kB / 487.1 MB, free: 0 / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004666/0.09514, allocations: 307.8 kB / 487.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.09516, allocations: 4 kB / 487.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.31e-05/0.09519, allocations: 7.938 kB / 487.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.89e-05/0.09522, allocations: 15.98 kB / 487.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005191/0.09574, allocations: 307.7 kB / 487.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001131/0.09688, allocations: 0.7238 MB / 488.5 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004596/0.09736, allocations: 282.3 kB / 488.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001951/0.09756, allocations: 108.4 kB / 488.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.09759, allocations: 8 kB / 488.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.09761, allocations: 30.56 kB / 488.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.09762, allocations: 0 / 488.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007214/0.09835, allocations: 365.1 kB / 489.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.647e-05/0.09838, allocations: 51.41 kB / 489.3 MB, free: 13.72 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001821/0.09857, allocations: 230.2 kB / 489.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.0986, allocations: 25.7 kB / 489.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.695e-05/0.09867, allocations: 124.2 kB / 489.6 MB, free: 13.33 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.689e-05/0.09871, allocations: 47.28 kB / 489.7 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.754e-05/0.09876, allocations: 21.72 kB / 489.7 MB, free: 13.25 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.662e-05/0.09885, allocations: 330.8 kB / 490 MB, free: 12.92 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002044/0.09906, allocations: 103.8 kB / 490.1 MB, free: 12.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002133/0.09928, allocations: 146.2 kB / 490.3 MB, free: 12.67 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000432/0.09972, allocations: 251.1 kB / 490.5 MB, free: 12.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.09973, allocations: 0 / 490.5 MB, free: 12.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005183/0.1003, allocations: 301.2 kB / 490.8 MB, free: 12.11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.1003, allocations: 11.94 kB / 490.8 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.1003, allocations: 4.094 kB / 490.8 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.1003, allocations: 4 kB / 490.8 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01904/0.1193, allocations: 0.9007 MB / 491.7 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01887/0.1382, allocations: 9.921 MB / 0.4899 GB, free: 476 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002975/0.1386, allocations: 27.86 kB / 0.4899 GB, free: 448 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.189e-05/0.1386, allocations: 11.98 kB / 0.4899 GB, free: 436 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.0001635/0.1388, allocations: 146.4 kB / 0.4901 GB, free: 280 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.739e-05/0.1388, allocations: 19.75 kB / 0.4901 GB, free: 260 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006318/0.1452, allocations: 0.6259 MB / 0.4907 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.427e-06/0.1452, allocations: 4 kB / 0.4907 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1452, allocations: 0 / 0.4907 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.1452, allocations: 3.938 kB / 0.4907 GB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000347/0.1456, allocations: 277.3 kB / 0.491 GB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1456, allocations: 0 / 0.491 GB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002258/0.1458, allocations: 39.97 kB / 0.491 GB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006997/0.1528, allocations: 409.9 kB / 0.4914 GB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.157e-05/0.1529, allocations: 15.97 kB / 0.4914 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01392/0.1668, allocations: 9.518 MB / 0.5007 GB, free: 4.484 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1668, allocations: 0 / 0.5007 GB, free: 4.484 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006292/0.1731, allocations: 0.673 MB / 0.5014 GB, free: 3.785 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.278e-05/0.1732, allocations: 104.8 kB / 0.5015 GB, free: 3.664 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.265e-05/0.1733, allocations: 7.938 kB / 0.5015 GB, free: 3.656 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002481/0.1735, allocations: 8 kB / 0.5015 GB, free: 3.648 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001487/0.1737, allocations: 47.83 kB / 0.5015 GB, free: 3.602 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.168e-05/0.1737, allocations: 11.98 kB / 0.5016 GB, free: 3.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001378/0.1739, allocations: 172.4 kB / 0.5017 GB, free: 3.422 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1739, allocations: 0 / 0.5017 GB, free: 3.422 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005317/0.1744, allocations: 95.91 kB / 0.5018 GB, free: 3.328 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.006475/0.1809, allocations: 1.216 MB / 0.503 GB, free: 2.078 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01898/0.1999, allocations: 1.096 MB / 0.5041 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.1999, allocations: 0 / 0.5041 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001666/0.2016, allocations: 0.5388 MB / 0.5046 GB, free: 412 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003618/0.202, allocations: 39.28 kB / 0.5046 GB, free: 376 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1683/0.3703, allocations: 2.874 MB / 0.5074 GB, free: 38.05 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001882/0.3705, allocations: 0.7442 MB / 0.5082 GB, free: 37.35 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001371/0.3706, allocations: 45.41 kB / 0.5082 GB, free: 37.35 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.82e-05/0.3707, allocations: 52.97 kB / 0.5083 GB, free: 37.34 MB / 382.1 MB Notification: Performance of SimCode: time 8.62e-07/0.3707, allocations: 0 / 0.5083 GB, free: 37.34 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.124/5.495, allocations: 9.203 MB / 0.5172 GB, free: 36.09 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002642/5.495, allocations: 280.8 kB / 0.5175 GB, free: 35.73 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.199/7.694, allocations: 1 kB / 0.5175 GB, free: 35.73 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