Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.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.StraightPipe.kc_laminar,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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.|Nu_4.1.|Nu_4.2.|Nu_4.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.StraightPipe.kc_laminar") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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.|Nu_4.1.|Nu_4.2.|Nu_4.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.StraightPipe.kc_laminar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001368/0.001368, allocations: 204.4 kB / 18.11 MB, free: 3.73 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, allocations: 226.5 MB / 245.4 MB, free: 8.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009594/0.0009596, allocations: 100.2 kB / 297.5 MB, free: 6.879 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3458/0.3458, allocations: 44.82 MB / 394.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002646/0.0002646, allocations: 12 kB / 467.9 MB, free: 12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3306, allocations: 62.96 MB / 0.5184 GB, free: 37.44 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1275/0.4582, allocations: 95.93 MB / 0.6121 GB, free: 9.332 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000299/0.4586, allocations: 99.92 kB / 0.6122 GB, free: 9.238 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03331/0.4919, allocations: 12.71 MB / 0.6246 GB, free: 12.34 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.4919, allocations: 4 kB / 0.6246 GB, free: 12.33 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.938e-05/0.492, allocations: 4 kB / 0.6246 GB, free: 12.33 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001443/0.4934, allocations: 0.6785 MB / 0.6253 GB, free: 11.59 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.578e-05/0.4935, allocations: 8.031 kB / 0.6253 GB, free: 11.59 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005223/0.494, allocations: 96.33 kB / 0.6254 GB, free: 11.49 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000551/0.4946, allocations: 300.1 kB / 0.6257 GB, free: 11.16 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.69e-05/0.4947, allocations: 33.38 kB / 0.6257 GB, free: 11.13 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.61e-05/0.4947, allocations: 48.31 kB / 0.6258 GB, free: 11.08 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001206/0.496, allocations: 0.6681 MB / 0.6264 GB, free: 10.39 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/0.496, allocations: 192 / 0.6264 GB, free: 10.39 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.646e-05/0.496, allocations: 31.86 kB / 0.6265 GB, free: 10.36 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-05/0.4961, allocations: 25 kB / 0.6265 GB, free: 10.34 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009304/0.497, allocations: 0.4956 MB / 0.627 GB, free: 9.844 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002315/0.4994, allocations: 1.507 MB / 0.6284 GB, free: 8.27 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005986/0.5, allocations: 307.6 kB / 0.6287 GB, free: 7.941 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003324/0.5003, allocations: 158.5 kB / 0.6289 GB, free: 7.777 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.192e-05/0.5004, allocations: 19.84 kB / 0.6289 GB, free: 7.758 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.5004, allocations: 46.5 kB / 0.6289 GB, free: 7.703 MB / 442.7 MB Notification: Performance of pre-optimization done (n=20): time 1.654e-06/0.5004, allocations: 0 / 0.6289 GB, free: 7.703 MB / 442.7 MB Notification: Performance of matching and sorting (n=20): time 0.001204/0.5017, allocations: 0.5206 MB / 0.6294 GB, free: 7.176 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.168e-05/0.5017, allocations: 102.8 kB / 0.6295 GB, free: 7.051 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006282/0.5024, allocations: 0.5407 MB / 0.6301 GB, free: 6.508 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.795e-05/0.5024, allocations: 25.7 kB / 0.6301 GB, free: 6.477 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001695/0.5026, allocations: 232 kB / 0.6303 GB, free: 6.246 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.339e-05/0.5026, allocations: 67.09 kB / 0.6304 GB, free: 6.18 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.843e-05/0.5027, allocations: 4 kB / 0.6304 GB, free: 6.176 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.5028, allocations: 358.7 kB / 0.6307 GB, free: 5.816 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003643/0.5032, allocations: 168.1 kB / 0.6309 GB, free: 5.648 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004218/0.5036, allocations: 292.5 kB / 0.6312 GB, free: 5.309 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008067/0.5044, allocations: 477.5 kB / 0.6316 GB, free: 4.789 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.5045, allocations: 3.938 kB / 0.6316 GB, free: 4.785 MB / 442.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001008/0.5055, allocations: 0.5161 MB / 0.6321 GB, free: 4.262 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.5055, allocations: 11.28 kB / 0.6321 GB, free: 4.254 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.252e-05/0.5056, allocations: 39.98 kB / 0.6322 GB, free: 4.215 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.187e-05/0.5056, allocations: 8.5 kB / 0.6322 GB, free: 4.207 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002381/0.5059, allocations: 47.91 kB / 0.6322 GB, free: 4.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.5059, allocations: 4 kB / 0.6322 GB, free: 4.156 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003707/0.5063, allocations: 83.28 kB / 0.6323 GB, free: 4.074 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.412e-05/0.5063, allocations: 20 kB / 0.6323 GB, free: 4.055 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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 0.0002708/0.5066, allocations: 217.5 kB / 0.6325 GB, free: 3.832 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/0.5067, allocations: 39.53 kB / 0.6326 GB, free: 3.793 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009029/0.5076, allocations: 464.9 kB / 0.633 GB, free: 3.328 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.848e-06/0.5077, allocations: 7.984 kB / 0.633 GB, free: 3.32 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.5077, allocations: 0 / 0.633 GB, free: 3.32 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.5077, allocations: 3.938 kB / 0.633 GB, free: 3.316 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006123/0.5083, allocations: 385.3 kB / 0.6334 GB, free: 2.891 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.049e-05/0.5084, allocations: 39.98 kB / 0.6334 GB, free: 2.852 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001498/0.5085, allocations: 27.97 kB / 0.6335 GB, free: 2.824 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.5085, allocations: 8 kB / 0.6335 GB, free: 2.816 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.337e-05/0.5086, allocations: 15.98 kB / 0.6335 GB, free: 2.801 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.5086, allocations: 3.938 kB / 0.6335 GB, free: 2.797 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.5086, allocations: 0 / 0.6335 GB, free: 2.797 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008539/0.5095, allocations: 0.6344 MB / 0.6341 GB, free: 2.145 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001446/0.5096, allocations: 128.5 kB / 0.6342 GB, free: 2 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.481e-05/0.5097, allocations: 4 kB / 0.6342 GB, free: 1.996 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002825/0.51, allocations: 27.97 kB / 0.6343 GB, free: 1.969 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.175e-05/0.5101, allocations: 23.92 kB / 0.6343 GB, free: 1.945 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.917e-05/0.5101, allocations: 19.98 kB / 0.6343 GB, free: 1.926 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004499/0.5106, allocations: 391 kB / 0.6347 GB, free: 1.543 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5106, allocations: 7.938 kB / 0.6347 GB, free: 1.535 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006727/0.5113, allocations: 139.9 kB / 0.6348 GB, free: 1.398 MB / 442.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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0005253/0.5118, allocations: 204.3 kB / 0.635 GB, free: 1.191 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001026/0.5128, allocations: 0.7001 MB / 0.6357 GB, free: 432 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.5128, allocations: 0 / 0.6357 GB, free: 432 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005347/0.5134, allocations: 489 kB / 0.6362 GB, free: 15.87 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007724/0.5142, allocations: 121.9 kB / 0.6363 GB, free: 15.75 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001786/0.516, allocations: 0.9834 MB / 0.6372 GB, free: 14.73 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004228/0.5164, allocations: 0.8662 MB / 0.6381 GB, free: 13.84 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002504/0.5167, allocations: 87.33 kB / 0.6382 GB, free: 13.75 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.656e-05/0.5167, allocations: 31.38 kB / 0.6382 GB, free: 13.72 MB / 458.7 MB Notification: Performance of SimCode: time 5.82e-07/0.5167, allocations: 0 / 0.6382 GB, free: 13.72 MB / 458.7 MB Notification: Performance of Templates: time 0.01456/0.5313, allocations: 8.587 MB / 0.6466 GB, free: 5.242 MB / 458.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_laminar/kc_laminar.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches