Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_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: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|kc.1.|kc.2.|kc.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|kc.1.|kc.2.|kc.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 110 kB / 18.3 MB, free: 4.84 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.00111/0.00111, allocations: 199.4 kB / 19.23 MB, free: 3.914 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.345/1.345, allocations: 222.9 MB / 242.9 MB, free: 15.18 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.2078/0.2078, allocations: 44.18 MB / 337.3 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.0013, allocations: 65.52 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1076, allocations: 60.83 MB / 469.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.003347/0.111, allocations: 1.859 MB / 471.8 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001297/0.1123, allocations: 0.81 MB / 472.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.868e-05/0.1124, allocations: 0 / 472.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002769/0.1127, allocations: 55.67 kB / 472.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002779/0.113, allocations: 79.58 kB / 472.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002569/0.1133, allocations: 83.72 kB / 472.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002897/0.1136, allocations: 262.7 kB / 473.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.018e-05/0.1136, allocations: 28.39 kB / 473.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001467/0.1138, allocations: 103.5 kB / 473.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000178/0.114, allocations: 115.4 kB / 473.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.477e-05/0.114, allocations: 8 kB / 473.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002418/0.1143, allocations: 119.8 kB / 473.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.485e-05/0.1144, allocations: 59.69 kB / 473.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001104/0.1145, allocations: 111.3 kB / 473.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003689/0.1148, allocations: 295.2 kB / 473.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.1149, allocations: 0 / 473.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.1149, allocations: 0 / 473.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.1149, allocations: 4 kB / 473.9 MB, free: 10.38 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0008381/0.1157, allocations: 0.5497 MB / 474.5 MB, free: 9.777 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.1158, allocations: 8.031 kB / 474.5 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.615e-05/0.1158, allocations: 28.56 kB / 474.5 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002555/0.1161, allocations: 239.9 kB / 474.7 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/0.1161, allocations: 20.92 kB / 474.8 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.67e-05/0.1162, allocations: 24.12 kB / 474.8 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005918/0.1168, allocations: 385.2 kB / 475.2 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.1168, allocations: 0 / 475.2 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.889e-05/0.1168, allocations: 11.98 kB / 475.2 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.98e-05/0.1169, allocations: 24.64 kB / 475.2 MB, free: 9 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005886/0.1175, allocations: 370.3 kB / 475.6 MB, free: 8.641 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001249/0.1187, allocations: 0.8462 MB / 476.4 MB, free: 7.742 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004708/0.1192, allocations: 258.3 kB / 476.6 MB, free: 7.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001938/0.1194, allocations: 88.84 kB / 476.7 MB, free: 7.391 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.871e-05/0.1195, allocations: 15.92 kB / 476.8 MB, free: 7.375 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.1195, allocations: 34.56 kB / 476.8 MB, free: 7.332 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.252e-06/0.1195, allocations: 0 / 476.8 MB, free: 7.332 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007602/0.1203, allocations: 327.9 kB / 477.1 MB, free: 7.008 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/0.1203, allocations: 59.34 kB / 477.2 MB, free: 6.938 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003388/0.1207, allocations: 338.9 kB / 477.5 MB, free: 6.602 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.1207, allocations: 29.7 kB / 477.5 MB, free: 6.566 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.1208, allocations: 179.9 kB / 477.7 MB, free: 6.387 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.306e-05/0.1209, allocations: 55.2 kB / 477.8 MB, free: 6.332 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.08e-05/0.121, allocations: 61.86 kB / 477.8 MB, free: 6.262 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.1211, allocations: 338.8 kB / 478.1 MB, free: 5.922 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002118/0.1213, allocations: 100.3 kB / 478.2 MB, free: 5.824 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002613/0.1216, allocations: 189.9 kB / 478.4 MB, free: 5.602 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004823/0.1221, allocations: 298.8 kB / 478.7 MB, free: 5.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1221, allocations: 0 / 478.7 MB, free: 5.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006142/0.1227, allocations: 353 kB / 479.1 MB, free: 4.918 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.1228, allocations: 4 kB / 479.1 MB, free: 4.914 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.1228, allocations: 4 kB / 479.1 MB, free: 4.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.1228, allocations: 4 kB / 479.1 MB, free: 4.906 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005848/0.1234, allocations: 123.9 kB / 479.2 MB, free: 4.785 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001816/0.1252, allocations: 3.653 MB / 482.9 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000231/0.1255, allocations: 39.53 kB / 482.9 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.85e-05/0.1255, allocations: 15.98 kB / 482.9 MB, free: 0.9375 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 22 * 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.0002672/0.1258, allocations: 177.7 kB / 483.1 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.472e-05/0.1258, allocations: 31.81 kB / 483.1 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006892/0.1265, allocations: 334.5 kB / 483.4 MB, free: 400 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.1265, allocations: 0 / 483.4 MB, free: 400 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.1265, allocations: 0 / 483.4 MB, free: 400 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.1266, allocations: 0 / 483.4 MB, free: 400 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003645/0.1269, allocations: 301.3 kB / 483.7 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.1269, allocations: 0 / 483.7 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005202/0.1275, allocations: 108 kB / 483.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.1275, allocations: 7.984 kB / 483.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.907e-05/0.1275, allocations: 8 kB / 483.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001751/0.1293, allocations: 3.649 MB / 487.5 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.1293, allocations: 3.938 kB / 487.5 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005355/0.1298, allocations: 347 kB / 487.8 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.512e-05/0.1299, allocations: 104.8 kB / 487.9 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.489e-05/0.13, allocations: 0 / 487.9 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.1302, allocations: 20.02 kB / 488 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.93e-05/0.1302, allocations: 11.98 kB / 488 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.989e-05/0.1303, allocations: 11.98 kB / 488 MB, free: 11.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002544/0.1305, allocations: 245.9 kB / 488.2 MB, free: 11.37 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1305, allocations: 0 / 488.2 MB, free: 11.37 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000392/0.1309, allocations: 75.94 kB / 488.3 MB, free: 11.3 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 (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 Backend phase and start with SimCode phase: time 0.0002815/0.1312, allocations: 144.6 kB / 488.4 MB, free: 11.15 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009401/0.1322, allocations: 336.4 kB / 488.8 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1322, allocations: 0 / 488.8 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005672/0.1328, allocations: 187.8 kB / 489 MB, free: 10.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004505/0.1332, allocations: 60.8 kB / 489 MB, free: 10.58 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.1343, allocations: 0.5977 MB / 489.6 MB, free: 9.953 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004287/0.1348, allocations: 0.7912 MB / 490.4 MB, free: 9.133 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.1349, allocations: 23.42 kB / 490.4 MB, free: 9.109 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1349, allocations: 4 kB / 490.4 MB, free: 9.105 MB / 366.1 MB Notification: Performance of Templates: time 0.0137/0.1486, allocations: 10.79 MB / 0.4895 GB, free: 14.34 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_turbulent_KC/kc_turbulent_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches