Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.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.001421/0.001421, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 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.001264/0.001264, allocations: 160.9 kB / 24.91 MB, free: 8.719 MB / 18.57 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.022/1.022, allocations: 177 MB / 205.2 MB, free: 5.027 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2901/0.2901, allocations: 34.86 MB / 296.6 MB, free: 484 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) 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.StraightPipe.kc_turbulent,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|m_flow.[0-9,]+.|Re_1.[0-9,]+.|Nu_1.[0-9,]+.|Nu_2.[0-9,]+.|Re|Pr.[0-9,]+.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|m_flow.[0-9,]+.|Re_1.[0-9,]+.|Nu_1.[0-9,]+.|Nu_2.[0-9,]+.|Re|Pr.[0-9,]+.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 326 MB, free: 7.082 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.441e-05/2.594e-05, allocations: 8.844 kB / 326 MB, free: 7.074 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.004347/0.004373, allocations: 2.119 MB / 328.1 MB, free: 4.945 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002125/0.006498, allocations: 1.13 MB / 329.2 MB, free: 3.812 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001369/0.006635, allocations: 0 / 329.2 MB, free: 3.812 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000314/0.006949, allocations: 59.61 kB / 329.3 MB, free: 3.754 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002669/0.007216, allocations: 87.34 kB / 329.4 MB, free: 3.668 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006853/0.007901, allocations: 175.3 kB / 329.6 MB, free: 3.496 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004541/0.008355, allocations: 351 kB / 329.9 MB, free: 3.152 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.337e-05/0.008428, allocations: 18.89 kB / 329.9 MB, free: 3.137 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003566/0.008785, allocations: 163.4 kB / 330.1 MB, free: 2.977 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002249/0.00901, allocations: 111.6 kB / 330.2 MB, free: 2.867 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.524e-05/0.009045, allocations: 12 kB / 330.2 MB, free: 2.855 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003837/0.009429, allocations: 159.7 kB / 330.4 MB, free: 2.699 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001178/0.009547, allocations: 83.61 kB / 330.4 MB, free: 2.617 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.009648, allocations: 71.72 kB / 330.5 MB, free: 2.547 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005722/0.01022, allocations: 374.6 kB / 330.9 MB, free: 2.18 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.01022, allocations: 0 / 330.9 MB, free: 2.18 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.01023, allocations: 0 / 330.9 MB, free: 2.18 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.154e-06/0.01023, allocations: 4 kB / 330.9 MB, free: 2.176 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.0008847/0.01112, allocations: 0.5049 MB / 331.4 MB, free: 1.648 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.01116, allocations: 12.03 kB / 331.4 MB, free: 1.637 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003881/0.01155, allocations: 72.88 kB / 331.5 MB, free: 1.566 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000273/0.01183, allocations: 177.3 kB / 331.6 MB, free: 1.367 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.733e-05/0.01185, allocations: 17.03 kB / 331.7 MB, free: 1.348 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.071e-05/0.01189, allocations: 32.12 kB / 331.7 MB, free: 1.316 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004834/0.01238, allocations: 286.2 kB / 332 MB, free: 1.016 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.01239, allocations: 0 / 332 MB, free: 1.016 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.836e-05/0.01242, allocations: 12 kB / 332 MB, free: 1.004 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.022e-05/0.01246, allocations: 16.64 kB / 332 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002184/0.01268, allocations: 118.1 kB / 332.1 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001134/0.01381, allocations: 0.7517 MB / 332.9 MB, free: 88 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002478/0.01406, allocations: 156.1 kB / 333 MB, free: 15.9 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.744e-05/0.01413, allocations: 38.56 kB / 333.1 MB, free: 15.86 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.574e-05/0.01416, allocations: 7.938 kB / 333.1 MB, free: 15.85 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.01419, allocations: 30.56 kB / 333.1 MB, free: 15.81 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 2.735e-06/0.01419, allocations: 4 kB / 333.1 MB, free: 15.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003484/0.01454, allocations: 102 kB / 333.2 MB, free: 15.7 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.801e-05/0.0146, allocations: 106.8 kB / 333.3 MB, free: 15.57 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002013/0.0148, allocations: 228.9 kB / 333.5 MB, free: 15.33 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.01482, allocations: 25.7 kB / 333.5 MB, free: 15.3 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.01495, allocations: 200.2 kB / 333.7 MB, free: 15.1 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.157e-05/0.01499, allocations: 43.88 kB / 333.8 MB, free: 15.06 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.01509, allocations: 65.88 kB / 333.8 MB, free: 14.98 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.01521, allocations: 334.8 kB / 334.2 MB, free: 14.65 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.471e-05/0.0153, allocations: 23.05 kB / 334.2 MB, free: 14.62 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001439/0.01544, allocations: 136.3 kB / 334.3 MB, free: 14.44 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002703/0.01571, allocations: 210.6 kB / 334.5 MB, free: 14.17 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.01571, allocations: 0 / 334.5 MB, free: 14.17 MB / 314.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003502/0.01606, allocations: 183.7 kB / 334.7 MB, free: 13.98 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.01608, allocations: 8 kB / 334.7 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.395e-05/0.01613, allocations: 12 kB / 334.7 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.01615, allocations: 12.41 kB / 334.7 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001859/0.01633, allocations: 43.97 kB / 334.8 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.01635, allocations: 11.92 kB / 334.8 MB, free: 13.9 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000175/0.01652, allocations: 35.78 kB / 334.8 MB, free: 13.86 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.251e-05/0.01655, allocations: 15.98 kB / 334.9 MB, free: 13.85 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_1[1].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[3].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0001383/0.01669, allocations: 132.5 kB / 335 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.399e-05/0.01678, allocations: 19.98 kB / 335 MB, free: 13.69 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003147/0.01709, allocations: 128 kB / 335.1 MB, free: 13.56 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.0171, allocations: 8 kB / 335.1 MB, free: 13.55 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.0171, allocations: 0 / 335.1 MB, free: 13.55 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.0171, allocations: 0 / 335.1 MB, free: 13.55 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003704/0.01747, allocations: 145.7 kB / 335.3 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.243e-05/0.01751, allocations: 11.98 kB / 335.3 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.383e-05/0.0176, allocations: 19.92 kB / 335.3 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.01761, allocations: 8 kB / 335.3 MB, free: 13.35 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.01762, allocations: 0 / 335.3 MB, free: 13.35 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/0.01763, allocations: 3.984 kB / 335.3 MB, free: 13.35 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.01763, allocations: 4 kB / 335.3 MB, free: 13.34 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003172/0.01795, allocations: 388.7 kB / 335.7 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.44e-05/0.01798, allocations: 19.8 kB / 335.7 MB, free: 12.93 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.046e-05/0.01801, allocations: 4 kB / 335.7 MB, free: 12.92 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001909/0.0182, allocations: 7.984 kB / 335.7 MB, free: 12.91 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.827e-05/0.01827, allocations: 19.92 kB / 335.8 MB, free: 12.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.01829, allocations: 4 kB / 335.8 MB, free: 12.89 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.198e-05/0.01838, allocations: 70.78 kB / 335.8 MB, free: 12.82 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01838, allocations: 0 / 335.8 MB, free: 12.82 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005819/0.01896, allocations: 111.6 kB / 335.9 MB, free: 12.71 MB / 314.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 (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0003156/0.01928, allocations: 144.2 kB / 336.1 MB, free: 12.56 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003551/0.01963, allocations: 259.3 kB / 336.3 MB, free: 12.27 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.014e-05/0.01964, allocations: 0 / 336.3 MB, free: 12.27 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001588/0.0198, allocations: 203.5 kB / 336.5 MB, free: 12.03 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004707/0.02027, allocations: 37.61 kB / 336.6 MB, free: 12 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/0.02152, allocations: 0.5248 MB / 337.1 MB, free: 11.44 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001036/0.02162, allocations: 103.9 kB / 337.2 MB, free: 11.32 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.276e-05/0.02171, allocations: 17.64 kB / 337.2 MB, free: 11.3 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002202/0.02193, allocations: 115.3 kB / 337.3 MB, free: 11.18 MB / 314.7 MB Notification: Performance of SimCode: time 8.42e-07/0.02193, allocations: 0 / 337.3 MB, free: 11.18 MB / 314.7 MB Notification: Performance of Templates: time 0.009892/0.03183, allocations: 4.612 MB / 341.9 MB, free: 6.66 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_turbulent/kc_turbulent.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.17863702820614]