Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009313/0.0009313, allocations: 175.2 kB / 16.72 MB, free: 4.961 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.229/1.229, allocations: 205.4 MB / 222.9 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007593/0.0007593, allocations: 92.75 kB / 271.2 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2885/0.2885, allocations: 43.56 MB / 363.1 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003441/0.0003443, allocations: 15.94 kB / 432 MB, free: 5.559 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09227/0.09263, allocations: 58.85 MB / 490.9 MB, free: 10.62 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar): time 0.001945/0.09462, allocations: 1.746 MB / 492.6 MB, free: 8.859 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001387/0.09602, allocations: 1.178 MB / 493.8 MB, free: 7.672 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.508e-05/0.0961, allocations: 0 / 493.8 MB, free: 7.672 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002112/0.09632, allocations: 47.67 kB / 493.8 MB, free: 7.625 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001786/0.09651, allocations: 87.5 kB / 493.9 MB, free: 7.539 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003746/0.09689, allocations: 155.5 kB / 494.1 MB, free: 7.387 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004158/0.09731, allocations: 477.9 kB / 494.5 MB, free: 6.918 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.468e-05/0.0974, allocations: 48.7 kB / 494.6 MB, free: 6.871 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001629/0.09757, allocations: 143.2 kB / 494.7 MB, free: 6.73 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001928/0.09777, allocations: 187.2 kB / 494.9 MB, free: 6.547 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.125e-05/0.09781, allocations: 12 kB / 494.9 MB, free: 6.535 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003466/0.09816, allocations: 239.5 kB / 495.1 MB, free: 6.301 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.316e-05/0.09825, allocations: 87.59 kB / 495.2 MB, free: 6.215 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001461/0.0984, allocations: 184.7 kB / 495.4 MB, free: 6.027 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003505/0.09876, allocations: 367.2 kB / 495.8 MB, free: 5.668 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.09877, allocations: 0 / 495.8 MB, free: 5.668 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.09878, allocations: 0 / 495.8 MB, free: 5.668 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.09879, allocations: 3.938 kB / 495.8 MB, free: 5.664 MB / 378.7 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.0009481/0.09975, allocations: 0.6474 MB / 496.4 MB, free: 4.965 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.042e-05/0.09978, allocations: 8.031 kB / 496.4 MB, free: 4.957 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.782e-05/0.09986, allocations: 40.47 kB / 496.5 MB, free: 4.918 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002865/0.1001, allocations: 303.2 kB / 496.8 MB, free: 4.582 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.431e-05/0.1002, allocations: 29.38 kB / 496.8 MB, free: 4.555 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.774e-05/0.1002, allocations: 36.38 kB / 496.8 MB, free: 4.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008179/0.1011, allocations: 0.582 MB / 497.4 MB, free: 3.918 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.1011, allocations: 0 / 497.4 MB, free: 3.918 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.01e-05/0.1011, allocations: 20 kB / 497.4 MB, free: 3.898 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.201e-05/0.1012, allocations: 21 kB / 497.4 MB, free: 3.879 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007861/0.102, allocations: 451.5 kB / 497.9 MB, free: 3.438 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001557/0.1035, allocations: 1.387 MB / 499.3 MB, free: 1.984 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004813/0.104, allocations: 283.6 kB / 499.6 MB, free: 1.68 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002999/0.1043, allocations: 150.5 kB / 499.7 MB, free: 1.523 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.301e-05/0.1044, allocations: 4 kB / 499.7 MB, free: 1.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.1044, allocations: 42.56 kB / 499.7 MB, free: 1.469 MB / 378.7 MB Notification: Performance of pre-optimization done (n=17): time 1.493e-06/0.1044, allocations: 0 / 499.7 MB, free: 1.469 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.001086/0.1055, allocations: 496.7 kB / 0.4885 GB, free: 0.9805 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/0.1056, allocations: 110.8 kB / 0.4886 GB, free: 0.8477 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004753/0.1061, allocations: 0.498 MB / 0.4891 GB, free: 348 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.1061, allocations: 29.7 kB / 0.4891 GB, free: 312 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.1062, allocations: 200.2 kB / 0.4893 GB, free: 108 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.217e-05/0.1063, allocations: 59.11 kB / 0.4894 GB, free: 48 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.865e-05/0.1063, allocations: 4 kB / 0.4894 GB, free: 44 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.1669/0.2732, allocations: 352.2 kB / 0.4897 GB, free: 42.85 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004904/0.2737, allocations: 136.2 kB / 0.4898 GB, free: 42.85 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003823/0.2741, allocations: 181.5 kB / 0.49 GB, free: 42.8 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000722/0.2749, allocations: 327.6 kB / 0.4903 GB, free: 42.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/0.2749, allocations: 2.062 kB / 0.4903 GB, free: 42.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0009244/0.2758, allocations: 404.4 kB / 0.4907 GB, free: 42.72 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.2759, allocations: 5.656 kB / 0.4907 GB, free: 42.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-05/0.2759, allocations: 31.5 kB / 0.4908 GB, free: 42.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.276, allocations: 9.016 kB / 0.4908 GB, free: 42.72 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002301/0.2762, allocations: 42.55 kB / 0.4908 GB, free: 42.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.2762, allocations: 3.469 kB / 0.4908 GB, free: 42.72 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002887/0.2765, allocations: 61.56 kB / 0.4909 GB, free: 42.72 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.666e-05/0.2766, allocations: 17.25 kB / 0.4909 GB, free: 42.72 MB / 378.7 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.0002076/0.2768, allocations: 186 kB / 0.4911 GB, free: 42.61 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.2769, allocations: 42.66 kB / 0.4911 GB, free: 42.61 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008653/0.2778, allocations: 393.3 kB / 0.4915 GB, free: 42.56 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/0.2778, allocations: 3.984 kB / 0.4915 GB, free: 42.56 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.2778, allocations: 1.031 kB / 0.4915 GB, free: 42.56 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.2778, allocations: 2.859 kB / 0.4915 GB, free: 42.56 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005705/0.2784, allocations: 362.9 kB / 0.4918 GB, free: 42.37 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.431e-05/0.2785, allocations: 32.95 kB / 0.4919 GB, free: 42.37 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001553/0.2786, allocations: 32.33 kB / 0.4919 GB, free: 42.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.2786, allocations: 1.875 kB / 0.4919 GB, free: 42.37 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.128e-05/0.2787, allocations: 14.09 kB / 0.4919 GB, free: 42.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.2787, allocations: 0 / 0.4919 GB, free: 42.37 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.2787, allocations: 8.969 kB / 0.4919 GB, free: 42.36 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008295/0.2795, allocations: 0.5991 MB / 0.4925 GB, free: 42.05 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/0.2797, allocations: 127.1 kB / 0.4926 GB, free: 41.93 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.383e-05/0.2797, allocations: 6.609 kB / 0.4926 GB, free: 41.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002752/0.28, allocations: 22.45 kB / 0.4926 GB, free: 41.93 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.672e-05/0.2801, allocations: 19.5 kB / 0.4927 GB, free: 41.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.661e-05/0.2801, allocations: 13.41 kB / 0.4927 GB, free: 41.93 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000459/0.2806, allocations: 375.2 kB / 0.493 GB, free: 41.85 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.142e-06/0.2806, allocations: 0 / 0.493 GB, free: 41.85 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005063/0.2811, allocations: 116.6 kB / 0.4931 GB, free: 41.84 MB / 378.7 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.0003702/0.2815, allocations: 160.9 kB / 0.4933 GB, free: 41.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008628/0.2824, allocations: 0.5365 MB / 0.4938 GB, free: 41.45 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.2824, allocations: 0 / 0.4938 GB, free: 41.45 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000445/0.2828, allocations: 399.5 kB / 0.4942 GB, free: 41.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007185/0.2836, allocations: 97.83 kB / 0.4943 GB, free: 41.15 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001514/0.2851, allocations: 0.9117 MB / 0.4952 GB, free: 40.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.2854, allocations: 0.8416 MB / 0.496 GB, free: 40.05 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.667e-05/0.2855, allocations: 28.08 kB / 0.496 GB, free: 40.05 MB / 378.7 MB Notification: Performance of SimCode: time 7.61e-07/0.2855, allocations: 0 / 0.496 GB, free: 40.05 MB / 378.7 MB Notification: Performance of Templates: time 0.0106/0.2961, allocations: 6.914 MB / 0.5028 GB, free: 39.52 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_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_laminar/kc_laminar.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches