Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_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_3_2_3_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.001706/0.001706, allocations: 107.4 kB / 15.98 MB, free: 5.867 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.001873/0.001874, allocations: 196.4 kB / 16.91 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.403/1.403, allocations: 205.1 MB / 222.8 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2959/0.2959, allocations: 43.49 MB / 313.6 MB, free: 8.293 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 71.91 kB / 382.3 MB, free: 8.254 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09985/0.1013, allocations: 57.78 MB / 440.1 MB, free: 14.36 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.003037/0.1044, allocations: 2.062 MB / 442.2 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001298/0.1057, allocations: 0.8383 MB / 443 MB, free: 11.44 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.976e-05/0.1058, allocations: 0 / 443 MB, free: 11.44 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002812/0.1061, allocations: 59.7 kB / 443.1 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003194/0.1064, allocations: 103.5 kB / 443.2 MB, free: 11.28 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002289/0.1067, allocations: 71.83 kB / 443.3 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003365/0.107, allocations: 310.6 kB / 443.6 MB, free: 10.9 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.018e-05/0.1071, allocations: 40.36 kB / 443.6 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001862/0.1073, allocations: 119.4 kB / 443.7 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002109/0.1075, allocations: 155.3 kB / 443.9 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.732e-05/0.1075, allocations: 8 kB / 443.9 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002297/0.1078, allocations: 127.8 kB / 444 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.179e-05/0.1079, allocations: 71.67 kB / 444.1 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001093/0.108, allocations: 115.2 kB / 444.2 MB, free: 10.28 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004018/0.1084, allocations: 347 kB / 444.5 MB, free: 9.938 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.1084, allocations: 0 / 444.5 MB, free: 9.938 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.1084, allocations: 0 / 444.5 MB, free: 9.938 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.155e-06/0.1084, allocations: 0 / 444.5 MB, free: 9.938 MB / 382.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.0007904/0.1092, allocations: 0.5648 MB / 445.1 MB, free: 9.328 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.1093, allocations: 12.03 kB / 445.1 MB, free: 9.316 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.527e-05/0.1094, allocations: 66.72 kB / 445.2 MB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.572e-05/0.1094, allocations: 32.56 kB / 445.2 MB, free: 9.211 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002241/0.1096, allocations: 244.2 kB / 445.4 MB, free: 8.934 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.1097, allocations: 20.56 kB / 445.5 MB, free: 8.914 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.575e-05/0.1097, allocations: 27.98 kB / 445.5 MB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005935/0.1103, allocations: 393.2 kB / 445.9 MB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.1103, allocations: 0 / 445.9 MB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.447e-05/0.1104, allocations: 8 kB / 445.9 MB, free: 8.484 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.893e-05/0.1104, allocations: 32.64 kB / 445.9 MB, free: 8.453 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006642/0.1111, allocations: 410.3 kB / 446.3 MB, free: 8.055 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001209/0.1123, allocations: 0.8656 MB / 447.2 MB, free: 7.137 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000569/0.1129, allocations: 282.2 kB / 447.4 MB, free: 6.852 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001871/0.1131, allocations: 96.77 kB / 447.5 MB, free: 6.754 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.615e-05/0.1131, allocations: 4.062 kB / 447.5 MB, free: 6.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.1131, allocations: 46.44 kB / 447.6 MB, free: 6.695 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.193e-06/0.1131, allocations: 0 / 447.6 MB, free: 6.695 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006875/0.1138, allocations: 340.2 kB / 447.9 MB, free: 6.359 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/0.1139, allocations: 51.41 kB / 448 MB, free: 6.297 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00032/0.1142, allocations: 355.2 kB / 448.3 MB, free: 5.941 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.1142, allocations: 25.7 kB / 448.3 MB, free: 5.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.566e-05/0.1143, allocations: 164.2 kB / 448.5 MB, free: 5.746 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.555e-05/0.1144, allocations: 55.19 kB / 448.6 MB, free: 5.691 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.809e-05/0.1145, allocations: 49.7 kB / 448.6 MB, free: 5.637 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.1146, allocations: 342.8 kB / 448.9 MB, free: 5.293 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001884/0.1148, allocations: 91.91 kB / 449 MB, free: 5.203 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002216/0.115, allocations: 137.9 kB / 449.2 MB, free: 5.047 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000413/0.1154, allocations: 249.6 kB / 449.4 MB, free: 4.781 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1154, allocations: 0 / 449.4 MB, free: 4.781 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005205/0.116, allocations: 297.1 kB / 449.7 MB, free: 4.484 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.116, allocations: 4 kB / 449.7 MB, free: 4.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.116, allocations: 4 kB / 449.7 MB, free: 4.477 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.116, allocations: 0 / 449.7 MB, free: 4.477 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005229/0.1166, allocations: 123.8 kB / 449.8 MB, free: 4.355 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002008/0.1186, allocations: 3.665 MB / 453.5 MB, free: 0.5508 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001719/0.1188, allocations: 27.69 kB / 453.5 MB, free: 0.5234 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.508e-05/0.1188, allocations: 15.98 kB / 453.5 MB, free: 0.5078 MB / 382.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.0001709/0.119, allocations: 177.9 kB / 453.7 MB, free: 332 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.222e-05/0.119, allocations: 31.56 kB / 453.7 MB, free: 300 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1649/0.284, allocations: 322.4 kB / 454.1 MB, free: 49.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.284, allocations: 1.344 kB / 454.1 MB, free: 49.2 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.284, allocations: 0.8125 kB / 454.1 MB, free: 49.2 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.284, allocations: 1.453 kB / 454.1 MB, free: 49.2 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003397/0.2844, allocations: 304 kB / 454.4 MB, free: 49.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.2844, allocations: 3.375 kB / 454.4 MB, free: 49.01 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000458/0.2848, allocations: 107.5 kB / 454.5 MB, free: 49.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.2849, allocations: 0 / 454.5 MB, free: 49.01 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.2849, allocations: 7.844 kB / 454.5 MB, free: 49.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009611/0.2858, allocations: 3.672 MB / 458.1 MB, free: 45.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2859, allocations: 4.156 kB / 458.2 MB, free: 45.52 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003849/0.2862, allocations: 351.3 kB / 458.5 MB, free: 45.39 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.654e-05/0.2863, allocations: 108.8 kB / 458.6 MB, free: 45.29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.927e-05/0.2863, allocations: 6.25 kB / 458.6 MB, free: 45.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.2865, allocations: 6.484 kB / 458.6 MB, free: 45.29 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.085e-05/0.2866, allocations: 18.83 kB / 458.6 MB, free: 45.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.2866, allocations: 13.12 kB / 458.6 MB, free: 45.29 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000168/0.2868, allocations: 257.8 kB / 458.9 MB, free: 45.21 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2868, allocations: 0 / 458.9 MB, free: 45.21 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003156/0.2871, allocations: 71.09 kB / 459 MB, free: 45.21 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 (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.0006051/0.2877, allocations: 0.9095 MB / 459.9 MB, free: 44.54 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007337/0.2884, allocations: 323.3 kB / 460.2 MB, free: 44.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2884, allocations: 0 / 460.2 MB, free: 44.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004778/0.2889, allocations: 195 kB / 460.4 MB, free: 44.54 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/0.2893, allocations: 62.36 kB / 460.4 MB, free: 44.54 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00282/0.2921, allocations: 3.477 MB / 463.9 MB, free: 43.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001571/0.2923, allocations: 0.7993 MB / 464.7 MB, free: 42.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001289/0.2924, allocations: 68.77 kB / 464.8 MB, free: 42.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.417e-05/0.2925, allocations: 78.52 kB / 464.9 MB, free: 42.31 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2925, allocations: 0.75 kB / 464.9 MB, free: 42.31 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.612/2.904, allocations: 8.258 MB / 473.1 MB, free: 41.53 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00022/2.905, allocations: 305.1 kB / 473.4 MB, free: 41.13 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.519/5.424, allocations: 3.906 kB / 473.4 MB, free: 41.13 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/General/kc_approxForcedConvection_KC/kc_approxForcedConvection_KC.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches