Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001945/0.001945, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002472/0.002472, allocations: 212 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, allocations: 230.5 MB / 258.2 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.24/0.24, allocations: 46.93 MB / 361.6 MB, free: 4.211 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,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.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,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.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002432/0.002432, allocations: 87.84 kB / 0.4975 GB, free: 7.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.365, allocations: 66.07 MB / 0.562 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar): time 0.003643/0.3686, allocations: 2.163 MB / 0.5641 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002048/0.3707, allocations: 1.304 MB / 0.5654 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.691e-05/0.3708, allocations: 0 / 0.5654 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002839/0.3711, allocations: 71.59 kB / 0.5655 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002482/0.3713, allocations: 99.36 kB / 0.5656 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005599/0.3719, allocations: 207.3 kB / 0.5658 GB, free: 392 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005279/0.3724, allocations: 441.9 kB / 0.5662 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.943e-05/0.3725, allocations: 12.94 kB / 0.5662 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002775/0.3728, allocations: 171.1 kB / 0.5664 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002622/0.373, allocations: 183 kB / 0.5665 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.523e-05/0.3731, allocations: 16 kB / 0.5665 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004549/0.3735, allocations: 267.6 kB / 0.5668 GB, free: 15.31 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.3736, allocations: 91.53 kB / 0.5669 GB, free: 15.22 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001744/0.3738, allocations: 174.8 kB / 0.5671 GB, free: 15.05 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006558/0.3745, allocations: 0.5159 MB / 0.5676 GB, free: 14.54 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3745, allocations: 4 kB / 0.5676 GB, free: 14.53 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3745, allocations: 0 / 0.5676 GB, free: 14.53 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.3745, allocations: 0 / 0.5676 GB, free: 14.53 MB / 414.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.001225/0.3757, allocations: 0.6531 MB / 0.5682 GB, free: 13.84 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.3757, allocations: 8.031 kB / 0.5682 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003905/0.3761, allocations: 80.61 kB / 0.5683 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003944/0.3765, allocations: 230.8 kB / 0.5685 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.72e-05/0.3765, allocations: 29.38 kB / 0.5685 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.104e-05/0.3766, allocations: 36.38 kB / 0.5686 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009482/0.3775, allocations: 0.582 MB / 0.5691 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.3776, allocations: 0 / 0.5691 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.803e-05/0.3776, allocations: 16 kB / 0.5692 GB, free: 12.83 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.488e-05/0.3776, allocations: 21 kB / 0.5692 GB, free: 12.81 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008407/0.3785, allocations: 427.5 kB / 0.5696 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001904/0.3804, allocations: 1.359 MB / 0.5709 GB, free: 10.97 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005552/0.3809, allocations: 263.6 kB / 0.5712 GB, free: 10.69 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003195/0.3813, allocations: 130.5 kB / 0.5713 GB, free: 10.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.354e-05/0.3813, allocations: 8 kB / 0.5713 GB, free: 10.54 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.3813, allocations: 38.55 kB / 0.5713 GB, free: 10.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 1.452e-06/0.3813, allocations: 0 / 0.5713 GB, free: 10.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.00119/0.3825, allocations: 460.4 kB / 0.5718 GB, free: 10.04 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.377e-05/0.3826, allocations: 111 kB / 0.5719 GB, free: 9.91 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005955/0.3832, allocations: 0.5057 MB / 0.5724 GB, free: 9.398 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.3832, allocations: 25.7 kB / 0.5724 GB, free: 9.367 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001802/0.3834, allocations: 208.3 kB / 0.5726 GB, free: 9.156 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.226e-05/0.3835, allocations: 63.47 kB / 0.5726 GB, free: 9.094 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.974e-05/0.3836, allocations: 49.7 kB / 0.5727 GB, free: 9.039 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.3837, allocations: 350.8 kB / 0.573 GB, free: 8.688 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003334/0.3841, allocations: 127.9 kB / 0.5732 GB, free: 8.562 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003554/0.3844, allocations: 165 kB / 0.5733 GB, free: 8.383 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006615/0.3851, allocations: 308.8 kB / 0.5736 GB, free: 8.062 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.3851, allocations: 0 / 0.5736 GB, free: 8.062 MB / 414.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008147/0.3859, allocations: 377 kB / 0.574 GB, free: 7.688 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.3859, allocations: 11.94 kB / 0.574 GB, free: 7.676 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.397e-05/0.386, allocations: 31.98 kB / 0.574 GB, free: 7.645 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.386, allocations: 4 kB / 0.574 GB, free: 7.641 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001956/0.3862, allocations: 32.12 kB / 0.574 GB, free: 7.609 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.472e-05/0.3862, allocations: 7.984 kB / 0.574 GB, free: 7.602 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002452/0.3865, allocations: 55.55 kB / 0.5741 GB, free: 7.547 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.422e-05/0.3865, allocations: 12 kB / 0.5741 GB, free: 7.535 MB / 414.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.0002374/0.3867, allocations: 189.7 kB / 0.5743 GB, free: 7.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.3868, allocations: 47.64 kB / 0.5743 GB, free: 7.293 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008066/0.3877, allocations: 391.5 kB / 0.5747 GB, free: 6.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.3877, allocations: 4 kB / 0.5747 GB, free: 6.906 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.3877, allocations: 4 kB / 0.5747 GB, free: 6.902 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3877, allocations: 0 / 0.5747 GB, free: 6.902 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005343/0.3882, allocations: 340.4 kB / 0.575 GB, free: 6.527 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.298e-05/0.3883, allocations: 31.94 kB / 0.5751 GB, free: 6.496 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001418/0.3884, allocations: 23.97 kB / 0.5751 GB, free: 6.473 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.3884, allocations: 3.938 kB / 0.5751 GB, free: 6.469 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.696e-05/0.3884, allocations: 15.98 kB / 0.5751 GB, free: 6.453 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3884, allocations: 0 / 0.5751 GB, free: 6.453 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3884, allocations: 0 / 0.5751 GB, free: 6.453 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008887/0.3893, allocations: 0.5757 MB / 0.5757 GB, free: 5.859 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.899e-05/0.3894, allocations: 51.64 kB / 0.5757 GB, free: 5.809 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.615e-05/0.3895, allocations: 4 kB / 0.5757 GB, free: 5.805 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002779/0.3898, allocations: 15.98 kB / 0.5757 GB, free: 5.789 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.707e-05/0.3898, allocations: 23.97 kB / 0.5758 GB, free: 5.766 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.522e-05/0.3899, allocations: 12 kB / 0.5758 GB, free: 5.754 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004312/0.3903, allocations: 375 kB / 0.5761 GB, free: 5.387 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3903, allocations: 4 kB / 0.5761 GB, free: 5.383 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005016/0.3908, allocations: 119.7 kB / 0.5763 GB, free: 5.266 MB / 414.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.000302/0.3911, allocations: 155 kB / 0.5764 GB, free: 5.102 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000929/0.392, allocations: 0.5146 MB / 0.5769 GB, free: 4.531 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.392, allocations: 0 / 0.5769 GB, free: 4.531 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005216/0.3926, allocations: 383.4 kB / 0.5773 GB, free: 4.102 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006569/0.3932, allocations: 97.41 kB / 0.5774 GB, free: 4.008 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00147/0.3947, allocations: 0.8294 MB / 0.5782 GB, free: 3.145 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004784/0.3952, allocations: 0.8496 MB / 0.579 GB, free: 2.27 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001641/0.3953, allocations: 63.25 kB / 0.5791 GB, free: 2.207 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.693e-05/0.3954, allocations: 27.42 kB / 0.5791 GB, free: 2.184 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3954, allocations: 0 / 0.5791 GB, free: 2.184 MB / 414.1 MB Notification: Performance of Templates: time 0.01454/0.4099, allocations: 7.464 MB / 0.5864 GB, free: 10.81 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_laminar/kc_laminar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.6557632852345705]