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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|n_nt.1.|n_nt.2.|n_nt.3.|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Re|Pr.1.|Pr.2.|Pr.3.|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=5000,variableFilter="time|n_nt.1.|n_nt.2.|n_nt.3.|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001113/0.001113, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.242/1.242, allocations: 225.4 MB / 240.1 MB, free: 15.03 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008284/0.0008285, allocations: 85.55 kB / 292.1 MB, free: 6.039 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.18/0.18, allocations: 45.14 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.837e-05/2.845e-05, allocations: 4 kB / 460.4 MB, free: 69.99 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.105, allocations: 63.24 MB / 0.5114 GB, free: 6.766 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3728/0.4778, allocations: 95.85 MB / 0.605 GB, free: 14.09 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002209/0.4781, allocations: 95.61 kB / 0.6051 GB, free: 14.03 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02847/0.5066, allocations: 11.21 MB / 0.616 GB, free: 4.227 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.5066, allocations: 0 / 0.616 GB, free: 4.227 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.452e-05/0.5066, allocations: 11.94 kB / 0.616 GB, free: 4.215 MB / 410.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.0008089/0.5074, allocations: 0.6148 MB / 0.6166 GB, free: 3.574 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.5075, allocations: 11.97 kB / 0.6166 GB, free: 3.562 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003749/0.5079, allocations: 98.97 kB / 0.6167 GB, free: 3.469 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003667/0.5082, allocations: 275.5 kB / 0.617 GB, free: 3.168 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.5083, allocations: 28.28 kB / 0.617 GB, free: 3.152 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.268e-05/0.5083, allocations: 49.88 kB / 0.6171 GB, free: 3.117 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007359/0.5091, allocations: 0.5354 MB / 0.6176 GB, free: 2.688 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.5091, allocations: 0 / 0.6176 GB, free: 2.688 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.233e-05/0.5091, allocations: 14.31 kB / 0.6176 GB, free: 2.684 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.374e-05/0.5092, allocations: 24.03 kB / 0.6176 GB, free: 2.664 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004987/0.5097, allocations: 362.1 kB / 0.618 GB, free: 2.391 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001749/0.5114, allocations: 1.409 MB / 0.6194 GB, free: 1.082 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003491/0.5118, allocations: 244.1 kB / 0.6196 GB, free: 0.8398 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001638/0.512, allocations: 108.4 kB / 0.6197 GB, free: 0.7383 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.438e-05/0.512, allocations: 4 kB / 0.6197 GB, free: 0.7344 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.5121, allocations: 38.38 kB / 0.6197 GB, free: 0.6914 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 1.583e-06/0.5121, allocations: 4 kB / 0.6197 GB, free: 0.6875 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005433/0.5126, allocations: 282.2 kB / 0.62 GB, free: 436 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/0.5127, allocations: 106.8 kB / 0.6201 GB, free: 304 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004702/0.5132, allocations: 457 kB / 0.6205 GB, free: 15.92 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.5132, allocations: 29.7 kB / 0.6206 GB, free: 15.89 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.5133, allocations: 201.9 kB / 0.6208 GB, free: 15.75 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.769e-05/0.5134, allocations: 65.55 kB / 0.6208 GB, free: 15.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.423e-05/0.5134, allocations: 0 / 0.6208 GB, free: 15.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.5135, allocations: 356.7 kB / 0.6212 GB, free: 15.36 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001888/0.5137, allocations: 94.98 kB / 0.6213 GB, free: 15.27 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002019/0.514, allocations: 139.7 kB / 0.6214 GB, free: 15.13 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002186/0.5142, allocations: 115.5 kB / 0.6215 GB, free: 15.03 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.5142, allocations: 0 / 0.6215 GB, free: 15.03 MB / 426.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005638/0.5148, allocations: 320.2 kB / 0.6218 GB, free: 14.74 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.5148, allocations: 4.781 kB / 0.6218 GB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.692e-05/0.5148, allocations: 35.97 kB / 0.6218 GB, free: 14.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.5149, allocations: 0 / 0.6218 GB, free: 14.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002207/0.5151, allocations: 51.27 kB / 0.6219 GB, free: 14.65 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.5151, allocations: 4 kB / 0.6219 GB, free: 14.65 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002735/0.5154, allocations: 59.41 kB / 0.622 GB, free: 14.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.011e-05/0.5154, allocations: 15.69 kB / 0.622 GB, free: 14.58 MB / 426.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.341e-05/0.5155, allocations: 115.5 kB / 0.6221 GB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.519e-05/0.5156, allocations: 43.52 kB / 0.6221 GB, free: 14.42 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006145/0.5162, allocations: 356.8 kB / 0.6225 GB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.5163, allocations: 7.984 kB / 0.6225 GB, free: 14.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.5163, allocations: 3.953 kB / 0.6225 GB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.5163, allocations: 0 / 0.6225 GB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004773/0.5168, allocations: 364.1 kB / 0.6228 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.768e-05/0.5168, allocations: 31.91 kB / 0.6228 GB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001576/0.517, allocations: 39.53 kB / 0.6229 GB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.517, allocations: 0 / 0.6229 GB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.526e-05/0.517, allocations: 8 kB / 0.6229 GB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.517, allocations: 7.922 kB / 0.6229 GB, free: 13.65 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.5171, allocations: 0 / 0.6229 GB, free: 13.65 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005422/0.5176, allocations: 0.5419 MB / 0.6234 GB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.5177, allocations: 124.6 kB / 0.6236 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.133e-05/0.5178, allocations: 7.328 kB / 0.6236 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002797/0.5181, allocations: 23.97 kB / 0.6236 GB, free: 12.94 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.143e-05/0.5182, allocations: 27.41 kB / 0.6236 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.165e-05/0.5182, allocations: 8 kB / 0.6236 GB, free: 12.91 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003547/0.5185, allocations: 367.8 kB / 0.624 GB, free: 12.62 MB / 426.7 MB Notification: Performance of sort global known variables: time 2e-07/0.5186, allocations: 3.938 kB / 0.624 GB, free: 12.62 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004894/0.519, allocations: 130.6 kB / 0.6241 GB, free: 12.5 MB / 426.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003391/0.5194, allocations: 206.8 kB / 0.6243 GB, free: 12.29 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005314/0.5199, allocations: 467.7 kB / 0.6247 GB, free: 11.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5199, allocations: 0 / 0.6247 GB, free: 11.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002852/0.5202, allocations: 352.4 kB / 0.6251 GB, free: 11.42 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004665/0.5207, allocations: 94.98 kB / 0.6252 GB, free: 11.35 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.5218, allocations: 0.5949 MB / 0.6257 GB, free: 10.77 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003994/0.5222, allocations: 0.8603 MB / 0.6266 GB, free: 9.891 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001592/0.5224, allocations: 55.27 kB / 0.6266 GB, free: 9.836 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.221e-05/0.5224, allocations: 31.42 kB / 0.6267 GB, free: 9.805 MB / 426.7 MB Notification: Performance of SimCode: time 3.21e-07/0.5224, allocations: 0 / 0.6267 GB, free: 9.805 MB / 426.7 MB Notification: Performance of Templates: time 0.011/0.5334, allocations: 7.083 MB / 0.6336 GB, free: 2.824 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe 2>&1) 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.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_laminar/kc_laminar.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches