Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.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.001132/0.001132, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.00477/0.00477, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 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.049/1.049, allocations: 177 MB / 204.8 MB, free: 5.605 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.292/0.292, allocations: 34.86 MB / 296.3 MB, free: 0.543 MB / 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.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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 378.8 MB, free: 2.055 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.641e-05/2.826e-05, allocations: 3.859 kB / 378.8 MB, free: 2.051 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent): time 0.002889/0.002917, allocations: 2.159 MB / 381 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001725/0.004642, allocations: 1.199 MB / 382.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001435/0.004785, allocations: 4 kB / 382.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003048/0.00509, allocations: 67.53 kB / 382.2 MB, free: 14.6 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002515/0.005342, allocations: 103.3 kB / 382.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005427/0.005884, allocations: 187.1 kB / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004698/0.006354, allocations: 457.7 kB / 383 MB, free: 13.87 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.278e-05/0.006427, allocations: 16.94 kB / 383 MB, free: 13.85 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004081/0.006835, allocations: 215.2 kB / 383.2 MB, free: 13.64 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002383/0.007073, allocations: 159.5 kB / 383.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.709e-05/0.00711, allocations: 15.94 kB / 383.4 MB, free: 13.47 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002734/0.007384, allocations: 123.8 kB / 383.5 MB, free: 13.35 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.007495, allocations: 103.4 kB / 383.6 MB, free: 13.25 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.007603, allocations: 107.6 kB / 383.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004869/0.00809, allocations: 438.2 kB / 384.1 MB, free: 12.71 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.008095, allocations: 0 / 384.1 MB, free: 12.71 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.008097, allocations: 0 / 384.1 MB, free: 12.71 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.008105, allocations: 0 / 384.1 MB, free: 12.71 MB / 362.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.000848/0.008953, allocations: 0.7337 MB / 384.9 MB, free: 11.94 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.00899, allocations: 12.03 kB / 384.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000267/0.009257, allocations: 100.6 kB / 385 MB, free: 11.83 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002866/0.009543, allocations: 233.3 kB / 385.2 MB, free: 11.58 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.455e-05/0.009568, allocations: 29.38 kB / 385.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.849e-05/0.009606, allocations: 40.31 kB / 385.3 MB, free: 11.51 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00047/0.01008, allocations: 392.5 kB / 385.6 MB, free: 11.1 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.01009, allocations: 4.188 kB / 385.6 MB, free: 11.1 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.669e-05/0.01012, allocations: 20.31 kB / 385.7 MB, free: 11.08 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.053e-05/0.01016, allocations: 28.92 kB / 385.7 MB, free: 11.05 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002341/0.01039, allocations: 149.9 kB / 385.8 MB, free: 10.9 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00116/0.01155, allocations: 1.27 MB / 387.1 MB, free: 9.586 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002147/0.01176, allocations: 145.2 kB / 387.3 MB, free: 9.406 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.453e-05/0.01185, allocations: 51.05 kB / 387.3 MB, free: 9.344 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.929e-05/0.01189, allocations: 15.88 kB / 387.3 MB, free: 9.328 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.01191, allocations: 45.38 kB / 387.4 MB, free: 9.273 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.663e-06/0.01191, allocations: 0 / 387.4 MB, free: 9.273 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004024/0.01231, allocations: 169.5 kB / 387.5 MB, free: 9.102 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/0.01237, allocations: 110.8 kB / 387.6 MB, free: 8.969 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/0.01253, allocations: 250.9 kB / 387.9 MB, free: 8.703 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.01255, allocations: 29.7 kB / 387.9 MB, free: 8.668 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.01267, allocations: 282.8 kB / 388.2 MB, free: 8.387 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.587e-05/0.0127, allocations: 59.48 kB / 388.2 MB, free: 8.328 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.55e-05/0.01278, allocations: 55.36 kB / 388.3 MB, free: 8.266 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.0129, allocations: 0.5081 MB / 388.8 MB, free: 7.746 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.768e-05/0.01297, allocations: 31.98 kB / 388.8 MB, free: 7.715 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.01308, allocations: 90.09 kB / 388.9 MB, free: 7.602 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001796/0.01325, allocations: 128.6 kB / 389.1 MB, free: 7.453 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.01326, allocations: 0 / 389.1 MB, free: 7.453 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002626/0.01352, allocations: 169.5 kB / 389.2 MB, free: 7.281 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.01354, allocations: 11.94 kB / 389.2 MB, free: 7.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.814e-05/0.01358, allocations: 24 kB / 389.3 MB, free: 7.246 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.01359, allocations: 4 kB / 389.3 MB, free: 7.242 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.0137, allocations: 27.97 kB / 389.3 MB, free: 7.215 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.01371, allocations: 7.938 kB / 389.3 MB, free: 7.207 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.485e-05/0.01379, allocations: 27.83 kB / 389.3 MB, free: 7.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.965e-05/0.01381, allocations: 15.98 kB / 389.3 MB, free: 7.164 MB / 362.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.0001/0.01391, allocations: 168.6 kB / 389.5 MB, free: 6.988 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.572e-05/0.01396, allocations: 23.91 kB / 389.5 MB, free: 6.965 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003205/0.01428, allocations: 214.7 kB / 389.7 MB, free: 6.742 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.01429, allocations: 4 kB / 389.7 MB, free: 6.738 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.01429, allocations: 3.938 kB / 389.7 MB, free: 6.734 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.0143, allocations: 4 kB / 389.7 MB, free: 6.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003119/0.01461, allocations: 300.5 kB / 390 MB, free: 6.402 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.298e-05/0.01464, allocations: 27.98 kB / 390.1 MB, free: 6.375 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.457e-05/0.01471, allocations: 19.92 kB / 390.1 MB, free: 6.355 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.01471, allocations: 4 kB / 390.1 MB, free: 6.352 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.01472, allocations: 8 kB / 390.1 MB, free: 6.344 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.01473, allocations: 4 kB / 390.1 MB, free: 6.34 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.01473, allocations: 4 kB / 390.1 MB, free: 6.336 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003328/0.01506, allocations: 0.5243 MB / 390.6 MB, free: 5.793 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.497e-05/0.01509, allocations: 23.83 kB / 390.7 MB, free: 5.77 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.128e-05/0.01511, allocations: 0 / 390.7 MB, free: 5.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.01521, allocations: 15.94 kB / 390.7 MB, free: 5.754 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.824e-05/0.01528, allocations: 27.84 kB / 390.7 MB, free: 5.727 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.0153, allocations: 8 kB / 390.7 MB, free: 5.719 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.283e-05/0.01538, allocations: 188.1 kB / 390.9 MB, free: 5.535 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01538, allocations: 0 / 390.9 MB, free: 5.535 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003483/0.01573, allocations: 139.5 kB / 391 MB, free: 5.398 MB / 362.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.0002397/0.01597, allocations: 159 kB / 391.2 MB, free: 5.234 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003335/0.0163, allocations: 342.8 kB / 391.5 MB, free: 4.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.0163, allocations: 0 / 391.5 MB, free: 4.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001684/0.01647, allocations: 302.9 kB / 391.8 MB, free: 4.484 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/0.01682, allocations: 39.75 kB / 391.8 MB, free: 4.449 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.01805, allocations: 0.6877 MB / 392.5 MB, free: 3.723 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.19e-05/0.01814, allocations: 135.7 kB / 392.7 MB, free: 3.57 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.525e-05/0.01821, allocations: 17.48 kB / 392.7 MB, free: 3.551 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.282e-05/0.01825, allocations: 20.48 kB / 392.7 MB, free: 3.531 MB / 362.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01825, allocations: 0 / 392.7 MB, free: 3.531 MB / 362.7 MB Notification: Performance of Templates: time 0.006496/0.02474, allocations: 4.717 MB / 397.4 MB, free: 14.91 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.4704834041185677]