Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_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.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_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.001479/0.001478, allocations: 103.1 kB / 17.63 MB, free: 5.344 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.00166/0.00166, allocations: 192 kB / 18.56 MB, free: 4.434 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.305/1.305, allocations: 222.9 MB / 242.3 MB, free: 15.15 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.1812/0.1812, allocations: 44.18 MB / 336.6 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001084/0.001084, allocations: 61 kB / 408.6 MB, free: 27.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07772/0.07882, allocations: 60.82 MB / 469.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.0028/0.08164, allocations: 2.005 MB / 471.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001146/0.08281, allocations: 0.7944 MB / 472.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.187e-05/0.08289, allocations: 4 kB / 472.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002461/0.08316, allocations: 63.64 kB / 472.2 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002916/0.08346, allocations: 123.4 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002108/0.08368, allocations: 59.8 kB / 472.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002844/0.08397, allocations: 314.6 kB / 472.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.095e-05/0.08404, allocations: 36.33 kB / 472.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001873/0.08423, allocations: 127.5 kB / 472.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000177/0.08442, allocations: 143.3 kB / 473 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.677e-05/0.08445, allocations: 8 kB / 473 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002261/0.08468, allocations: 123.8 kB / 473.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.726e-05/0.08477, allocations: 71.67 kB / 473.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001054/0.08488, allocations: 123.2 kB / 473.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003356/0.08522, allocations: 335 kB / 473.7 MB, free: 9.906 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.08523, allocations: 0 / 473.7 MB, free: 9.906 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.08524, allocations: 0 / 473.7 MB, free: 9.906 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.08525, allocations: 0 / 473.7 MB, free: 9.906 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.0007195/0.08598, allocations: 0.5576 MB / 474.2 MB, free: 9.301 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3e-05/0.08602, allocations: 16.03 kB / 474.3 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.01e-05/0.08608, allocations: 66.72 kB / 474.3 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.271e-05/0.08614, allocations: 28.56 kB / 474.3 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002149/0.08636, allocations: 252.1 kB / 474.6 MB, free: 8.898 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.08638, allocations: 20.56 kB / 474.6 MB, free: 8.879 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.945e-05/0.08643, allocations: 23.98 kB / 474.6 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005397/0.08697, allocations: 397.2 kB / 475 MB, free: 8.461 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.08699, allocations: 0 / 475 MB, free: 8.461 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.45e-05/0.08702, allocations: 8 kB / 475 MB, free: 8.453 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.626e-05/0.08707, allocations: 40.56 kB / 475.1 MB, free: 8.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006258/0.0877, allocations: 402.3 kB / 475.5 MB, free: 8.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00111/0.08882, allocations: 0.8734 MB / 476.3 MB, free: 7.094 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004974/0.08933, allocations: 275.6 kB / 476.6 MB, free: 6.816 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001839/0.08952, allocations: 96.77 kB / 476.7 MB, free: 6.719 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.704e-05/0.08956, allocations: 8 kB / 476.7 MB, free: 6.711 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.856e-05/0.08958, allocations: 42.48 kB / 476.7 MB, free: 6.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.152e-06/0.08959, allocations: 0 / 476.7 MB, free: 6.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006531/0.09025, allocations: 335.9 kB / 477.1 MB, free: 6.328 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.032e-05/0.09029, allocations: 55.39 kB / 477.1 MB, free: 6.262 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002902/0.09058, allocations: 347.2 kB / 477.5 MB, free: 5.914 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.09062, allocations: 29.7 kB / 477.5 MB, free: 5.879 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.597e-05/0.09071, allocations: 168.1 kB / 477.7 MB, free: 5.711 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.826e-05/0.09075, allocations: 47.3 kB / 477.7 MB, free: 5.664 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.475e-05/0.09083, allocations: 57.61 kB / 477.8 MB, free: 5.602 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.09094, allocations: 342.8 kB / 478.1 MB, free: 5.258 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001854/0.09113, allocations: 87.91 kB / 478.2 MB, free: 5.172 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001985/0.09134, allocations: 137.9 kB / 478.3 MB, free: 5.016 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004036/0.09175, allocations: 245.8 kB / 478.6 MB, free: 4.754 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.09176, allocations: 4 kB / 478.6 MB, free: 4.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004882/0.09226, allocations: 297 kB / 478.9 MB, free: 4.453 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.09228, allocations: 4 kB / 478.9 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.09229, allocations: 4 kB / 478.9 MB, free: 4.445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.0923, allocations: 0 / 478.9 MB, free: 4.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004633/0.09277, allocations: 124 kB / 479 MB, free: 4.324 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001635/0.09441, allocations: 3.672 MB / 482.7 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001555/0.09458, allocations: 27.97 kB / 482.7 MB, free: 496 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.005e-05/0.09461, allocations: 15.98 kB / 482.7 MB, free: 480 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 15 * 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.0001459/0.09476, allocations: 169.7 kB / 482.9 MB, free: 300 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.996e-05/0.09482, allocations: 31.66 kB / 482.9 MB, free: 268 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006113/0.09543, allocations: 330.2 kB / 483.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.09545, allocations: 0 / 483.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.09546, allocations: 0 / 483.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.09546, allocations: 0 / 483.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002907/0.09576, allocations: 313.3 kB / 483.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.09577, allocations: 3.938 kB / 483.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004339/0.09621, allocations: 111.9 kB / 483.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.09622, allocations: 0 / 483.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.09624, allocations: 8 kB / 483.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00157/0.09781, allocations: 3.664 MB / 487.3 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.09783, allocations: 4 kB / 487.3 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004593/0.09829, allocations: 351.2 kB / 487.7 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.767e-05/0.09837, allocations: 108.8 kB / 487.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.778e-05/0.09841, allocations: 3.984 kB / 487.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.09856, allocations: 8 kB / 487.8 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.68e-05/0.09862, allocations: 11.98 kB / 487.8 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.09864, allocations: 11.98 kB / 487.8 MB, free: 11.13 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002122/0.09885, allocations: 257.9 kB / 488 MB, free: 10.88 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.09886, allocations: 0 / 488 MB, free: 10.88 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003035/0.09917, allocations: 83.91 kB / 488.1 MB, free: 10.79 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 (15): * Single equations (assignments): 9 * 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.0007954/0.09997, allocations: 0.9027 MB / 489 MB, free: 9.867 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007879/0.1008, allocations: 320 kB / 489.3 MB, free: 9.555 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1008, allocations: 8 kB / 489.4 MB, free: 9.547 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005314/0.1013, allocations: 187.8 kB / 489.5 MB, free: 9.363 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/0.1017, allocations: 68.47 kB / 489.6 MB, free: 9.297 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003649/0.1054, allocations: 3.407 MB / 493 MB, free: 5.773 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003129/0.1057, allocations: 0.7987 MB / 493.8 MB, free: 4.949 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001434/0.1058, allocations: 66.2 kB / 493.9 MB, free: 4.883 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/0.1059, allocations: 79.41 kB / 494 MB, free: 4.805 MB / 366.1 MB Notification: Performance of SimCode: time 3.706e-06/0.106, allocations: 0 / 494 MB, free: 4.805 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02211/0.1281, allocations: 8.401 MB / 0.4906 GB, free: 12.67 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.55/13.68, allocations: 24.81 kB / 0.4906 GB, free: 12.65 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/General/kc_approxForcedConvection_KC/kc_approxForcedConvection_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches