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.001155/0.001155, 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.001169/0.001169, allocations: 165.5 kB / 24.91 MB, free: 8.77 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 0.949/0.949, allocations: 177 MB / 205.2 MB, free: 5.062 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.2742/0.2742, allocations: 34.86 MB / 296.6 MB, free: 480 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,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.533e-06/1.533e-06, allocations: 0 / 326 MB, free: 7.098 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.335e-05/1.488e-05, allocations: 2.312 kB / 326 MB, free: 7.094 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar): time 0.002267/0.002282, allocations: 2.184 MB / 328.2 MB, free: 4.898 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001536/0.003818, allocations: 1.282 MB / 329.5 MB, free: 3.609 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.854e-05/0.003897, allocations: 4 kB / 329.5 MB, free: 3.605 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000201/0.004098, allocations: 63.59 kB / 329.5 MB, free: 3.543 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001795/0.004278, allocations: 103.3 kB / 329.6 MB, free: 3.441 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003519/0.004629, allocations: 211 kB / 329.8 MB, free: 3.234 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003226/0.004952, allocations: 461.7 kB / 330.3 MB, free: 2.781 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.263e-05/0.005005, allocations: 22.83 kB / 330.3 MB, free: 2.762 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002047/0.005209, allocations: 199.3 kB / 330.5 MB, free: 2.566 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001435/0.005353, allocations: 155.4 kB / 330.7 MB, free: 2.414 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.291e-05/0.005376, allocations: 16 kB / 330.7 MB, free: 2.398 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002334/0.005609, allocations: 151.7 kB / 330.8 MB, free: 2.25 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.438e-05/0.005684, allocations: 107.4 kB / 330.9 MB, free: 2.145 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.123e-05/0.005765, allocations: 103.6 kB / 331 MB, free: 2.043 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003648/0.00613, allocations: 458.2 kB / 331.5 MB, free: 1.594 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.422e-06/0.006131, allocations: 0 / 331.5 MB, free: 1.594 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.006132, allocations: 0 / 331.5 MB, free: 1.594 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.006136, allocations: 0 / 331.5 MB, free: 1.594 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.0005633/0.006699, allocations: 0.5907 MB / 332.1 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.884e-05/0.006728, allocations: 12.03 kB / 332.1 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002051/0.006933, allocations: 92.86 kB / 332.2 MB, free: 0.875 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000195/0.007128, allocations: 210.6 kB / 332.4 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.007148, allocations: 29.38 kB / 332.4 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.946e-05/0.007177, allocations: 36.38 kB / 332.4 MB, free: 0.582 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003503/0.007528, allocations: 363.9 kB / 332.8 MB, free: 208 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.00754, allocations: 4.188 kB / 332.8 MB, free: 204 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.226e-05/0.007562, allocations: 16.38 kB / 332.8 MB, free: 188 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.184e-05/0.007594, allocations: 28.86 kB / 332.8 MB, free: 160 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001587/0.007752, allocations: 144.6 kB / 333 MB, free: 12 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008227/0.008575, allocations: 0.9134 MB / 333.9 MB, free: 15.07 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001534/0.008728, allocations: 161.1 kB / 334.1 MB, free: 14.88 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.221e-05/0.008781, allocations: 38.5 kB / 334.1 MB, free: 14.84 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.008807, allocations: 11.94 kB / 334.1 MB, free: 14.82 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.008827, allocations: 34.56 kB / 334.1 MB, free: 14.78 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 1.122e-06/0.008829, allocations: 0 / 334.1 MB, free: 14.78 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002481/0.009077, allocations: 109.6 kB / 334.2 MB, free: 14.67 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/0.009116, allocations: 110.8 kB / 334.4 MB, free: 14.54 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.009222, allocations: 191.5 kB / 334.5 MB, free: 14.33 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.009239, allocations: 29.7 kB / 334.6 MB, free: 14.3 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.001e-05/0.009329, allocations: 220.1 kB / 334.8 MB, free: 14.08 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.247e-05/0.009361, allocations: 59.53 kB / 334.8 MB, free: 14.02 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.17e-05/0.009423, allocations: 37.69 kB / 334.9 MB, free: 13.98 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.541e-05/0.009498, allocations: 330.7 kB / 335.2 MB, free: 13.64 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.033e-05/0.009549, allocations: 22.81 kB / 335.2 MB, free: 13.62 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.507e-05/0.009614, allocations: 57.23 kB / 335.3 MB, free: 13.55 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.009748, allocations: 121.3 kB / 335.4 MB, free: 13.41 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.009751, allocations: 0 / 335.4 MB, free: 13.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001676/0.009918, allocations: 128.8 kB / 335.5 MB, free: 13.27 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.009929, allocations: 4 kB / 335.5 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-05/0.009965, allocations: 20.14 kB / 335.5 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.009978, allocations: 8 kB / 335.6 MB, free: 13.24 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.107e-05/0.01006, allocations: 23.98 kB / 335.6 MB, free: 13.21 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.868e-06/0.01006, allocations: 0 / 335.6 MB, free: 13.21 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.588e-05/0.01013, allocations: 27.88 kB / 335.6 MB, free: 13.19 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/0.01015, allocations: 7.938 kB / 335.6 MB, free: 13.18 MB / 314.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.182e-05/0.01023, allocations: 128.6 kB / 335.7 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.894e-05/0.01028, allocations: 15.98 kB / 335.8 MB, free: 13.03 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005091/0.01079, allocations: 163.9 kB / 335.9 MB, free: 12.86 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.01079, allocations: 8 kB / 335.9 MB, free: 12.86 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-06/0.01079, allocations: 0 / 335.9 MB, free: 12.86 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.01079, allocations: 7.984 kB / 335.9 MB, free: 12.85 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002182/0.01101, allocations: 165.6 kB / 336.1 MB, free: 12.67 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.811e-05/0.01104, allocations: 15.98 kB / 336.1 MB, free: 12.65 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.835e-05/0.01109, allocations: 19.98 kB / 336.1 MB, free: 12.63 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.01109, allocations: 4 kB / 336.1 MB, free: 12.63 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.0111, allocations: 3.984 kB / 336.1 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.01111, allocations: 4 kB / 336.1 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.01111, allocations: 0 / 336.1 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002039/0.01131, allocations: 406.5 kB / 336.5 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.014e-05/0.01133, allocations: 19.83 kB / 336.6 MB, free: 12.19 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.498e-05/0.01136, allocations: 4 kB / 336.6 MB, free: 12.19 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.711e-05/0.01145, allocations: 8 kB / 336.6 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.935e-05/0.0115, allocations: 23.91 kB / 336.6 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.01151, allocations: 4 kB / 336.6 MB, free: 12.15 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.136e-05/0.01156, allocations: 61.7 kB / 336.7 MB, free: 12.09 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01156, allocations: 0 / 336.7 MB, free: 12.09 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002686/0.01182, allocations: 143.4 kB / 336.8 MB, free: 11.95 MB / 314.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.0001747/0.012, allocations: 152.1 kB / 336.9 MB, free: 11.79 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002414/0.01224, allocations: 329.4 kB / 337.3 MB, free: 11.41 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.01224, allocations: 0 / 337.3 MB, free: 11.41 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001384/0.01238, allocations: 284.1 kB / 337.5 MB, free: 11.08 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.01265, allocations: 31.38 kB / 337.6 MB, free: 11.05 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009046/0.01356, allocations: 0.6752 MB / 338.2 MB, free: 10.34 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.501e-05/0.01363, allocations: 127.8 kB / 338.4 MB, free: 10.2 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.333e-05/0.01368, allocations: 13.48 kB / 338.4 MB, free: 10.18 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001675/0.01384, allocations: 123.3 kB / 338.5 MB, free: 10.06 MB / 314.7 MB Notification: Performance of SimCode: time 6.72e-07/0.01384, allocations: 0 / 338.5 MB, free: 10.06 MB / 314.7 MB Notification: Performance of Templates: time 0.006374/0.02022, allocations: 5.148 MB / 343.7 MB, free: 4.984 MB / 314.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 -s gbode -gbm=radauIIA3 -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: 2.8294697273522615]