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.0008235/0.0008235, allocations: 102.5 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008605/0.0008606, allocations: 184 kB / 16.92 MB, free: 6.914 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.271/1.271, allocations: 205.4 MB / 223.1 MB, free: 5.512 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.325/0.325, allocations: 43.57 MB / 315 MB, free: 8.75 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.0004838/0.0004838, allocations: 14.97 kB / 384.7 MB, free: 7.527 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09746/0.09795, allocations: 58.86 MB / 443.6 MB, free: 12.56 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.002007/0.1, allocations: 1.711 MB / 445.3 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001169/0.1012, allocations: 0.8345 MB / 446.1 MB, free: 9.992 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.206e-05/0.1013, allocations: 0 / 446.1 MB, free: 9.992 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002346/0.1015, allocations: 59.72 kB / 446.2 MB, free: 9.934 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002778/0.1018, allocations: 115.5 kB / 446.3 MB, free: 9.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001761/0.102, allocations: 59.86 kB / 446.3 MB, free: 9.762 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003989/0.1024, allocations: 454.4 kB / 446.8 MB, free: 9.316 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.589e-05/0.1024, allocations: 36.38 kB / 446.8 MB, free: 9.281 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001409/0.1026, allocations: 107.4 kB / 446.9 MB, free: 9.176 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000195/0.1028, allocations: 155.3 kB / 447.1 MB, free: 9.023 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.1028, allocations: 4 kB / 447.1 MB, free: 9.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002284/0.1031, allocations: 135.8 kB / 447.2 MB, free: 8.887 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.928e-05/0.1031, allocations: 67.67 kB / 447.3 MB, free: 8.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.1033, allocations: 132.9 kB / 447.4 MB, free: 8.684 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003518/0.1036, allocations: 338.9 kB / 447.7 MB, free: 8.352 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.1036, allocations: 0 / 447.7 MB, free: 8.352 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1036, allocations: 0 / 447.7 MB, free: 8.352 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.1037, allocations: 0 / 447.7 MB, free: 8.352 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.0007201/0.1044, allocations: 0.5225 MB / 448.3 MB, free: 7.781 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.1044, allocations: 8.031 kB / 448.3 MB, free: 7.773 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.637e-05/0.1045, allocations: 66.72 kB / 448.3 MB, free: 7.699 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.018e-05/0.1046, allocations: 28.56 kB / 448.4 MB, free: 7.672 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002656/0.1048, allocations: 244.2 kB / 448.6 MB, free: 7.395 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/0.1049, allocations: 24.55 kB / 448.6 MB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.704e-05/0.1049, allocations: 23.98 kB / 448.7 MB, free: 7.348 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006227/0.1055, allocations: 401.2 kB / 449 MB, free: 6.945 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.1056, allocations: 3.938 kB / 449 MB, free: 6.941 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.745e-05/0.1056, allocations: 15.98 kB / 449.1 MB, free: 6.926 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-05/0.1056, allocations: 24.64 kB / 449.1 MB, free: 6.902 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006754/0.1063, allocations: 418.3 kB / 449.5 MB, free: 6.496 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001205/0.1075, allocations: 0.8811 MB / 450.4 MB, free: 5.562 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005713/0.1081, allocations: 306.2 kB / 450.7 MB, free: 5.254 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002121/0.1083, allocations: 100.8 kB / 450.8 MB, free: 5.152 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.744e-05/0.1084, allocations: 4 kB / 450.8 MB, free: 5.148 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.1084, allocations: 42.48 kB / 450.8 MB, free: 5.098 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.212e-06/0.1084, allocations: 7.938 kB / 450.8 MB, free: 5.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007611/0.1092, allocations: 368.7 kB / 451.2 MB, free: 4.727 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.1092, allocations: 51.41 kB / 451.2 MB, free: 4.664 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003339/0.1096, allocations: 359.2 kB / 451.6 MB, free: 4.305 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.1096, allocations: 25.7 kB / 451.6 MB, free: 4.273 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.764e-05/0.1097, allocations: 168.3 kB / 451.8 MB, free: 4.105 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.077e-05/0.1098, allocations: 51.2 kB / 451.8 MB, free: 4.055 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.081e-05/0.1098, allocations: 25.7 kB / 451.9 MB, free: 4.023 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.1099, allocations: 342.8 kB / 452.2 MB, free: 3.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000215/0.1101, allocations: 107.9 kB / 452.3 MB, free: 3.574 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002251/0.1104, allocations: 149.9 kB / 452.4 MB, free: 3.406 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004691/0.1109, allocations: 281.6 kB / 452.7 MB, free: 3.109 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1109, allocations: 0 / 452.7 MB, free: 3.109 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005613/0.1114, allocations: 313.2 kB / 453 MB, free: 2.797 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.1115, allocations: 12.03 kB / 453 MB, free: 2.785 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1115, allocations: 0 / 453 MB, free: 2.785 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.1115, allocations: 4 kB / 453 MB, free: 2.781 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005083/0.112, allocations: 115.9 kB / 453.1 MB, free: 2.668 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1556/0.2676, allocations: 3.702 MB / 456.8 MB, free: 45.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002241/0.2678, allocations: 37.61 kB / 456.9 MB, free: 45.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.179e-05/0.2679, allocations: 17.77 kB / 456.9 MB, free: 45.29 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.0001628/0.268, allocations: 173.7 kB / 457.1 MB, free: 45.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.226e-05/0.2681, allocations: 23.72 kB / 457.1 MB, free: 45.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006013/0.2687, allocations: 357.1 kB / 457.4 MB, free: 45.14 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.2687, allocations: 0.8125 kB / 457.4 MB, free: 45.14 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.2687, allocations: 6.031 kB / 457.5 MB, free: 45.14 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.748e-06/0.2687, allocations: 1.344 kB / 457.5 MB, free: 45.14 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002568/0.269, allocations: 311.3 kB / 457.8 MB, free: 44.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.269, allocations: 0 / 457.8 MB, free: 44.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004255/0.2694, allocations: 113.7 kB / 457.9 MB, free: 44.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.2694, allocations: 2.938 kB / 457.9 MB, free: 44.95 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.2695, allocations: 9.578 kB / 457.9 MB, free: 44.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000989/0.2704, allocations: 3.702 MB / 461.6 MB, free: 41.45 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2705, allocations: 0.7031 kB / 461.6 MB, free: 41.45 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004233/0.2709, allocations: 375.6 kB / 461.9 MB, free: 41.31 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.953e-05/0.2709, allocations: 117.8 kB / 462.1 MB, free: 41.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.569e-05/0.271, allocations: 5.922 kB / 462.1 MB, free: 41.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001485/0.2711, allocations: 7.375 kB / 462.1 MB, free: 41.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.608e-05/0.2712, allocations: 18.12 kB / 462.1 MB, free: 41.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/0.2712, allocations: 3.5 kB / 462.1 MB, free: 41.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001857/0.2714, allocations: 265.1 kB / 462.4 MB, free: 41.12 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2714, allocations: 0 / 462.4 MB, free: 41.12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003129/0.2717, allocations: 69.91 kB / 462.4 MB, free: 41.12 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.0006319/0.2724, allocations: 0.9505 MB / 463.4 MB, free: 40.45 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007392/0.2731, allocations: 329.5 kB / 463.7 MB, free: 40.45 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2731, allocations: 0 / 463.7 MB, free: 40.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004989/0.2736, allocations: 207.2 kB / 463.9 MB, free: 40.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000366/0.274, allocations: 60.39 kB / 464 MB, free: 40.45 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002983/0.277, allocations: 3.572 MB / 467.5 MB, free: 38.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001751/0.2772, allocations: 0.8054 MB / 468.3 MB, free: 38.19 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001389/0.2773, allocations: 60.06 kB / 468.4 MB, free: 38.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.672e-05/0.2774, allocations: 78.53 kB / 468.5 MB, free: 38.18 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2774, allocations: 0 / 468.5 MB, free: 38.18 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01648/0.2939, allocations: 7.942 MB / 476.4 MB, free: 37.46 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001563/0.2941, allocations: 303.2 kB / 476.7 MB, free: 37.07 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.958/2.252, allocations: 0 / 476.7 MB, free: 37.07 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