Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.0007273/0.0007273, allocations: 94.33 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008046/0.0008048, allocations: 179.2 kB / 18.26 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 223.3 MB / 242.3 MB, free: 14.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1919/0.1919, allocations: 44.26 MB / 337.7 MB, free: 2.441 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003175/0.0003176, allocations: 8 kB / 410.5 MB, free: 27.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1191, allocations: 61.92 MB / 472.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC): time 0.001734/0.1208, allocations: 1.399 MB / 473.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001067/0.1219, allocations: 0.7206 MB / 474.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.487e-05/0.122, allocations: 0 / 474.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001941/0.1222, allocations: 27.89 kB / 474.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002422/0.1225, allocations: 63.72 kB / 474.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001642/0.1226, allocations: 51.2 kB / 474.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002623/0.1229, allocations: 247.3 kB / 474.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.335e-05/0.123, allocations: 17.33 kB / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.445e-05/0.123, allocations: 47.84 kB / 474.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001448/0.1232, allocations: 87.59 kB / 475 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.1232, allocations: 8 kB / 475 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001434/0.1234, allocations: 67.89 kB / 475.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.992e-05/0.1235, allocations: 51.73 kB / 475.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.515e-05/0.1235, allocations: 81.38 kB / 475.2 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002313/0.1238, allocations: 171.6 kB / 475.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.1238, allocations: 0 / 475.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1238, allocations: 0 / 475.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.1238, allocations: 0 / 475.4 MB, free: 10.16 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.0005295/0.1243, allocations: 449.3 kB / 475.8 MB, free: 9.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.1244, allocations: 12.03 kB / 475.9 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.103e-05/0.1244, allocations: 46.73 kB / 475.9 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004868/0.1249, allocations: 72.58 kB / 476 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000184/0.1251, allocations: 216.1 kB / 476.2 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.1251, allocations: 4.375 kB / 476.2 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.898e-05/0.1252, allocations: 12.36 kB / 476.2 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004178/0.1256, allocations: 268 kB / 476.5 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.1256, allocations: 0 / 476.5 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.1256, allocations: 0 / 476.5 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.014e-05/0.1257, allocations: 19.98 kB / 476.5 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004686/0.1262, allocations: 256.3 kB / 476.7 MB, free: 8.734 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/0.1272, allocations: 0.6678 MB / 477.4 MB, free: 8.012 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003919/0.1276, allocations: 226.3 kB / 477.6 MB, free: 7.781 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001797/0.1278, allocations: 88.83 kB / 477.7 MB, free: 7.691 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.1278, allocations: 7.969 kB / 477.7 MB, free: 7.684 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.1279, allocations: 38.5 kB / 477.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.273e-06/0.1279, allocations: 0 / 477.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006441/0.1285, allocations: 301.2 kB / 478 MB, free: 7.336 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.477e-05/0.1286, allocations: 55.41 kB / 478.1 MB, free: 7.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/0.1288, allocations: 234.1 kB / 478.3 MB, free: 7.031 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.1288, allocations: 29.7 kB / 478.4 MB, free: 6.996 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.555e-05/0.1289, allocations: 116 kB / 478.5 MB, free: 6.879 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.203e-05/0.1289, allocations: 51.3 kB / 478.5 MB, free: 6.828 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.668e-05/0.129, allocations: 21.66 kB / 478.5 MB, free: 6.801 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.628e-05/0.1291, allocations: 330.8 kB / 478.9 MB, free: 6.469 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001765/0.1292, allocations: 83.91 kB / 478.9 MB, free: 6.387 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001903/0.1294, allocations: 119.3 kB / 479.1 MB, free: 6.258 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003854/0.1298, allocations: 215.2 kB / 479.3 MB, free: 6.035 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1298, allocations: 4 kB / 479.3 MB, free: 6.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000478/0.1303, allocations: 264.3 kB / 479.5 MB, free: 5.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.1304, allocations: 4 kB / 479.5 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.1304, allocations: 0 / 479.5 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.1304, allocations: 8.094 kB / 479.5 MB, free: 5.758 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002342/0.1327, allocations: 255.6 kB / 479.8 MB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008406/0.1411, allocations: 8.602 MB / 488.4 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002506/0.1414, allocations: 27.86 kB / 488.4 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.391e-05/0.1415, allocations: 11.98 kB / 488.4 MB, free: 12.07 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.0001503/0.1416, allocations: 149.8 kB / 488.6 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.352e-05/0.1417, allocations: 15.75 kB / 488.6 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005264/0.1422, allocations: 255 kB / 488.8 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1422, allocations: 3.938 kB / 488.8 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.1422, allocations: 0 / 488.8 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.1422, allocations: 0 / 488.8 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002674/0.1425, allocations: 245.4 kB / 489.1 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.1425, allocations: 0 / 489.1 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001697/0.1442, allocations: 211.6 kB / 489.3 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.1442, allocations: 3.938 kB / 489.3 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/0.1443, allocations: 11.98 kB / 489.3 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006796/0.1511, allocations: 8.121 MB / 497.4 MB, free: 2.223 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.1511, allocations: 3.938 kB / 497.4 MB, free: 2.219 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000514/0.1516, allocations: 299.3 kB / 497.7 MB, free: 1.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.873e-05/0.1517, allocations: 100.8 kB / 497.8 MB, free: 1.793 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.073e-05/0.1518, allocations: 11.98 kB / 497.8 MB, free: 1.781 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/0.152, allocations: 8 kB / 497.8 MB, free: 1.773 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.845e-05/0.1521, allocations: 27.89 kB / 497.9 MB, free: 1.746 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.1521, allocations: 4 kB / 497.9 MB, free: 1.742 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001884/0.1523, allocations: 187.1 kB / 498.1 MB, free: 1.559 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1523, allocations: 0 / 498.1 MB, free: 1.559 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004926/0.1528, allocations: 64 kB / 498.1 MB, free: 1.496 MB / 366.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.0007521/0.1535, allocations: 0.8385 MB / 499 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002013/0.1556, allocations: 0.6075 MB / 499.6 MB, free: 24 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.1556, allocations: 3.938 kB / 499.6 MB, free: 20 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001352/0.1569, allocations: 395 kB / 500 MB, free: 15.64 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003754/0.1573, allocations: 43.66 kB / 0.4883 GB, free: 15.6 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003668/0.161, allocations: 2.615 MB / 0.4908 GB, free: 12.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/0.1614, allocations: 0.7521 MB / 0.4916 GB, free: 12.1 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003813/0.1618, allocations: 113.4 kB / 0.4917 GB, free: 11.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002102/0.162, allocations: 95.34 kB / 0.4918 GB, free: 11.89 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.162, allocations: 0 / 0.4918 GB, free: 11.89 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02255/0.1845, allocations: 9.658 MB / 0.5012 GB, free: 2.449 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001992/0.1848, allocations: 245.2 kB / 0.5014 GB, free: 2.188 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.004/2.189, allocations: 6.359 kB / 0.5014 GB, free: 2.188 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches