Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.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,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001154/0.001153, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001458/0.001458, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.224/0.224, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 76.34 kB / 417.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1159, allocations: 62.44 MB / 480.1 MB, free: 5.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar): time 0.003115/0.119, allocations: 1.834 MB / 482 MB, free: 3.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001571/0.1206, allocations: 1.016 MB / 483 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.291e-05/0.1208, allocations: 0 / 483 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002259/0.121, allocations: 43.75 kB / 483 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002317/0.1213, allocations: 67.59 kB / 483.1 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003912/0.1217, allocations: 127.5 kB / 483.2 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002683/0.1219, allocations: 215.2 kB / 483.4 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.12e-05/0.122, allocations: 9.562 kB / 483.5 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002003/0.1222, allocations: 91.67 kB / 483.5 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000165/0.1224, allocations: 103.6 kB / 483.6 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.534e-05/0.1224, allocations: 8 kB / 483.6 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002517/0.1227, allocations: 127.8 kB / 483.8 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.86e-05/0.1228, allocations: 55.75 kB / 483.8 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.786e-05/0.1229, allocations: 83.52 kB / 483.9 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003437/0.1232, allocations: 247.4 kB / 484.2 MB, free: 1.141 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.247e-06/0.1232, allocations: 0 / 484.2 MB, free: 1.141 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1232, allocations: 0 / 484.2 MB, free: 1.141 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.1233, allocations: 0 / 484.2 MB, free: 1.141 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.0009819/0.1242, allocations: 0.53 MB / 484.7 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.1243, allocations: 8.031 kB / 484.7 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.074e-05/0.1243, allocations: 46.75 kB / 484.7 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003665/0.1247, allocations: 52.61 kB / 484.8 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.125, allocations: 228 kB / 485 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.125, allocations: 12.61 kB / 485 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/0.125, allocations: 12.38 kB / 485 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005303/0.1256, allocations: 267.5 kB / 485.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.1256, allocations: 4 kB / 485.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.11e-05/0.1256, allocations: 4 kB / 485.3 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.143e-05/0.1256, allocations: 20.22 kB / 485.3 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006257/0.1263, allocations: 224.3 kB / 485.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001245/0.1275, allocations: 0.814 MB / 486.4 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003924/0.1279, allocations: 195.6 kB / 486.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002637/0.1282, allocations: 102.5 kB / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.896e-05/0.1283, allocations: 7.984 kB / 486.7 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.1283, allocations: 34.69 kB / 486.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.894e-06/0.1283, allocations: 4 kB / 486.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009577/0.1293, allocations: 321 kB / 487 MB, free: 14.05 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.451e-05/0.1293, allocations: 107.1 kB / 487.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002966/0.1296, allocations: 265 kB / 487.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.792e-05/0.1297, allocations: 29.69 kB / 487.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.07e-05/0.1298, allocations: 131.9 kB / 487.5 MB, free: 13.49 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.468e-05/0.1298, allocations: 35.45 kB / 487.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.722e-05/0.1299, allocations: 37.7 kB / 487.6 MB, free: 13.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.13, allocations: 334.8 kB / 487.9 MB, free: 13.08 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002783/0.1303, allocations: 95.91 kB / 488 MB, free: 12.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002834/0.1306, allocations: 133 kB / 488.1 MB, free: 12.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005482/0.1312, allocations: 224.8 kB / 488.4 MB, free: 12.6 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1312, allocations: 0 / 488.4 MB, free: 12.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006725/0.1319, allocations: 281.1 kB / 488.6 MB, free: 12.32 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.1319, allocations: 10.66 kB / 488.7 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.439e-05/0.1319, allocations: 8 kB / 488.7 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.132, allocations: 4 kB / 488.7 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002371/0.1322, allocations: 40.05 kB / 488.7 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.1322, allocations: 8 kB / 488.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002012/0.1324, allocations: 27.77 kB / 488.7 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.428e-05/0.1325, allocations: 19.92 kB / 488.8 MB, free: 12.2 MB / 366.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.0001297/0.1326, allocations: 142.2 kB / 488.9 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.045e-05/0.1327, allocations: 15.81 kB / 488.9 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004745/0.1332, allocations: 227 kB / 489.1 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.263e-06/0.1332, allocations: 4 kB / 489.1 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1332, allocations: 0 / 489.1 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.1332, allocations: 7.922 kB / 489.1 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003941/0.1336, allocations: 253.5 kB / 489.4 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.137e-05/0.1336, allocations: 11.98 kB / 489.4 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001913/0.1338, allocations: 31.97 kB / 489.4 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.1338, allocations: 0 / 489.4 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/0.1339, allocations: 4 kB / 489.4 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.1339, allocations: 3.984 kB / 489.4 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.1339, allocations: 8 kB / 489.5 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006902/0.1346, allocations: 473.6 kB / 489.9 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.871e-05/0.1347, allocations: 108.8 kB / 490 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.625e-05/0.1347, allocations: 4 kB / 490 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002652/0.135, allocations: 23.97 kB / 490 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.877e-05/0.1351, allocations: 15.92 kB / 490.1 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.571e-05/0.1351, allocations: 8 kB / 490.1 MB, free: 10.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001808/0.1353, allocations: 192.4 kB / 490.3 MB, free: 10.6 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1353, allocations: 3.938 kB / 490.3 MB, free: 10.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000414/0.1357, allocations: 68 kB / 490.3 MB, free: 10.53 MB / 366.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.00109/0.1368, allocations: 1.054 MB / 491.4 MB, free: 9.445 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006409/0.1374, allocations: 296.8 kB / 491.7 MB, free: 9.137 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1375, allocations: 0 / 491.7 MB, free: 9.137 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003205/0.1378, allocations: 185.2 kB / 491.9 MB, free: 8.938 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005077/0.1383, allocations: 46.19 kB / 491.9 MB, free: 8.898 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003812/0.1421, allocations: 2.83 MB / 494.7 MB, free: 5.949 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002945/0.1424, allocations: 0.7397 MB / 495.5 MB, free: 5.184 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001222/0.1426, allocations: 41.52 kB / 495.5 MB, free: 5.145 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.821e-05/0.1427, allocations: 55.41 kB / 495.6 MB, free: 5.09 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1427, allocations: 0 / 495.6 MB, free: 5.09 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02336/0.166, allocations: 5.781 MB / 0.4896 GB, free: 15.45 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.621/7.787, allocations: 5.453 kB / 0.4896 GB, free: 15.45 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_laminar/kc_laminar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches