Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.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.001114/0.001114, allocations: 85.8 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.003483/0.003483, allocations: 162.6 kB / 24.82 MB, free: 8.32 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.1 MB, free: 5.488 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.2533/0.2533, allocations: 34.87 MB / 296.6 MB, free: 0.5 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_laminar,tolerance=1e-06,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_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_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.[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_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 379.3 MB, free: 1.797 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.324e-05/1.486e-05, allocations: 4.703 kB / 379.3 MB, free: 1.793 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar): time 0.002285/0.0023, allocations: 2.141 MB / 381.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0013/0.0036, allocations: 1.246 MB / 382.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.683e-05/0.003697, allocations: 7.938 kB / 382.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002239/0.003921, allocations: 59.59 kB / 382.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001821/0.004103, allocations: 107.2 kB / 382.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004224/0.004525, allocations: 211.1 kB / 383 MB, free: 14 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003372/0.004862, allocations: 457.7 kB / 383.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.341e-05/0.004916, allocations: 16.94 kB / 383.5 MB, free: 13.54 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002276/0.005143, allocations: 203.2 kB / 383.7 MB, free: 13.34 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001565/0.0053, allocations: 163.4 kB / 383.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.205e-05/0.005332, allocations: 12 kB / 383.9 MB, free: 13.17 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002389/0.005571, allocations: 143.7 kB / 384 MB, free: 13.03 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.005676, allocations: 91.55 kB / 384.1 MB, free: 12.94 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001297/0.005806, allocations: 119.5 kB / 384.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004637/0.00627, allocations: 454.2 kB / 384.7 MB, free: 12.38 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.006272, allocations: 0 / 384.7 MB, free: 12.38 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.006273, allocations: 0 / 384.7 MB, free: 12.38 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.006279, allocations: 0 / 384.7 MB, free: 12.38 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.0006933/0.006972, allocations: 0.7452 MB / 385.4 MB, free: 11.59 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.007011, allocations: 15.97 kB / 385.4 MB, free: 11.58 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002141/0.007225, allocations: 100.6 kB / 385.5 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002034/0.007429, allocations: 225.3 kB / 385.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.007448, allocations: 33.31 kB / 385.8 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.347e-05/0.007482, allocations: 36.38 kB / 385.8 MB, free: 11.17 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003537/0.007835, allocations: 376.4 kB / 386.2 MB, free: 10.77 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.007846, allocations: 192 / 386.2 MB, free: 10.77 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.129e-05/0.007867, allocations: 16.38 kB / 386.2 MB, free: 10.76 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.979e-05/0.007897, allocations: 20.94 kB / 386.2 MB, free: 10.74 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000142/0.008039, allocations: 122.8 kB / 386.3 MB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009301/0.008969, allocations: 1.169 MB / 387.5 MB, free: 9.41 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001638/0.009133, allocations: 141.2 kB / 387.6 MB, free: 9.234 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.761e-05/0.00919, allocations: 47.05 kB / 387.7 MB, free: 9.176 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.497e-05/0.009225, allocations: 23.75 kB / 387.7 MB, free: 9.152 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.009256, allocations: 49.36 kB / 387.8 MB, free: 9.094 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.172e-06/0.009257, allocations: 0 / 387.8 MB, free: 9.094 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003172/0.009574, allocations: 161.6 kB / 387.9 MB, free: 8.93 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.009622, allocations: 110.8 kB / 388 MB, free: 8.797 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.009752, allocations: 250.7 kB / 388.3 MB, free: 8.531 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.009769, allocations: 29.7 kB / 388.3 MB, free: 8.496 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.009881, allocations: 278.7 kB / 388.6 MB, free: 8.219 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.636e-05/0.009918, allocations: 59.53 kB / 388.6 MB, free: 8.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.87e-05/0.009986, allocations: 55.59 kB / 388.7 MB, free: 8.098 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.01012, allocations: 0.5156 MB / 389.2 MB, free: 7.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.917e-05/0.01017, allocations: 19.98 kB / 389.2 MB, free: 7.551 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.236e-05/0.01025, allocations: 82.09 kB / 389.3 MB, free: 7.445 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/0.01039, allocations: 120.2 kB / 389.4 MB, free: 7.305 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.01039, allocations: 0 / 389.4 MB, free: 7.305 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002067/0.0106, allocations: 157.4 kB / 389.6 MB, free: 7.145 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.01061, allocations: 4 kB / 389.6 MB, free: 7.141 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.529e-05/0.01064, allocations: 31.98 kB / 389.6 MB, free: 7.109 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.01066, allocations: 0 / 389.6 MB, free: 7.109 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.518e-05/0.01074, allocations: 31.97 kB / 389.6 MB, free: 7.078 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.01074, allocations: 4 kB / 389.6 MB, free: 7.074 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.874e-05/0.01081, allocations: 23.78 kB / 389.7 MB, free: 7.051 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.846e-05/0.01083, allocations: 15.98 kB / 389.7 MB, free: 7.035 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 8.884e-05/0.01092, allocations: 172.7 kB / 389.8 MB, free: 6.855 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.855e-05/0.01097, allocations: 19.91 kB / 389.9 MB, free: 6.836 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002596/0.01123, allocations: 209 kB / 390.1 MB, free: 6.621 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.01123, allocations: 7.984 kB / 390.1 MB, free: 6.613 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.01124, allocations: 0 / 390.1 MB, free: 6.613 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.01124, allocations: 7.938 kB / 390.1 MB, free: 6.605 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002471/0.01149, allocations: 217.1 kB / 390.3 MB, free: 6.367 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-05/0.01152, allocations: 28 kB / 390.3 MB, free: 6.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.846e-05/0.01156, allocations: 23.91 kB / 390.3 MB, free: 6.316 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.01157, allocations: 0 / 390.3 MB, free: 6.316 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.01158, allocations: 12 kB / 390.4 MB, free: 6.305 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.01158, allocations: 0 / 390.4 MB, free: 6.305 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.01158, allocations: 0 / 390.4 MB, free: 6.305 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002719/0.01185, allocations: 0.5176 MB / 390.9 MB, free: 5.766 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.93e-05/0.01187, allocations: 19.91 kB / 390.9 MB, free: 5.746 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.915e-05/0.01189, allocations: 7.984 kB / 390.9 MB, free: 5.738 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.952e-05/0.01199, allocations: 11.98 kB / 390.9 MB, free: 5.727 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.479e-05/0.01203, allocations: 27.91 kB / 390.9 MB, free: 5.699 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.01205, allocations: 7.938 kB / 390.9 MB, free: 5.691 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.44e-05/0.01211, allocations: 176.1 kB / 391.1 MB, free: 5.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01211, allocations: 4 kB / 391.1 MB, free: 5.516 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003169/0.01243, allocations: 147.4 kB / 391.3 MB, free: 5.371 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.0001848/0.01261, allocations: 163 kB / 391.4 MB, free: 5.203 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002496/0.01286, allocations: 342.7 kB / 391.8 MB, free: 4.809 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01286, allocations: 0 / 391.8 MB, free: 4.809 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001391/0.013, allocations: 298.8 kB / 392.1 MB, free: 4.457 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004016/0.01341, allocations: 36.42 kB / 392.1 MB, free: 4.422 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009608/0.01437, allocations: 0.6795 MB / 392.8 MB, free: 3.703 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.748e-05/0.01444, allocations: 139.7 kB / 392.9 MB, free: 3.547 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.472e-05/0.01449, allocations: 9.484 kB / 392.9 MB, free: 3.535 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001709/0.01466, allocations: 150.2 kB / 393.1 MB, free: 3.387 MB / 362.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01466, allocations: 0 / 393.1 MB, free: 3.387 MB / 362.7 MB Notification: Performance of Templates: time 0.006808/0.02147, allocations: 5.319 MB / 398.4 MB, free: 14.13 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_laminar/kc_laminar.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.0978889730758965]