Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_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.0009167/0.0009167, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001172/0.001172, allocations: 164.4 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.03/1.03, allocations: 177 MB / 205.2 MB, free: 5.055 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.2719/0.2719, allocations: 34.87 MB / 296.6 MB, free: 472 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.HelicalPipe.kc_laminar_KC,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,]+.|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_laminar_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC,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,]+.|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_laminar_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 326 MB, free: 7.098 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.58e-05/1.775e-05, allocations: 5.406 kB / 326 MB, free: 7.094 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.002427/0.002445, allocations: 2.103 MB / 328.1 MB, free: 4.98 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001202/0.003647, allocations: 0.9206 MB / 329 MB, free: 4.055 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.414e-05/0.003731, allocations: 0 / 329 MB, free: 4.055 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002747/0.004006, allocations: 63.59 kB / 329.1 MB, free: 3.992 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003145/0.00432, allocations: 127.3 kB / 329.2 MB, free: 3.867 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002084/0.004529, allocations: 91.58 kB / 329.3 MB, free: 3.777 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003713/0.0049, allocations: 413.8 kB / 329.7 MB, free: 3.371 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.778e-05/0.004958, allocations: 22.89 kB / 329.7 MB, free: 3.352 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002579/0.005216, allocations: 199.2 kB / 329.9 MB, free: 3.156 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001817/0.005398, allocations: 159.4 kB / 330.1 MB, free: 3 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.188e-05/0.005419, allocations: 11.94 kB / 330.1 MB, free: 2.988 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001689/0.005588, allocations: 71.84 kB / 330.2 MB, free: 2.918 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.547e-05/0.005674, allocations: 115.5 kB / 330.3 MB, free: 2.805 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.854e-05/0.005752, allocations: 95.59 kB / 330.4 MB, free: 2.711 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003339/0.006086, allocations: 370.5 kB / 330.7 MB, free: 2.348 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.006088, allocations: 0 / 330.7 MB, free: 2.348 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.006089, allocations: 0 / 330.7 MB, free: 2.348 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.006093, allocations: 0 / 330.7 MB, free: 2.348 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.0005756/0.006668, allocations: 0.548 MB / 331.3 MB, free: 1.777 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.954e-05/0.006698, allocations: 12.03 kB / 331.3 MB, free: 1.766 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.048e-05/0.006768, allocations: 56.89 kB / 331.3 MB, free: 1.711 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000182/0.00695, allocations: 189.2 kB / 331.5 MB, free: 1.5 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.006968, allocations: 25.36 kB / 331.5 MB, free: 1.477 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.361e-05/0.007002, allocations: 36.38 kB / 331.6 MB, free: 1.441 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003242/0.007326, allocations: 322.4 kB / 331.9 MB, free: 1.117 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.007338, allocations: 192 / 331.9 MB, free: 1.117 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.267e-05/0.007361, allocations: 16.36 kB / 331.9 MB, free: 1.102 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-05/0.00741, allocations: 48.91 kB / 332 MB, free: 1.051 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002005/0.007611, allocations: 166.9 kB / 332.1 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008485/0.008459, allocations: 0.7146 MB / 332.8 MB, free: 156 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001985/0.008658, allocations: 157.5 kB / 333 MB, free: 15.98 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.058e-05/0.008708, allocations: 28.8 kB / 333 MB, free: 15.96 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.008732, allocations: 15.92 kB / 333 MB, free: 15.94 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.008754, allocations: 34.56 kB / 333.1 MB, free: 15.9 MB / 314.7 MB Notification: Performance of pre-optimization done (n=22): time 1.272e-06/0.008755, allocations: 0 / 333.1 MB, free: 15.9 MB / 314.7 MB Notification: Performance of matching and sorting (n=22): time 0.0002346/0.00899, allocations: 122.7 kB / 333.2 MB, free: 15.77 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.601e-05/0.009016, allocations: 55.41 kB / 333.2 MB, free: 15.71 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.356e-05/0.009089, allocations: 142.6 kB / 333.4 MB, free: 15.55 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.009107, allocations: 29.7 kB / 333.4 MB, free: 15.52 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.394e-05/0.009181, allocations: 208.4 kB / 333.6 MB, free: 15.31 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.996e-05/0.009231, allocations: 83.3 kB / 333.7 MB, free: 15.23 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.507e-05/0.009286, allocations: 37.69 kB / 333.7 MB, free: 15.18 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.154e-05/0.009367, allocations: 334.7 kB / 334.1 MB, free: 14.85 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.73e-05/0.009415, allocations: 30.75 kB / 334.1 MB, free: 14.82 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.321e-05/0.009458, allocations: 18.98 kB / 334.1 MB, free: 14.8 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/0.009573, allocations: 78.44 kB / 334.2 MB, free: 14.72 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.009576, allocations: 3.938 kB / 334.2 MB, free: 14.71 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001473/0.009723, allocations: 100.5 kB / 334.3 MB, free: 14.61 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.009735, allocations: 4 kB / 334.3 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.00974, allocations: 0 / 334.3 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.009753, allocations: 7.938 kB / 334.3 MB, free: 14.6 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003859/0.01014, allocations: 115.9 kB / 334.4 MB, free: 14.49 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001683/0.01182, allocations: 5.351 MB / 339.8 MB, free: 8.906 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.684e-05/0.01189, allocations: 15.94 kB / 339.8 MB, free: 8.891 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.0119, allocations: 8 kB / 339.8 MB, free: 8.883 MB / 314.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 8.705e-05/0.01199, allocations: 124.5 kB / 339.9 MB, free: 8.75 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.431e-05/0.01203, allocations: 19.98 kB / 339.9 MB, free: 8.73 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002679/0.01229, allocations: 183.4 kB / 340.1 MB, free: 8.551 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.0123, allocations: 11.94 kB / 340.1 MB, free: 8.539 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.0123, allocations: 0 / 340.1 MB, free: 8.539 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.0123, allocations: 3.984 kB / 340.1 MB, free: 8.535 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001858/0.01249, allocations: 169.7 kB / 340.3 MB, free: 8.352 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.01249, allocations: 3.938 kB / 340.3 MB, free: 8.348 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003147/0.0128, allocations: 107.9 kB / 340.4 MB, free: 8.242 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.01281, allocations: 0 / 340.4 MB, free: 8.242 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.01282, allocations: 11.98 kB / 340.4 MB, free: 8.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001536/0.01436, allocations: 5.354 MB / 345.8 MB, free: 2.645 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.01436, allocations: 0 / 345.8 MB, free: 2.645 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001865/0.01455, allocations: 259.7 kB / 346 MB, free: 2.375 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.475e-05/0.01456, allocations: 11.91 kB / 346 MB, free: 2.363 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.05e-05/0.01458, allocations: 8 kB / 346 MB, free: 2.355 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.912e-05/0.01465, allocations: 15.98 kB / 346.1 MB, free: 2.34 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.821e-05/0.0147, allocations: 19.91 kB / 346.1 MB, free: 2.32 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.01471, allocations: 7.984 kB / 346.1 MB, free: 2.312 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.599e-05/0.01474, allocations: 35.67 kB / 346.1 MB, free: 2.277 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01474, allocations: 0 / 346.1 MB, free: 2.277 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000224/0.01496, allocations: 127.5 kB / 346.2 MB, free: 2.152 MB / 314.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.0001562/0.01512, allocations: 118.2 kB / 346.4 MB, free: 2.027 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004136/0.01553, allocations: 176.6 kB / 346.5 MB, free: 1.852 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.01554, allocations: 4 kB / 346.5 MB, free: 1.848 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003095/0.01585, allocations: 148.6 kB / 346.7 MB, free: 1.699 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001729/0.01602, allocations: 30.22 kB / 346.7 MB, free: 1.672 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008421/0.01686, allocations: 0.661 MB / 347.4 MB, free: 0.9805 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.093e-05/0.01693, allocations: 131.9 kB / 347.5 MB, free: 0.832 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.134e-05/0.01699, allocations: 17.47 kB / 347.5 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.48e-05/0.01709, allocations: 75.36 kB / 347.6 MB, free: 0.7422 MB / 314.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01709, allocations: 0 / 347.6 MB, free: 0.7422 MB / 314.7 MB Notification: Performance of Templates: time 0.006342/0.02343, allocations: 5.43 MB / 353 MB, free: 11.39 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_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_laminar_KC/kc_laminar_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.1743475985713303]