Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.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.001411/0.001411, allocations: 81.81 kB / 21.42 MB, free: 3.07 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.001354/0.001354, allocations: 168.2 kB / 24.82 MB, free: 9.277 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.068/1.068, allocations: 177 MB / 205.1 MB, free: 5.477 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.246/0.246, allocations: 34.86 MB / 296.6 MB, free: 0.5195 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_KC,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,]+.|Nu.[0-9,]+.|m_flow_1.[0-9,]+.|m_flow_2.[0-9,]+.|m_flow_3.[0-9,]+.|kc_1.[0-9,]+.|kc_2.[0-9,]+.|kc_3.[0-9,]+.|Re_1.[0-9,]+.|Re_2.[0-9,]+.|Re_3.[0-9,]+.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC,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,]+.|Nu.[0-9,]+.|m_flow_1.[0-9,]+.|m_flow_2.[0-9,]+.|m_flow_3.[0-9,]+.|kc_1.[0-9,]+.|kc_2.[0-9,]+.|kc_3.[0-9,]+.|Re_1.[0-9,]+.|Re_2.[0-9,]+.|Re_3.[0-9,]+.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 379.3 MB, free: 1.805 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.73e-05/1.953e-05, allocations: 6.312 kB / 379.3 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC): time 0.002354/0.002374, allocations: 2.047 MB / 381.3 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001196/0.003569, allocations: 0.9073 MB / 382.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.261e-05/0.003662, allocations: 0 / 382.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002453/0.003907, allocations: 59.55 kB / 382.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002893/0.004196, allocations: 135.2 kB / 382.4 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000243/0.004439, allocations: 103.6 kB / 382.5 MB, free: 14.53 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003444/0.004784, allocations: 401.9 kB / 382.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.798e-05/0.004832, allocations: 12.94 kB / 382.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002441/0.005076, allocations: 199.2 kB / 383.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001701/0.005246, allocations: 167.4 kB / 383.3 MB, free: 13.77 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.37e-05/0.00527, allocations: 12 kB / 383.3 MB, free: 13.75 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001895/0.005459, allocations: 75.78 kB / 383.4 MB, free: 13.68 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.015e-05/0.005539, allocations: 103.5 kB / 383.5 MB, free: 13.58 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.587e-05/0.005615, allocations: 95.59 kB / 383.6 MB, free: 13.48 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003248/0.00594, allocations: 382.4 kB / 383.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.784e-06/0.005942, allocations: 0 / 383.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.005943, allocations: 0 / 383.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.409e-06/0.005947, allocations: 0 / 383.9 MB, free: 13.11 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.0008735/0.00682, allocations: 0.6948 MB / 384.6 MB, free: 12.38 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.00686, allocations: 12.03 kB / 384.6 MB, free: 12.37 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001083/0.006968, allocations: 68.66 kB / 384.7 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002628/0.007231, allocations: 221.2 kB / 384.9 MB, free: 12.06 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.974e-05/0.007261, allocations: 25.31 kB / 384.9 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.991e-05/0.007311, allocations: 44.36 kB / 385 MB, free: 11.99 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00041/0.007721, allocations: 283.7 kB / 385.3 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.007731, allocations: 192 / 385.3 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.859e-05/0.00775, allocations: 8.375 kB / 385.3 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.855e-05/0.007798, allocations: 44.92 kB / 385.3 MB, free: 11.65 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002435/0.008042, allocations: 170.9 kB / 385.5 MB, free: 11.49 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001366/0.009408, allocations: 0.8205 MB / 386.3 MB, free: 10.64 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002597/0.009668, allocations: 134.8 kB / 386.4 MB, free: 10.5 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.7e-05/0.009745, allocations: 35.67 kB / 386.5 MB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.136e-05/0.009786, allocations: 27.86 kB / 386.5 MB, free: 10.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.009811, allocations: 33.39 kB / 386.5 MB, free: 10.39 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 1.573e-06/0.009812, allocations: 0 / 386.5 MB, free: 10.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003907/0.0102, allocations: 182.5 kB / 386.7 MB, free: 10.21 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.771e-05/0.01023, allocations: 51.41 kB / 386.8 MB, free: 10.14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.01035, allocations: 207.3 kB / 387 MB, free: 9.926 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.01037, allocations: 29.7 kB / 387 MB, free: 9.891 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.01049, allocations: 263.2 kB / 387.2 MB, free: 9.625 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.417e-05/0.01055, allocations: 79.3 kB / 387.3 MB, free: 9.547 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.234e-05/0.01063, allocations: 55.34 kB / 387.4 MB, free: 9.484 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.01077, allocations: 0.5118 MB / 387.9 MB, free: 8.961 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.508e-05/0.01084, allocations: 19.98 kB / 387.9 MB, free: 8.941 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.601e-05/0.0109, allocations: 26.78 kB / 387.9 MB, free: 8.918 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001619/0.01106, allocations: 79.59 kB / 388 MB, free: 8.836 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.01107, allocations: 0 / 388 MB, free: 8.836 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002635/0.01133, allocations: 156.4 kB / 388.2 MB, free: 8.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.01134, allocations: 7.938 kB / 388.2 MB, free: 8.672 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.01135, allocations: 0 / 388.2 MB, free: 8.672 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.01136, allocations: 0 / 388.2 MB, free: 8.672 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000531/0.01189, allocations: 155.9 kB / 388.3 MB, free: 8.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003002/0.01489, allocations: 8.145 MB / 396.5 MB, free: 120 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.539e-05/0.01499, allocations: 11.89 kB / 396.5 MB, free: 108 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.01501, allocations: 15.98 kB / 396.5 MB, free: 92 kB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001301/0.01514, allocations: 164.5 kB / 396.7 MB, free: 15.92 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.68e-05/0.0152, allocations: 23.91 kB / 396.7 MB, free: 15.89 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004074/0.0156, allocations: 234.6 kB / 396.9 MB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.01561, allocations: 3.938 kB / 396.9 MB, free: 15.65 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.01561, allocations: 0 / 396.9 MB, free: 15.65 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.01562, allocations: 3.984 kB / 396.9 MB, free: 15.65 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005668/0.01618, allocations: 225.1 kB / 397.1 MB, free: 15.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.01619, allocations: 0 / 397.1 MB, free: 15.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004957/0.01668, allocations: 159.9 kB / 397.3 MB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.01668, allocations: 0 / 397.3 MB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.033e-05/0.01671, allocations: 11.98 kB / 397.3 MB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002379/0.01908, allocations: 8.133 MB / 405.4 MB, free: 6.844 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.01909, allocations: 7.938 kB / 405.5 MB, free: 6.836 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003038/0.01939, allocations: 306.5 kB / 405.7 MB, free: 6.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.81e-05/0.01941, allocations: 19.84 kB / 405.8 MB, free: 6.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.025e-05/0.01943, allocations: 11.94 kB / 405.8 MB, free: 6.488 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.925e-05/0.01951, allocations: 4 kB / 405.8 MB, free: 6.484 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.582e-05/0.01955, allocations: 23.95 kB / 405.8 MB, free: 6.461 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.01957, allocations: 8 kB / 405.8 MB, free: 6.453 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.136e-05/0.01962, allocations: 151.4 kB / 406 MB, free: 6.309 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01962, allocations: 0 / 406 MB, free: 6.309 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002629/0.01988, allocations: 127.6 kB / 406.1 MB, free: 6.184 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001796/0.02006, allocations: 147 kB / 406.2 MB, free: 6.027 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004317/0.02049, allocations: 235.4 kB / 406.5 MB, free: 5.793 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.0205, allocations: 4 kB / 406.5 MB, free: 5.789 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003058/0.0208, allocations: 198.1 kB / 406.7 MB, free: 5.594 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002102/0.02101, allocations: 27.98 kB / 406.7 MB, free: 5.566 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008715/0.02188, allocations: 0.6472 MB / 407.3 MB, free: 4.891 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.915e-05/0.02196, allocations: 139.9 kB / 407.5 MB, free: 4.734 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.583e-05/0.02203, allocations: 17.48 kB / 407.5 MB, free: 4.715 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.124e-05/0.02212, allocations: 98.17 kB / 407.6 MB, free: 4.617 MB / 378.7 MB Notification: Performance of SimCode: time 5.91e-07/0.02212, allocations: 0 / 407.6 MB, free: 4.617 MB / 378.7 MB Notification: Performance of Templates: time 0.007976/0.0301, allocations: 5.433 MB / 413 MB, free: 15.25 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_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/kc_turbulent_KC.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.3232719069346786]