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.001097/0.001101, allocations: 104.3 kB / 18.4 MB, free: 4.57 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.001027/0.001027, allocations: 191 kB / 19.34 MB, free: 3.641 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.358/1.358, allocations: 222.9 MB / 243 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.2169/0.2169, allocations: 44.17 MB / 337.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 64.67 kB / 409.9 MB, free: 26.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1158, allocations: 60.84 MB / 470.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar): time 0.003208/0.1191, allocations: 2.1 MB / 472.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001715/0.1208, allocations: 1.219 MB / 474.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.807e-05/0.1209, allocations: 0 / 474.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002327/0.1211, allocations: 63.59 kB / 474.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001873/0.1213, allocations: 103.3 kB / 474.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004446/0.1218, allocations: 179.3 kB / 474.4 MB, free: 9.934 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004271/0.1222, allocations: 441.9 kB / 474.8 MB, free: 9.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.2e-05/0.1223, allocations: 44.72 kB / 474.9 MB, free: 9.453 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001801/0.1225, allocations: 159.2 kB / 475 MB, free: 9.297 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001956/0.1227, allocations: 179 kB / 475.2 MB, free: 9.121 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.097e-05/0.1227, allocations: 16 kB / 475.2 MB, free: 9.105 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004057/0.1232, allocations: 267.5 kB / 475.5 MB, free: 8.844 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.399e-05/0.1233, allocations: 87.53 kB / 475.6 MB, free: 8.758 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001678/0.1234, allocations: 174.8 kB / 475.7 MB, free: 8.586 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005463/0.124, allocations: 0.5021 MB / 476.2 MB, free: 8.082 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.124, allocations: 0 / 476.2 MB, free: 8.082 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.124, allocations: 0 / 476.2 MB, free: 8.082 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.124, allocations: 3.938 kB / 476.2 MB, free: 8.078 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.001076/0.1251, allocations: 0.7097 MB / 477 MB, free: 7.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.1251, allocations: 12.03 kB / 477 MB, free: 7.309 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.345e-05/0.1252, allocations: 40.47 kB / 477 MB, free: 7.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003784/0.1256, allocations: 291.4 kB / 477.3 MB, free: 6.945 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.569e-05/0.1256, allocations: 33.31 kB / 477.3 MB, free: 6.914 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.915e-05/0.1257, allocations: 36.38 kB / 477.4 MB, free: 6.879 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008535/0.1265, allocations: 0.5781 MB / 477.9 MB, free: 6.281 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.1266, allocations: 0 / 477.9 MB, free: 6.281 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.55e-05/0.1266, allocations: 16 kB / 478 MB, free: 6.266 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.626e-05/0.1267, allocations: 21 kB / 478 MB, free: 6.246 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008272/0.1275, allocations: 435.5 kB / 478.4 MB, free: 5.816 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001719/0.1292, allocations: 1.363 MB / 479.8 MB, free: 4.391 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004789/0.1297, allocations: 275.6 kB / 480 MB, free: 4.094 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002869/0.13, allocations: 134.5 kB / 480.2 MB, free: 3.953 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.696e-05/0.1301, allocations: 15.97 kB / 480.2 MB, free: 3.938 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.1301, allocations: 34.56 kB / 480.2 MB, free: 3.895 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.533e-06/0.1301, allocations: 0 / 480.2 MB, free: 3.895 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001047/0.1312, allocations: 465 kB / 480.7 MB, free: 3.434 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.996e-05/0.1312, allocations: 102.8 kB / 480.8 MB, free: 3.309 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005511/0.1318, allocations: 0.5018 MB / 481.3 MB, free: 2.801 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/0.1318, allocations: 25.7 kB / 481.3 MB, free: 2.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/0.132, allocations: 204.2 kB / 481.5 MB, free: 2.566 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.741e-05/0.132, allocations: 59.11 kB / 481.6 MB, free: 2.508 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.322e-05/0.1321, allocations: 49.77 kB / 481.6 MB, free: 2.453 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.1323, allocations: 358.8 kB / 481.9 MB, free: 2.094 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002865/0.1326, allocations: 119.9 kB / 482.1 MB, free: 1.977 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003158/0.1329, allocations: 173 kB / 482.2 MB, free: 1.789 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006081/0.1335, allocations: 304.8 kB / 482.5 MB, free: 1.473 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.1335, allocations: 0 / 482.5 MB, free: 1.473 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007513/0.1343, allocations: 382.3 kB / 482.9 MB, free: 1.094 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.1343, allocations: 16.03 kB / 482.9 MB, free: 1.078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-05/0.1344, allocations: 32 kB / 483 MB, free: 1.047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.1344, allocations: 3.984 kB / 483 MB, free: 1.043 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001999/0.1346, allocations: 31.97 kB / 483 MB, free: 1.012 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.1346, allocations: 0 / 483 MB, free: 1.012 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002331/0.1348, allocations: 59.42 kB / 483 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.035e-05/0.1349, allocations: 11.98 kB / 483.1 MB, free: 0.9414 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.0001822/0.1351, allocations: 185.7 kB / 483.2 MB, free: 0.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.648e-05/0.1352, allocations: 43.47 kB / 483.3 MB, free: 0.707 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007158/0.1359, allocations: 384.5 kB / 483.7 MB, free: 332 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.1359, allocations: 7.984 kB / 483.7 MB, free: 324 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.1359, allocations: 0 / 483.7 MB, free: 324 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1359, allocations: 0 / 483.7 MB, free: 324 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004987/0.1364, allocations: 365.3 kB / 484 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-05/0.1365, allocations: 31.98 kB / 484.1 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001424/0.1366, allocations: 27.97 kB / 484.1 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.1367, allocations: 7.938 kB / 484.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.022e-05/0.1367, allocations: 4 kB / 484.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.1367, allocations: 4 kB / 484.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1367, allocations: 0 / 484.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007628/0.1375, allocations: 0.5754 MB / 484.7 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/0.1376, allocations: 124.6 kB / 484.8 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.284e-05/0.1377, allocations: 4 kB / 484.8 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002766/0.1379, allocations: 23.97 kB / 484.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.83e-05/0.138, allocations: 19.98 kB / 484.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.301e-05/0.1381, allocations: 12 kB / 484.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003674/0.1384, allocations: 375 kB / 485.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1384, allocations: 0 / 485.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004744/0.1389, allocations: 123.8 kB / 485.3 MB, free: 14.56 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.0002566/0.1392, allocations: 155.2 kB / 485.5 MB, free: 14.4 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007931/0.14, allocations: 0.5223 MB / 486 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.14, allocations: 4.312 kB / 486 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004232/0.1404, allocations: 387.1 kB / 486.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006227/0.1411, allocations: 98.27 kB / 486.5 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.1423, allocations: 0.8019 MB / 487.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004006/0.1428, allocations: 0.8458 MB / 488.1 MB, free: 11.58 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001412/0.1429, allocations: 63.25 kB / 488.2 MB, free: 11.52 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.14e-05/0.143, allocations: 27.44 kB / 488.2 MB, free: 11.49 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.143, allocations: 0 / 488.2 MB, free: 11.49 MB / 366.1 MB Notification: Performance of Templates: time 0.01144/0.1544, allocations: 7.285 MB / 495.5 MB, free: 4.312 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 cvode -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