Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00114/0.00114, allocations: 199.4 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.245/1.245, allocations: 226.5 MB / 243.4 MB, free: 6.453 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007741/0.000774, allocations: 91.78 kB / 295.5 MB, free: 6.645 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3767/0.3767, allocations: 44.82 MB / 392.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002726/0.0002727, allocations: 4 kB / 465.3 MB, free: 12.63 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2962/0.2965, allocations: 62.96 MB / 0.5159 GB, free: 37.09 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar): time 0.001686/0.2983, allocations: 1.771 MB / 0.5176 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001249/0.2995, allocations: 1.167 MB / 0.5188 GB, free: 34.99 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.665e-05/0.2996, allocations: 0 / 0.5188 GB, free: 34.99 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001996/0.2998, allocations: 44.19 kB / 0.5188 GB, free: 34.97 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000159/0.3, allocations: 89.67 kB / 0.5189 GB, free: 34.92 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000384/0.3004, allocations: 154.6 kB / 0.519 GB, free: 34.86 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003425/0.3007, allocations: 478.1 kB / 0.5195 GB, free: 34.66 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.796e-05/0.3008, allocations: 42.08 kB / 0.5195 GB, free: 34.65 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001868/0.301, allocations: 151.2 kB / 0.5197 GB, free: 34.59 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001727/0.3012, allocations: 186.1 kB / 0.5199 GB, free: 34.52 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.051e-05/0.3012, allocations: 16.72 kB / 0.5199 GB, free: 34.51 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000338/0.3016, allocations: 250.5 kB / 0.5201 GB, free: 34.43 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.505e-05/0.3017, allocations: 93.2 kB / 0.5202 GB, free: 34.39 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001198/0.3018, allocations: 179.5 kB / 0.5204 GB, free: 34.27 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003079/0.3021, allocations: 367.8 kB / 0.5207 GB, free: 34.16 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.3021, allocations: 2.938 kB / 0.5207 GB, free: 34.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3021, allocations: 0 / 0.5207 GB, free: 34.16 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.3021, allocations: 0 / 0.5207 GB, free: 34.16 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.0008747/0.303, allocations: 0.6409 MB / 0.5214 GB, free: 33.65 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.3031, allocations: 9.094 kB / 0.5214 GB, free: 33.65 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003505/0.3034, allocations: 92.17 kB / 0.5214 GB, free: 33.62 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002584/0.3037, allocations: 283.6 kB / 0.5217 GB, free: 33.38 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/0.3037, allocations: 27.81 kB / 0.5217 GB, free: 33.37 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.357e-05/0.3038, allocations: 37.06 kB / 0.5218 GB, free: 33.36 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007728/0.3045, allocations: 0.5886 MB / 0.5224 GB, free: 33.13 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.3046, allocations: 0 / 0.5224 GB, free: 33.13 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.958e-05/0.3046, allocations: 21.67 kB / 0.5224 GB, free: 33.12 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.092e-05/0.3046, allocations: 25.66 kB / 0.5224 GB, free: 33.11 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007169/0.3054, allocations: 449.2 kB / 0.5228 GB, free: 33.02 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001406/0.3068, allocations: 1.375 MB / 0.5242 GB, free: 32.2 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004534/0.3073, allocations: 289 kB / 0.5244 GB, free: 32.09 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002805/0.3075, allocations: 146.9 kB / 0.5246 GB, free: 32.05 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.453e-05/0.3076, allocations: 10.48 kB / 0.5246 GB, free: 32.04 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.518e-05/0.3076, allocations: 37.5 kB / 0.5246 GB, free: 32 MB / 378.7 MB Notification: Performance of pre-optimization done (n=17): time 1.563e-06/0.3076, allocations: 0 / 0.5246 GB, free: 32 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.00104/0.3087, allocations: 498.1 kB / 0.5251 GB, free: 31.89 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.3087, allocations: 109.7 kB / 0.5252 GB, free: 31.76 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004271/0.3091, allocations: 0.4987 MB / 0.5257 GB, free: 31.55 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.3092, allocations: 33.77 kB / 0.5257 GB, free: 31.51 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.3093, allocations: 206.1 kB / 0.5259 GB, free: 31.34 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.715e-05/0.3093, allocations: 54.45 kB / 0.526 GB, free: 31.3 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.758e-05/0.3093, allocations: 4 kB / 0.526 GB, free: 31.3 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.371e-05/0.3094, allocations: 348.6 kB / 0.5263 GB, free: 30.97 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002795/0.3097, allocations: 143.2 kB / 0.5265 GB, free: 30.95 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002832/0.31, allocations: 182.3 kB / 0.5266 GB, free: 30.89 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005703/0.3106, allocations: 327.5 kB / 0.5269 GB, free: 30.79 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.3106, allocations: 3.938 kB / 0.5269 GB, free: 30.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007069/0.3113, allocations: 397.9 kB / 0.5273 GB, free: 30.69 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.3113, allocations: 12.16 kB / 0.5273 GB, free: 30.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.255e-05/0.3114, allocations: 32.88 kB / 0.5274 GB, free: 30.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.3114, allocations: 2.812 kB / 0.5274 GB, free: 30.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001903/0.3116, allocations: 46.77 kB / 0.5274 GB, free: 30.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.3116, allocations: 2.906 kB / 0.5274 GB, free: 30.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002285/0.3118, allocations: 63.78 kB / 0.5275 GB, free: 30.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.744e-05/0.3119, allocations: 13.09 kB / 0.5275 GB, free: 30.64 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.0001461/0.312, allocations: 187.4 kB / 0.5277 GB, free: 30.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.437e-05/0.3121, allocations: 45.59 kB / 0.5277 GB, free: 30.47 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006453/0.3128, allocations: 395.2 kB / 0.5281 GB, free: 30.36 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.3128, allocations: 6.969 kB / 0.5281 GB, free: 30.35 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3128, allocations: 0 / 0.5281 GB, free: 30.35 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.3128, allocations: 2.781 kB / 0.5281 GB, free: 30.35 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004224/0.3132, allocations: 361.5 kB / 0.5284 GB, free: 30.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.314e-05/0.3133, allocations: 28.69 kB / 0.5285 GB, free: 30.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001399/0.3134, allocations: 38.92 kB / 0.5285 GB, free: 30.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.3134, allocations: 3.938 kB / 0.5285 GB, free: 30.1 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.238e-05/0.3135, allocations: 9.625 kB / 0.5285 GB, free: 30.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.3135, allocations: 3.031 kB / 0.5285 GB, free: 30.09 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3135, allocations: 0 / 0.5285 GB, free: 30.09 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000692/0.3142, allocations: 0.5889 MB / 0.5291 GB, free: 29.76 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.604e-05/0.3143, allocations: 126.2 kB / 0.5292 GB, free: 29.63 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.201e-05/0.3143, allocations: 10.12 kB / 0.5292 GB, free: 29.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002606/0.3146, allocations: 20.12 kB / 0.5292 GB, free: 29.63 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.369e-05/0.3147, allocations: 22.89 kB / 0.5293 GB, free: 29.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.26e-05/0.3147, allocations: 16.03 kB / 0.5293 GB, free: 29.62 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003073/0.315, allocations: 370.4 kB / 0.5296 GB, free: 29.46 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.315, allocations: 3.938 kB / 0.5296 GB, free: 29.46 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004565/0.3155, allocations: 122.4 kB / 0.5298 GB, free: 29.44 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.0002355/0.3158, allocations: 156.6 kB / 0.5299 GB, free: 29.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006987/0.3165, allocations: 0.5377 MB / 0.5304 GB, free: 29 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3165, allocations: 3.938 kB / 0.5304 GB, free: 29 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003562/0.3168, allocations: 401.3 kB / 0.5308 GB, free: 28.69 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006583/0.3175, allocations: 92.94 kB / 0.5309 GB, free: 28.65 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/0.3187, allocations: 0.9155 MB / 0.5318 GB, free: 28.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002217/0.3189, allocations: 0.8426 MB / 0.5326 GB, free: 27.49 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.269e-05/0.319, allocations: 24.91 kB / 0.5326 GB, free: 27.48 MB / 378.7 MB Notification: Performance of SimCode: time 4.5e-07/0.319, allocations: 0 / 0.5326 GB, free: 27.48 MB / 378.7 MB Notification: Performance of Templates: time 0.01039/0.3294, allocations: 6.923 MB / 0.5394 GB, free: 26.92 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_laminar/kc_laminar.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches