Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_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_laminar_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_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.001806/0.001806, allocations: 107.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002332/0.002333, allocations: 209.7 kB / 18.14 MB, free: 5.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.3 MB, free: 10.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1861/0.1861, allocations: 46.12 MB / 343.6 MB, free: 11.78 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 75.91 kB / 417 MB, free: 20.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09171/0.09296, allocations: 62.44 MB / 479.4 MB, free: 5.598 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC): time 0.002637/0.09562, allocations: 1.774 MB / 481.2 MB, free: 3.809 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001053/0.0967, allocations: 0.7479 MB / 481.9 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.506e-05/0.09676, allocations: 0 / 481.9 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001777/0.09696, allocations: 27.83 kB / 482 MB, free: 3.027 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001956/0.09716, allocations: 59.78 kB / 482 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001399/0.09731, allocations: 51.83 kB / 482.1 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002177/0.09753, allocations: 247.2 kB / 482.3 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.673e-05/0.09758, allocations: 17.39 kB / 482.3 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.802e-05/0.09764, allocations: 55.73 kB / 482.4 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/0.09776, allocations: 87.58 kB / 482.5 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.09779, allocations: 4 kB / 482.5 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.09792, allocations: 67.83 kB / 482.5 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.711e-05/0.09799, allocations: 47.88 kB / 482.6 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.916e-05/0.09805, allocations: 63.55 kB / 482.6 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002/0.09826, allocations: 171.7 kB / 482.8 MB, free: 2.168 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.09827, allocations: 3.938 kB / 482.8 MB, free: 2.164 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.12e-07/0.09827, allocations: 0 / 482.8 MB, free: 2.164 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.865e-06/0.09828, allocations: 0 / 482.8 MB, free: 2.164 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.0005004/0.09879, allocations: 462.8 kB / 483.3 MB, free: 1.664 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.09882, allocations: 12.03 kB / 483.3 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.969e-05/0.09887, allocations: 46.73 kB / 483.3 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005103/0.09939, allocations: 76.66 kB / 483.4 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/0.09957, allocations: 220 kB / 483.6 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.09958, allocations: 4.375 kB / 483.6 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.09961, allocations: 12.38 kB / 483.6 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003937/0.1, allocations: 263.9 kB / 483.9 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.1, allocations: 0 / 483.9 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.1001, allocations: 3.938 kB / 483.9 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.712e-05/0.1001, allocations: 19.98 kB / 483.9 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004383/0.1005, allocations: 243.8 kB / 484.1 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009962/0.1015, allocations: 0.6563 MB / 484.8 MB, free: 12 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000371/0.1019, allocations: 222.4 kB / 485 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001642/0.1021, allocations: 84.83 kB / 485.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.1021, allocations: 0 / 485.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.1021, allocations: 34.55 kB / 485.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.042e-06/0.1021, allocations: 4 kB / 485.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005894/0.1027, allocations: 285.2 kB / 485.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.1028, allocations: 55.52 kB / 485.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001846/0.103, allocations: 231 kB / 485.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.103, allocations: 33.7 kB / 485.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.14e-05/0.1031, allocations: 115.9 kB / 485.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.625e-05/0.1031, allocations: 51.3 kB / 485.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.796e-05/0.1032, allocations: 45.69 kB / 485.9 MB, free: 14.81 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.237e-05/0.1033, allocations: 322.8 kB / 486.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001739/0.1035, allocations: 79.91 kB / 486.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001789/0.1036, allocations: 114.3 kB / 486.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003566/0.104, allocations: 207.1 kB / 486.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.104, allocations: 4 kB / 486.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004548/0.1045, allocations: 248.7 kB / 486.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.1045, allocations: 12.09 kB / 486.9 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.1045, allocations: 0 / 486.9 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.155e-06/0.1045, allocations: 3.938 kB / 486.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002417/0.1069, allocations: 275.6 kB / 487.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008604/0.1156, allocations: 8.614 MB / 495.8 MB, free: 4.121 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000229/0.1158, allocations: 35.83 kB / 495.8 MB, free: 4.086 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.936e-05/0.1158, allocations: 7.984 kB / 495.8 MB, free: 4.078 MB / 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.0001165/0.116, allocations: 146.2 kB / 496 MB, free: 3.926 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.484e-05/0.116, allocations: 19.75 kB / 496 MB, free: 3.906 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004845/0.1165, allocations: 250.9 kB / 496.2 MB, free: 3.652 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.1165, allocations: 0 / 496.2 MB, free: 3.652 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.1165, allocations: 0 / 496.2 MB, free: 3.652 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1165, allocations: 4 kB / 496.2 MB, free: 3.648 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002272/0.1168, allocations: 237.5 kB / 496.5 MB, free: 3.367 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1168, allocations: 0 / 496.5 MB, free: 3.367 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001664/0.1184, allocations: 219.6 kB / 496.7 MB, free: 3.152 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.1184, allocations: 3.938 kB / 496.7 MB, free: 3.148 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.803e-05/0.1185, allocations: 7.984 kB / 496.7 MB, free: 3.141 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006495/0.125, allocations: 8.148 MB / 0.493 GB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.125, allocations: 4.188 kB / 0.493 GB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003931/0.1254, allocations: 291.2 kB / 0.4933 GB, free: 9.902 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.221e-05/0.1255, allocations: 92.86 kB / 0.4934 GB, free: 9.793 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.074e-05/0.1255, allocations: 11.98 kB / 0.4934 GB, free: 9.781 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001912/0.1257, allocations: 8 kB / 0.4934 GB, free: 9.773 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.574e-05/0.1258, allocations: 31.83 kB / 0.4934 GB, free: 9.742 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.1258, allocations: 7.938 kB / 0.4934 GB, free: 9.734 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001476/0.1259, allocations: 191.1 kB / 0.4936 GB, free: 9.547 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1259, allocations: 0 / 0.4936 GB, free: 9.547 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003746/0.1263, allocations: 63.91 kB / 0.4937 GB, free: 9.484 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): 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 Backend phase and start with SimCode phase: time 0.0006132/0.1269, allocations: 0.8176 MB / 0.4945 GB, free: 8.641 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00196/0.1289, allocations: 0.6034 MB / 0.4951 GB, free: 8.039 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1289, allocations: 7.938 kB / 0.4951 GB, free: 8.031 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001288/0.1302, allocations: 397.2 kB / 0.4955 GB, free: 7.645 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002922/0.1305, allocations: 42.67 kB / 0.4955 GB, free: 7.605 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002858/0.1334, allocations: 2.576 MB / 0.498 GB, free: 4.934 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002376/0.1336, allocations: 0.756 MB / 0.4988 GB, free: 4.148 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003508/0.134, allocations: 109.4 kB / 0.4989 GB, free: 4.043 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001888/0.1342, allocations: 95.28 kB / 0.499 GB, free: 3.949 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1342, allocations: 0 / 0.499 GB, free: 3.949 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.408/2.542, allocations: 9.829 MB / 0.5086 GB, free: 38.8 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.102/2.644, allocations: 242.2 kB / 0.5088 GB, free: 38.55 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.809/5.453, allocations: 0 / 0.5088 GB, free: 38.55 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_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_laminar_KC/kc_laminar_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches