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_turbulent.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.0009569/0.0009569, allocations: 88.2 kB / 20.94 MB, free: 3.609 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.0009994/0.0009994, allocations: 169 kB / 24.25 MB, free: 308 kB / 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 0.9624/0.9624, allocations: 158.6 MB / 186 MB, free: 2.891 MB / 170.7 MB " [Timeout remaining time 179] 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.1511/0.1511, allocations: 32.38 MB / 270.7 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] 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_turbulent,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|n_nt.[0-9,]+.|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,]+.|Nu_3.[0-9,]+.|Re|Pr.[0-9,]+.|input_mflow_1.y|input_mflow_2.y|input_mflow_0.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|n_nt.[0-9,]+.|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,]+.|Nu_3.[0-9,]+.|Re|Pr.[0-9,]+.|input_mflow_1.y|input_mflow_2.y|input_mflow_0.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 347.7 MB, free: 9.738 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.771e-05/1.915e-05, allocations: 6.25 kB / 347.7 MB, free: 9.73 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent): time 0.002209/0.002228, allocations: 2.151 MB / 349.9 MB, free: 7.574 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001235/0.003463, allocations: 1.165 MB / 351 MB, free: 6.398 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.944e-05/0.003552, allocations: 0 / 351 MB, free: 6.398 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002575/0.00381, allocations: 67.47 kB / 351.1 MB, free: 6.332 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001791/0.003989, allocations: 103.2 kB / 351.2 MB, free: 6.23 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003518/0.00434, allocations: 175.3 kB / 351.4 MB, free: 6.059 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002893/0.00463, allocations: 449.7 kB / 351.8 MB, free: 5.617 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.008e-05/0.00468, allocations: 12.94 kB / 351.8 MB, free: 5.609 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001718/0.004852, allocations: 207.2 kB / 352 MB, free: 5.406 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.004995, allocations: 163.4 kB / 352.2 MB, free: 5.246 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.561e-05/0.00502, allocations: 12 kB / 352.2 MB, free: 5.234 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001814/0.005202, allocations: 119.8 kB / 352.3 MB, free: 5.117 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.944e-05/0.005281, allocations: 103.5 kB / 352.4 MB, free: 5.016 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.021e-05/0.005362, allocations: 107.6 kB / 352.5 MB, free: 4.91 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003539/0.005715, allocations: 418.3 kB / 352.9 MB, free: 4.5 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.005718, allocations: 4 kB / 352.9 MB, free: 4.496 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.005719, allocations: 0 / 352.9 MB, free: 4.496 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.005726, allocations: 4 kB / 352.9 MB, free: 4.492 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.0006812/0.006407, allocations: 0.7376 MB / 353.7 MB, free: 3.715 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.006443, allocations: 12.03 kB / 353.7 MB, free: 3.703 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.715e-05/0.00652, allocations: 72.66 kB / 353.8 MB, free: 3.633 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002249/0.006745, allocations: 223.8 kB / 354 MB, free: 3.387 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.304e-05/0.006768, allocations: 33.31 kB / 354 MB, free: 3.355 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.329e-05/0.006801, allocations: 40.36 kB / 354 MB, free: 3.316 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004062/0.007207, allocations: 392.5 kB / 354.4 MB, free: 2.906 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.007219, allocations: 192 / 354.4 MB, free: 2.906 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.447e-05/0.007243, allocations: 16.38 kB / 354.4 MB, free: 2.891 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.61e-05/0.007279, allocations: 32.91 kB / 354.5 MB, free: 2.859 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001994/0.007479, allocations: 153.9 kB / 354.6 MB, free: 2.711 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009013/0.00838, allocations: 1.274 MB / 355.9 MB, free: 1.383 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.008556, allocations: 153.2 kB / 356 MB, free: 1.195 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.434e-05/0.00863, allocations: 51.05 kB / 356.1 MB, free: 1.133 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.344e-05/0.008664, allocations: 19.86 kB / 356.1 MB, free: 1.113 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.58e-05/0.00868, allocations: 37.39 kB / 356.2 MB, free: 1.066 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 1.774e-06/0.008681, allocations: 0 / 356.2 MB, free: 1.066 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003896/0.009071, allocations: 169.5 kB / 356.3 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/0.009107, allocations: 106.8 kB / 356.4 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.009226, allocations: 262.8 kB / 356.7 MB, free: 500 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.009239, allocations: 29.7 kB / 356.7 MB, free: 464 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.211e-05/0.009311, allocations: 274.9 kB / 357 MB, free: 184 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.701e-05/0.009338, allocations: 63.47 kB / 357 MB, free: 120 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.205e-05/0.0094, allocations: 59.3 kB / 357.1 MB, free: 52 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.009561, allocations: 0.504 MB / 357.6 MB, free: 15.54 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.766e-05/0.009658, allocations: 23.98 kB / 357.6 MB, free: 15.51 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.009772, allocations: 90.09 kB / 357.7 MB, free: 15.4 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001879/0.00996, allocations: 130.9 kB / 357.8 MB, free: 15.25 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.009962, allocations: 0 / 357.8 MB, free: 15.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002694/0.01023, allocations: 172.2 kB / 358 MB, free: 15.07 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.01025, allocations: 8 kB / 358 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.92e-05/0.01029, allocations: 28.14 kB / 358 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.01031, allocations: 8 kB / 358.1 MB, free: 15.03 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.01041, allocations: 27.98 kB / 358.1 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.01042, allocations: 3.938 kB / 358.1 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.747e-05/0.0105, allocations: 23.88 kB / 358.1 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.858e-05/0.01052, allocations: 12 kB / 358.1 MB, free: 14.96 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.0001151/0.01063, allocations: 164.5 kB / 358.3 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.017e-05/0.01069, allocations: 31.84 kB / 358.3 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003051/0.011, allocations: 202.8 kB / 358.5 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.011, allocations: 4 kB / 358.5 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.01101, allocations: 11.94 kB / 358.5 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.01101, allocations: 0 / 358.5 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003098/0.01132, allocations: 304.4 kB / 358.8 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.224e-05/0.01136, allocations: 31.98 kB / 358.9 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.862e-05/0.01141, allocations: 19.92 kB / 358.9 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.01142, allocations: 4 kB / 358.9 MB, free: 14.15 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/0.01144, allocations: 8 kB / 358.9 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.01144, allocations: 7.984 kB / 358.9 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.01144, allocations: 0 / 358.9 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004132/0.01185, allocations: 0.5161 MB / 359.4 MB, free: 13.6 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.509e-05/0.01188, allocations: 31.78 kB / 359.4 MB, free: 13.57 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.237e-05/0.0119, allocations: 0 / 359.4 MB, free: 13.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.01201, allocations: 15.98 kB / 359.5 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.612e-05/0.01207, allocations: 27.86 kB / 359.5 MB, free: 13.53 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.01209, allocations: 11.98 kB / 359.5 MB, free: 13.52 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.329e-05/0.01217, allocations: 177.4 kB / 359.7 MB, free: 13.34 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01217, allocations: 3.938 kB / 359.7 MB, free: 13.34 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003093/0.01248, allocations: 135.5 kB / 359.8 MB, free: 13.21 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.0002152/0.0127, allocations: 155 kB / 360 MB, free: 13.04 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003218/0.01302, allocations: 346.8 kB / 360.3 MB, free: 12.64 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01302, allocations: 8.312 kB / 360.3 MB, free: 12.64 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001677/0.01319, allocations: 298.9 kB / 360.6 MB, free: 12.29 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.01353, allocations: 35.97 kB / 360.6 MB, free: 12.25 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/0.0148, allocations: 0.6825 MB / 361.3 MB, free: 11.53 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.843e-05/0.01489, allocations: 147.6 kB / 361.5 MB, free: 11.37 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.022e-05/0.01494, allocations: 17.48 kB / 361.5 MB, free: 11.35 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.531e-05/0.01498, allocations: 16.5 kB / 361.5 MB, free: 11.34 MB / 298.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01498, allocations: 0 / 361.5 MB, free: 11.34 MB / 298.7 MB Notification: Performance of Templates: time 0.006166/0.02114, allocations: 4.705 MB / 366.2 MB, free: 6.703 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_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_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.3139945140574127]