Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.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.HelicalPipe.kc_laminar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|n_nt.1.|n_nt.2.|n_nt.3.|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|n_nt.1.|n_nt.2.|n_nt.3.|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 107.3 kB / 18.4 MB, free: 4.59 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.001133/0.001134, allocations: 192 kB / 19.34 MB, free: 3.66 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.374/1.374, allocations: 222.9 MB / 243 MB, free: 15.16 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.2046/0.2046, allocations: 44.18 MB / 337.4 MB, free: 2.715 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 68.3 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1048, allocations: 60.83 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar): time 0.003093/0.1079, allocations: 2.105 MB / 472.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00158/0.1095, allocations: 1.215 MB / 474.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.7e-05/0.1096, allocations: 4 kB / 474.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002315/0.1098, allocations: 67.58 kB / 474.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000193/0.11, allocations: 91.38 kB / 474.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004451/0.1105, allocations: 187.3 kB / 474.4 MB, free: 9.953 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004147/0.1109, allocations: 445.9 kB / 474.8 MB, free: 9.516 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.627e-05/0.111, allocations: 48.7 kB / 474.9 MB, free: 9.465 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001659/0.1111, allocations: 147.2 kB / 475 MB, free: 9.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002034/0.1114, allocations: 187 kB / 475.2 MB, free: 9.137 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.077e-05/0.1114, allocations: 12 kB / 475.2 MB, free: 9.125 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003919/0.1118, allocations: 259.6 kB / 475.5 MB, free: 8.871 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.906e-05/0.1119, allocations: 91.53 kB / 475.6 MB, free: 8.781 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001567/0.1121, allocations: 174.8 kB / 475.7 MB, free: 8.609 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005339/0.1126, allocations: 0.506 MB / 476.2 MB, free: 8.102 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1126, allocations: 0 / 476.2 MB, free: 8.102 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.1126, allocations: 0 / 476.2 MB, free: 8.102 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.1126, allocations: 7.938 kB / 476.2 MB, free: 8.094 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001059/0.1137, allocations: 0.7019 MB / 476.9 MB, free: 7.344 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.031e-05/0.1137, allocations: 12.03 kB / 477 MB, free: 7.332 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.948e-05/0.1138, allocations: 40.47 kB / 477 MB, free: 7.293 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003568/0.1142, allocations: 295.4 kB / 477.3 MB, free: 6.965 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/0.1142, allocations: 29.38 kB / 477.3 MB, free: 6.938 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.997e-05/0.1143, allocations: 40.38 kB / 477.4 MB, free: 6.898 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008325/0.1151, allocations: 0.5742 MB / 477.9 MB, free: 6.305 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.1151, allocations: 0 / 477.9 MB, free: 6.305 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.247e-05/0.1152, allocations: 16 kB / 477.9 MB, free: 6.289 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.197e-05/0.1152, allocations: 20.98 kB / 478 MB, free: 6.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007453/0.116, allocations: 427.6 kB / 478.4 MB, free: 5.848 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00174/0.1177, allocations: 1.371 MB / 479.8 MB, free: 4.414 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000501/0.1182, allocations: 271.6 kB / 480 MB, free: 4.121 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002982/0.1185, allocations: 145.7 kB / 480.2 MB, free: 3.973 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.619e-05/0.1186, allocations: 7.984 kB / 480.2 MB, free: 3.965 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.1186, allocations: 34.56 kB / 480.2 MB, free: 3.922 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.603e-06/0.1186, allocations: 0 / 480.2 MB, free: 3.922 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001068/0.1197, allocations: 468.9 kB / 480.7 MB, free: 3.457 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.237e-05/0.1198, allocations: 106.8 kB / 480.8 MB, free: 3.328 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000499/0.1203, allocations: 0.494 MB / 481.3 MB, free: 2.828 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.1203, allocations: 29.86 kB / 481.3 MB, free: 2.793 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.1204, allocations: 204.2 kB / 481.5 MB, free: 2.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.631e-05/0.1205, allocations: 59.09 kB / 481.5 MB, free: 2.531 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.009e-05/0.1206, allocations: 53.7 kB / 481.6 MB, free: 2.473 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.1207, allocations: 350.8 kB / 481.9 MB, free: 2.121 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002896/0.121, allocations: 123.9 kB / 482.1 MB, free: 2 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003133/0.1213, allocations: 176.5 kB / 482.2 MB, free: 1.812 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005993/0.122, allocations: 308.8 kB / 482.5 MB, free: 1.492 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.122, allocations: 0 / 482.5 MB, free: 1.492 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007499/0.1227, allocations: 378.2 kB / 482.9 MB, free: 1.117 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.1227, allocations: 7.938 kB / 482.9 MB, free: 1.109 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.704e-05/0.1228, allocations: 35.98 kB / 482.9 MB, free: 1.074 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.1228, allocations: 0 / 482.9 MB, free: 1.074 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001909/0.123, allocations: 31.97 kB / 483 MB, free: 1.043 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.123, allocations: 0 / 483 MB, free: 1.043 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002387/0.1233, allocations: 67.5 kB / 483 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.741e-05/0.1233, allocations: 12 kB / 483.1 MB, free: 0.9648 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000167/0.1235, allocations: 181.7 kB / 483.2 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.741e-05/0.1236, allocations: 43.47 kB / 483.3 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006951/0.1243, allocations: 392.4 kB / 483.7 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.415e-05/0.1243, allocations: 4 kB / 483.7 MB, free: 348 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.1243, allocations: 0 / 483.7 MB, free: 348 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1243, allocations: 4 kB / 483.7 MB, free: 344 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004918/0.1248, allocations: 361.4 kB / 484 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.021e-05/0.1249, allocations: 31.98 kB / 484 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001555/0.1251, allocations: 27.95 kB / 484.1 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.062e-06/0.1251, allocations: 7.938 kB / 484.1 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.226e-05/0.1251, allocations: 8 kB / 484.1 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.1251, allocations: 4 kB / 484.1 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1251, allocations: 0 / 484.1 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007692/0.1259, allocations: 0.5754 MB / 484.7 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.126, allocations: 120.6 kB / 484.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.536e-05/0.1261, allocations: 7.984 kB / 484.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000279/0.1264, allocations: 19.98 kB / 484.8 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.683e-05/0.1265, allocations: 19.98 kB / 484.8 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/0.1265, allocations: 11.98 kB / 484.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003736/0.1269, allocations: 375 kB / 485.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1269, allocations: 0 / 485.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004793/0.1274, allocations: 119.8 kB / 485.3 MB, free: 14.59 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002624/0.1276, allocations: 159.2 kB / 485.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008051/0.1284, allocations: 0.5223 MB / 486 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1285, allocations: 0 / 486 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000434/0.1289, allocations: 387.7 kB / 486.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006692/0.1296, allocations: 109.7 kB / 486.5 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.1309, allocations: 0.8021 MB / 487.3 MB, free: 12.47 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003902/0.1313, allocations: 0.8458 MB / 488.1 MB, free: 11.59 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001363/0.1314, allocations: 55.27 kB / 488.2 MB, free: 11.54 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.231e-05/0.1315, allocations: 31.42 kB / 488.2 MB, free: 11.51 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1315, allocations: 0 / 488.2 MB, free: 11.51 MB / 366.1 MB Notification: Performance of Templates: time 0.0111/0.1426, allocations: 7.279 MB / 495.5 MB, free: 4.332 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_laminar/kc_laminar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches