Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.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: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent,tolerance=1e-07,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_1.y|input_mflow_2.y|input_mflow_0.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent,tolerance=1e-07,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_1.y|input_mflow_2.y|input_mflow_0.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009815/0.0009819, allocations: 88.19 kB / 15.7 MB, free: 460 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.001257/0.001257, allocations: 174.8 kB / 16.58 MB, free: 6.844 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.791/1.791, allocations: 205.4 MB / 222.8 MB, free: 5.66 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.3756/0.3756, allocations: 43.57 MB / 314.6 MB, free: 8.82 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.0004785/0.0004786, allocations: 12 kB / 384 MB, free: 7.984 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1355, allocations: 58.87 MB / 442.8 MB, free: 13.01 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent): time 0.002536/0.138, allocations: 1.762 MB / 444.6 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001699/0.1398, allocations: 1.088 MB / 445.7 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.291e-05/0.1399, allocations: 4 kB / 445.7 MB, free: 10.13 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002301/0.1401, allocations: 55.66 kB / 445.8 MB, free: 10.08 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002072/0.1403, allocations: 79.52 kB / 445.8 MB, free: 10 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004293/0.1408, allocations: 143.6 kB / 446 MB, free: 9.859 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005008/0.1413, allocations: 473.9 kB / 446.4 MB, free: 9.395 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.496e-05/0.1414, allocations: 52.69 kB / 446.5 MB, free: 9.344 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002087/0.1416, allocations: 143.2 kB / 446.6 MB, free: 9.203 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002726/0.1419, allocations: 187.2 kB / 446.8 MB, free: 9.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.39e-05/0.1419, allocations: 12 kB / 446.8 MB, free: 9.008 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003492/0.1423, allocations: 199.7 kB / 447 MB, free: 8.812 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.1424, allocations: 91.53 kB / 447.1 MB, free: 8.723 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.851e-05/0.1425, allocations: 77.52 kB / 447.2 MB, free: 8.641 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004328/0.1429, allocations: 339.3 kB / 447.5 MB, free: 8.309 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.143, allocations: 3.938 kB / 447.5 MB, free: 8.305 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.143, allocations: 0 / 447.5 MB, free: 8.305 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.143, allocations: 0 / 447.5 MB, free: 8.305 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001134/0.1441, allocations: 0.6666 MB / 448.2 MB, free: 7.586 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.1442, allocations: 15.97 kB / 448.2 MB, free: 7.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.687e-05/0.1443, allocations: 43.48 kB / 448.2 MB, free: 7.527 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003177/0.1446, allocations: 286.1 kB / 448.5 MB, free: 7.207 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.923e-05/0.1446, allocations: 33 kB / 448.6 MB, free: 7.176 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.555e-05/0.1447, allocations: 36 kB / 448.6 MB, free: 7.141 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/0.146, allocations: 0.5855 MB / 449.2 MB, free: 6.535 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.146, allocations: 0 / 449.2 MB, free: 6.535 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.407e-05/0.146, allocations: 16 kB / 449.2 MB, free: 6.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.227e-05/0.1461, allocations: 24.98 kB / 449.2 MB, free: 6.496 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007883/0.1469, allocations: 451.5 kB / 449.7 MB, free: 6.055 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00187/0.1487, allocations: 1.363 MB / 451 MB, free: 4.625 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006244/0.1494, allocations: 287.6 kB / 451.3 MB, free: 4.316 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003488/0.1497, allocations: 150.5 kB / 451.4 MB, free: 4.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.078e-05/0.1498, allocations: 11.94 kB / 451.5 MB, free: 4.148 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.78e-05/0.1499, allocations: 42.52 kB / 451.5 MB, free: 4.098 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 2.034e-06/0.1499, allocations: 0 / 451.5 MB, free: 4.098 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001232/0.1511, allocations: 493.1 kB / 452 MB, free: 3.609 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.731e-05/0.1512, allocations: 110.9 kB / 452.1 MB, free: 3.477 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006437/0.1519, allocations: 0.5017 MB / 452.6 MB, free: 2.965 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/0.1519, allocations: 29.7 kB / 452.6 MB, free: 2.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002775/0.1522, allocations: 200.2 kB / 452.8 MB, free: 2.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.438e-05/0.1523, allocations: 59.19 kB / 452.9 MB, free: 2.672 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.452e-05/0.1523, allocations: 0 / 452.9 MB, free: 2.672 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000219/0.1525, allocations: 358.8 kB / 453.2 MB, free: 2.312 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000305/0.1528, allocations: 140 kB / 453.4 MB, free: 2.176 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003793/0.1532, allocations: 185.4 kB / 453.5 MB, free: 1.977 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003244/0.1535, allocations: 147.9 kB / 453.7 MB, free: 1.832 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1536, allocations: 0 / 453.7 MB, free: 1.832 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008241/0.1544, allocations: 404.9 kB / 454.1 MB, free: 1.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.72e-05/0.1545, allocations: 4 kB / 454.1 MB, free: 1.426 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.858e-05/0.1545, allocations: 35.94 kB / 454.1 MB, free: 1.391 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.1546, allocations: 4 kB / 454.1 MB, free: 1.387 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000215/0.1548, allocations: 39.91 kB / 454.2 MB, free: 1.348 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.1548, allocations: 4 kB / 454.2 MB, free: 1.344 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002524/0.1551, allocations: 67.38 kB / 454.2 MB, free: 1.277 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.926e-05/0.1551, allocations: 19.94 kB / 454.3 MB, free: 1.258 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002027/0.1553, allocations: 185.7 kB / 454.4 MB, free: 1.066 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.351e-05/0.1554, allocations: 35.53 kB / 454.5 MB, free: 1.031 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007955/0.1562, allocations: 408.3 kB / 454.9 MB, free: 0.6328 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.1562, allocations: 7.953 kB / 454.9 MB, free: 0.625 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1562, allocations: 0 / 454.9 MB, free: 0.625 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.1563, allocations: 0 / 454.9 MB, free: 0.625 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000527/0.1568, allocations: 361.3 kB / 455.2 MB, free: 228 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.968e-05/0.1568, allocations: 27.98 kB / 455.3 MB, free: 200 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001426/0.157, allocations: 39.97 kB / 455.3 MB, free: 160 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.157, allocations: 0 / 455.3 MB, free: 160 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.155e-05/0.157, allocations: 8 kB / 455.3 MB, free: 152 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.157, allocations: 3.938 kB / 455.3 MB, free: 148 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.157, allocations: 3.953 kB / 455.3 MB, free: 144 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2426/0.3996, allocations: 0.5936 MB / 455.9 MB, free: 46.13 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001278/0.3998, allocations: 117.2 kB / 456 MB, free: 46.04 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.126e-05/0.3998, allocations: 4.781 kB / 456 MB, free: 46.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000335/0.4002, allocations: 27.42 kB / 456 MB, free: 46.04 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.431e-05/0.4003, allocations: 22.45 kB / 456.1 MB, free: 46.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.639e-05/0.4003, allocations: 13.25 kB / 456.1 MB, free: 46.04 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003787/0.4007, allocations: 371.3 kB / 456.4 MB, free: 45.95 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.72e-07/0.4007, allocations: 0 / 456.4 MB, free: 45.95 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000492/0.4012, allocations: 119.1 kB / 456.6 MB, free: 45.95 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002516/0.4015, allocations: 154 kB / 456.7 MB, free: 45.86 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007292/0.4022, allocations: 0.5381 MB / 457.3 MB, free: 45.58 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.4022, allocations: 3 kB / 457.3 MB, free: 45.58 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000374/0.4026, allocations: 399.5 kB / 457.6 MB, free: 45.3 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006474/0.4032, allocations: 89.25 kB / 457.7 MB, free: 45.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/0.4045, allocations: 0.8841 MB / 458.6 MB, free: 44.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002486/0.4047, allocations: 0.8479 MB / 459.5 MB, free: 44.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001471/0.4049, allocations: 63.27 kB / 459.5 MB, free: 44.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.839e-05/0.4049, allocations: 26.56 kB / 459.6 MB, free: 44.25 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4049, allocations: 0 / 459.6 MB, free: 44.25 MB / 382.1 MB Notification: Performance of Templates: time 0.01003/0.415, allocations: 6.565 MB / 466.1 MB, free: 43.77 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_turbulent/kc_turbulent.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches