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_laminar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002656/0.002656, allocations: 92.97 kB / 20.21 MB, free: 4.203 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00301/0.00301, allocations: 165.2 kB / 23.53 MB, free: 0.8906 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.56/1.56, allocations: 158.6 MB / 185.3 MB, free: 2.48 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.235/0.235, allocations: 32.38 MB / 270 MB, free: 14.72 MB / 266.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 0 / 347 MB, free: 9.738 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.61e-05/3.837e-05, allocations: 6.25 kB / 347 MB, free: 9.73 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar): time 0.003571/0.00361, allocations: 2.12 MB / 349.1 MB, free: 7.605 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001919/0.005529, allocations: 1.228 MB / 350.3 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.005632, allocations: 7.938 kB / 350.3 MB, free: 6.359 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004105/0.006042, allocations: 67.53 kB / 350.4 MB, free: 6.293 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002486/0.006291, allocations: 103.3 kB / 350.5 MB, free: 6.191 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005867/0.006878, allocations: 191.1 kB / 350.7 MB, free: 6.004 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004449/0.007323, allocations: 453.7 kB / 351.1 MB, free: 5.559 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.308e-05/0.007396, allocations: 16.94 kB / 351.2 MB, free: 5.547 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003093/0.007705, allocations: 199.2 kB / 351.3 MB, free: 5.352 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000221/0.007926, allocations: 159.5 kB / 351.5 MB, free: 5.195 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.595e-05/0.007972, allocations: 12 kB / 351.5 MB, free: 5.184 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003052/0.008277, allocations: 131.8 kB / 351.6 MB, free: 5.055 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001247/0.008402, allocations: 99.48 kB / 351.7 MB, free: 4.957 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001284/0.00853, allocations: 103.6 kB / 351.8 MB, free: 4.855 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006503/0.009181, allocations: 0.4903 MB / 352.3 MB, free: 4.363 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.009186, allocations: 0 / 352.3 MB, free: 4.363 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.009188, allocations: 0 / 352.3 MB, free: 4.363 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.166e-06/0.009196, allocations: 0 / 352.3 MB, free: 4.363 MB / 282.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.001152/0.01035, allocations: 0.745 MB / 353.1 MB, free: 3.578 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.325e-05/0.0104, allocations: 12.03 kB / 353.1 MB, free: 3.566 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000135/0.01054, allocations: 72.66 kB / 353.2 MB, free: 3.496 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004029/0.01094, allocations: 227.8 kB / 353.4 MB, free: 3.246 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.174e-05/0.01097, allocations: 33.31 kB / 353.4 MB, free: 3.215 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.118e-05/0.01102, allocations: 40.36 kB / 353.5 MB, free: 3.176 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000663/0.01169, allocations: 439.7 kB / 353.9 MB, free: 2.723 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/0.01171, allocations: 4.125 kB / 353.9 MB, free: 2.719 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.691e-05/0.01175, allocations: 20.38 kB / 353.9 MB, free: 2.699 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.408e-05/0.01181, allocations: 24.94 kB / 353.9 MB, free: 2.676 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005152/0.01232, allocations: 247.8 kB / 354.2 MB, free: 2.434 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001632/0.01396, allocations: 1.325 MB / 355.5 MB, free: 1.055 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003471/0.0143, allocations: 169.2 kB / 355.7 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001772/0.01448, allocations: 79.03 kB / 355.7 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.822e-05/0.01456, allocations: 15.86 kB / 355.8 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.01458, allocations: 45.39 kB / 355.8 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 1.492e-06/0.01458, allocations: 0 / 355.8 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007727/0.01535, allocations: 237.5 kB / 356 MB, free: 464 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.87e-05/0.01542, allocations: 106.8 kB / 356.1 MB, free: 332 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002421/0.01566, allocations: 266.8 kB / 356.4 MB, free: 44 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.01569, allocations: 25.7 kB / 356.4 MB, free: 12 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002912/0.01598, allocations: 279.1 kB / 356.7 MB, free: 15.73 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.588e-05/0.01606, allocations: 67.47 kB / 356.8 MB, free: 15.67 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000135/0.0162, allocations: 63.31 kB / 356.8 MB, free: 15.6 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000386/0.01658, allocations: 0.504 MB / 357.3 MB, free: 15.08 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002053/0.01679, allocations: 51.95 kB / 357.4 MB, free: 15.03 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002682/0.01706, allocations: 106.2 kB / 357.5 MB, free: 14.9 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004942/0.01755, allocations: 184.9 kB / 357.7 MB, free: 14.7 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.01755, allocations: 0 / 357.7 MB, free: 14.7 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005956/0.01815, allocations: 213.3 kB / 357.9 MB, free: 14.48 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.01817, allocations: 4 kB / 357.9 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.518e-05/0.01825, allocations: 32.16 kB / 357.9 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.66e-05/0.01827, allocations: 7.984 kB / 357.9 MB, free: 14.44 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001942/0.01847, allocations: 23.98 kB / 357.9 MB, free: 14.42 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/0.01848, allocations: 3.938 kB / 357.9 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001722/0.01865, allocations: 27.88 kB / 358 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.281e-05/0.01869, allocations: 8 kB / 358 MB, free: 14.38 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002799/0.01897, allocations: 216.5 kB / 358.2 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.459e-05/0.01906, allocations: 19.91 kB / 358.2 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006775/0.01974, allocations: 234.8 kB / 358.4 MB, free: 13.9 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.328e-06/0.01975, allocations: 8 kB / 358.4 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.01976, allocations: 3.938 kB / 358.4 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.01976, allocations: 4 kB / 358.4 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006031/0.02037, allocations: 304.4 kB / 358.7 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.508e-05/0.02043, allocations: 31.98 kB / 358.8 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000123/0.02055, allocations: 23.92 kB / 358.8 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.02056, allocations: 0 / 358.8 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.927e-05/0.02059, allocations: 8 kB / 358.8 MB, free: 13.49 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.02059, allocations: 0 / 358.8 MB, free: 13.49 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.02059, allocations: 0 / 358.8 MB, free: 13.49 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008447/0.02144, allocations: 0.5705 MB / 359.4 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.975e-05/0.02148, allocations: 23.84 kB / 359.4 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.954e-05/0.02152, allocations: 4 kB / 359.4 MB, free: 12.87 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002028/0.02173, allocations: 16 kB / 359.4 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.02184, allocations: 27.84 kB / 359.4 MB, free: 12.83 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-05/0.02187, allocations: 8 kB / 359.5 MB, free: 12.82 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001864/0.02205, allocations: 189.4 kB / 359.6 MB, free: 12.64 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02205, allocations: 0 / 359.6 MB, free: 12.64 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006947/0.02275, allocations: 143.5 kB / 359.8 MB, free: 12.5 MB / 298.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 (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.0004136/0.02316, allocations: 163 kB / 359.9 MB, free: 12.32 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007936/0.02395, allocations: 398.8 kB / 360.3 MB, free: 11.88 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.165e-06/0.02396, allocations: 0 / 360.3 MB, free: 11.88 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004787/0.02444, allocations: 326.9 kB / 360.6 MB, free: 11.5 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005366/0.02497, allocations: 40.16 kB / 360.7 MB, free: 11.46 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002172/0.02714, allocations: 0.6785 MB / 361.4 MB, free: 10.75 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/0.02749, allocations: 226.8 kB / 361.6 MB, free: 10.51 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.708e-05/0.02759, allocations: 17.47 kB / 361.6 MB, free: 10.49 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.357e-05/0.02766, allocations: 24.48 kB / 361.6 MB, free: 10.46 MB / 298.7 MB Notification: Performance of SimCode: time 1.082e-06/0.02766, allocations: 0 / 361.6 MB, free: 10.46 MB / 298.7 MB Notification: Performance of Templates: time 0.01189/0.03955, allocations: 4.816 MB / 366.4 MB, free: 5.73 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.905660227988847]