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.001296/0.001296, allocations: 113.1 kB / 21.85 MB, free: 64 kB / 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.001388/0.001388, allocations: 204.1 kB / 25.13 MB, free: 3.578 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.417/1.417, allocations: 230.4 MB / 258.7 MB, free: 8.027 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.2123/0.2123, allocations: 46.94 MB / 362 MB, free: 4.191 MB / 286.1 MB " [Timeout remaining time 180] 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.002401/0.002401, allocations: 80.06 kB / 0.4978 GB, free: 7.316 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.3158, allocations: 66.08 MB / 0.5624 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar): time 0.00349/0.3193, allocations: 2.139 MB / 0.5644 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002155/0.3214, allocations: 1.3 MB / 0.5657 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.453e-05/0.3215, allocations: 4 kB / 0.5657 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003196/0.3218, allocations: 63.59 kB / 0.5658 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002422/0.3221, allocations: 99.36 kB / 0.5659 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005638/0.3227, allocations: 223.1 kB / 0.5661 GB, free: 388 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005316/0.3232, allocations: 434.1 kB / 0.5665 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.61e-05/0.3232, allocations: 16.92 kB / 0.5665 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002713/0.3235, allocations: 159.1 kB / 0.5667 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002794/0.3238, allocations: 195 kB / 0.5669 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.785e-05/0.3238, allocations: 12 kB / 0.5669 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000328/0.3242, allocations: 155.8 kB / 0.567 GB, free: 15.42 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.3243, allocations: 87.55 kB / 0.5671 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001803/0.3245, allocations: 170.8 kB / 0.5673 GB, free: 15.17 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006486/0.3251, allocations: 496.2 kB / 0.5677 GB, free: 14.69 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.3251, allocations: 3.938 kB / 0.5677 GB, free: 14.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.3251, allocations: 0 / 0.5677 GB, free: 14.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.231e-06/0.3251, allocations: 0 / 0.5677 GB, free: 14.68 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.001178/0.3263, allocations: 0.6493 MB / 0.5684 GB, free: 14 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.3264, allocations: 8.031 kB / 0.5684 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003794/0.3267, allocations: 80.61 kB / 0.5685 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003691/0.3271, allocations: 230.8 kB / 0.5687 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.641e-05/0.3271, allocations: 37.36 kB / 0.5687 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.188e-05/0.3272, allocations: 36.38 kB / 0.5687 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009789/0.3282, allocations: 0.578 MB / 0.5693 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.3282, allocations: 0 / 0.5693 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.655e-05/0.3282, allocations: 16 kB / 0.5693 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.525e-05/0.3283, allocations: 24.98 kB / 0.5694 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008539/0.3291, allocations: 423.6 kB / 0.5698 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001923/0.331, allocations: 1.343 MB / 0.5711 GB, free: 11.14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005471/0.3316, allocations: 267.5 kB / 0.5713 GB, free: 10.85 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003156/0.3319, allocations: 134.5 kB / 0.5715 GB, free: 10.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.448e-05/0.3319, allocations: 8 kB / 0.5715 GB, free: 10.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.332, allocations: 34.5 kB / 0.5715 GB, free: 10.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 1.472e-06/0.332, allocations: 0 / 0.5715 GB, free: 10.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.00121/0.3332, allocations: 464 kB / 0.5719 GB, free: 10.2 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001311/0.3333, allocations: 106.8 kB / 0.572 GB, free: 10.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000605/0.3339, allocations: 0.5057 MB / 0.5725 GB, free: 9.562 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.806e-05/0.3339, allocations: 25.95 kB / 0.5726 GB, free: 9.531 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001764/0.3341, allocations: 208.3 kB / 0.5728 GB, free: 9.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.474e-05/0.3342, allocations: 71.39 kB / 0.5728 GB, free: 9.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.823e-05/0.3343, allocations: 49.7 kB / 0.5729 GB, free: 9.195 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001801/0.3345, allocations: 350.8 kB / 0.5732 GB, free: 8.844 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003128/0.3348, allocations: 127.9 kB / 0.5733 GB, free: 8.719 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003513/0.3351, allocations: 169 kB / 0.5735 GB, free: 8.535 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006923/0.3358, allocations: 304.8 kB / 0.5738 GB, free: 8.219 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.3358, allocations: 0 / 0.5738 GB, free: 8.219 MB / 414.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008166/0.3366, allocations: 380.2 kB / 0.5741 GB, free: 7.844 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.3367, allocations: 14.12 kB / 0.5742 GB, free: 7.832 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-05/0.3367, allocations: 31.98 kB / 0.5742 GB, free: 7.801 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.3367, allocations: 4 kB / 0.5742 GB, free: 7.797 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000205/0.3369, allocations: 31.91 kB / 0.5742 GB, free: 7.766 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.3369, allocations: 4 kB / 0.5742 GB, free: 7.762 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000243/0.3372, allocations: 63.69 kB / 0.5743 GB, free: 7.699 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.252e-05/0.3372, allocations: 12 kB / 0.5743 GB, free: 7.688 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.0002061/0.3374, allocations: 181.8 kB / 0.5745 GB, free: 7.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/0.3375, allocations: 47.59 kB / 0.5745 GB, free: 7.453 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008413/0.3384, allocations: 388.5 kB / 0.5749 GB, free: 7.07 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.3384, allocations: 0 / 0.5749 GB, free: 7.07 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.3384, allocations: 8 kB / 0.5749 GB, free: 7.062 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.3384, allocations: 0 / 0.5749 GB, free: 7.062 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005494/0.3389, allocations: 336.4 kB / 0.5752 GB, free: 6.691 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.439e-05/0.339, allocations: 31.98 kB / 0.5752 GB, free: 6.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001556/0.3392, allocations: 23.97 kB / 0.5753 GB, free: 6.637 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.3392, allocations: 7.875 kB / 0.5753 GB, free: 6.629 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.066e-05/0.3392, allocations: 8 kB / 0.5753 GB, free: 6.621 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.093e-06/0.3392, allocations: 0 / 0.5753 GB, free: 6.621 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/0.3392, allocations: 11.92 kB / 0.5753 GB, free: 6.609 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008593/0.3401, allocations: 0.564 MB / 0.5758 GB, free: 6.027 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.3402, allocations: 59.61 kB / 0.5759 GB, free: 5.969 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.865e-05/0.3402, allocations: 4 kB / 0.5759 GB, free: 5.965 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002739/0.3405, allocations: 19.98 kB / 0.5759 GB, free: 5.945 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.205e-05/0.3406, allocations: 23.97 kB / 0.5759 GB, free: 5.922 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.215e-05/0.3406, allocations: 8 kB / 0.576 GB, free: 5.914 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004512/0.3411, allocations: 375 kB / 0.5763 GB, free: 5.547 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3411, allocations: 0 / 0.5763 GB, free: 5.547 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005016/0.3416, allocations: 115.8 kB / 0.5764 GB, free: 5.434 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.0002805/0.3419, allocations: 162.9 kB / 0.5766 GB, free: 5.262 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009006/0.3428, allocations: 0.5146 MB / 0.5771 GB, free: 4.691 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3428, allocations: 0 / 0.5771 GB, free: 4.691 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005132/0.3433, allocations: 379.1 kB / 0.5774 GB, free: 4.266 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006345/0.3439, allocations: 101.9 kB / 0.5775 GB, free: 4.168 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00148/0.3454, allocations: 0.8254 MB / 0.5783 GB, free: 3.309 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005464/0.3459, allocations: 0.8573 MB / 0.5792 GB, free: 2.426 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000147/0.3461, allocations: 59.25 kB / 0.5792 GB, free: 2.367 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.448e-05/0.3461, allocations: 23.44 kB / 0.5793 GB, free: 2.348 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3461, allocations: 0 / 0.5793 GB, free: 2.348 MB / 414.1 MB Notification: Performance of Templates: time 0.0132/0.3593, allocations: 7.473 MB / 0.5866 GB, free: 10.96 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 -s gbode -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/jenkins1/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/jenkins1/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.102023374987766]