Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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.StraightPipe.kc_overall,tolerance=1e-05,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_overall") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,tolerance=1e-05,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_overall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001371/0.001371, allocations: 115.8 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001293/0.001293, allocations: 210.7 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.222/0.222, allocations: 46.1 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002952/0.002953, allocations: 83.88 kB / 482 MB, free: 4.016 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.558/0.561, allocations: 62.43 MB / 0.5317 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.004681/0.5657, allocations: 2.274 MB / 0.5339 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004175/0.57, allocations: 2.153 MB / 0.536 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002741/0.5703, allocations: 2.312 kB / 0.536 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004582/0.5707, allocations: 78.19 kB / 0.5361 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006447/0.5715, allocations: 116.6 kB / 0.5362 GB, free: 9.949 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002235/0.5737, allocations: 442.1 kB / 0.5366 GB, free: 9.664 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009832/0.5747, allocations: 0.5222 MB / 0.5371 GB, free: 9.367 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001694/0.5749, allocations: 63.89 kB / 0.5372 GB, free: 9.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005968/0.5755, allocations: 189 kB / 0.5374 GB, free: 9.238 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005159/0.576, allocations: 211.8 kB / 0.5376 GB, free: 9.113 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001045/0.5762, allocations: 12.97 kB / 0.5376 GB, free: 9.113 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00165/0.5778, allocations: 0.6952 MB / 0.5383 GB, free: 8.691 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001961/0.578, allocations: 101.5 kB / 0.5384 GB, free: 8.621 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000438/0.5785, allocations: 209.1 kB / 0.5386 GB, free: 8.484 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00175/0.5802, allocations: 0.8458 MB / 0.5394 GB, free: 7.93 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.5802, allocations: 9.219 kB / 0.5394 GB, free: 7.922 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.5803, allocations: 0 / 0.5394 GB, free: 7.922 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.747e-05/0.5803, allocations: 0 / 0.5394 GB, free: 7.922 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.002204/0.5825, allocations: 0.8414 MB / 0.5402 GB, free: 7.227 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.5826, allocations: 9.781 kB / 0.5402 GB, free: 7.227 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006431/0.5832, allocations: 91.39 kB / 0.5403 GB, free: 7.184 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005877/0.5838, allocations: 319.9 kB / 0.5406 GB, free: 6.898 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.901e-05/0.5839, allocations: 44.05 kB / 0.5407 GB, free: 6.879 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/0.584, allocations: 59.19 kB / 0.5407 GB, free: 6.855 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001434/0.5854, allocations: 0.7687 MB / 0.5415 GB, free: 6.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.5855, allocations: 0 / 0.5415 GB, free: 6.41 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.013e-05/0.5855, allocations: 20.56 kB / 0.5415 GB, free: 6.395 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-05/0.5856, allocations: 24.88 kB / 0.5415 GB, free: 6.395 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001192/0.5868, allocations: 0.5502 MB / 0.5421 GB, free: 6.141 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003051/0.5899, allocations: 1.687 MB / 0.5437 GB, free: 4.918 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006854/0.5906, allocations: 301.8 kB / 0.544 GB, free: 4.75 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003644/0.5909, allocations: 150.5 kB / 0.5441 GB, free: 4.676 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.831e-05/0.591, allocations: 12.98 kB / 0.5441 GB, free: 4.668 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.5911, allocations: 39.91 kB / 0.5442 GB, free: 4.621 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 2.014e-06/0.5911, allocations: 1.312 kB / 0.5442 GB, free: 4.621 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.001362/0.5924, allocations: 0.5007 MB / 0.5447 GB, free: 4.164 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.016e-05/0.5925, allocations: 118.8 kB / 0.5448 GB, free: 4.023 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000851/0.5934, allocations: 0.6393 MB / 0.5454 GB, free: 3.371 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.002e-05/0.5934, allocations: 25.7 kB / 0.5454 GB, free: 3.34 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002364/0.5937, allocations: 291.4 kB / 0.5457 GB, free: 3.051 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.142e-05/0.5938, allocations: 75 kB / 0.5458 GB, free: 2.977 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002052/0.594, allocations: 122.1 kB / 0.5459 GB, free: 2.848 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.5942, allocations: 362.8 kB / 0.5462 GB, free: 2.484 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004093/0.5946, allocations: 192.9 kB / 0.5464 GB, free: 2.297 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000634/0.5952, allocations: 465.2 kB / 0.5469 GB, free: 1.715 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.5963, allocations: 0.6826 MB / 0.5475 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/0.5963, allocations: 0 / 0.5475 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001396/0.5978, allocations: 0.6866 MB / 0.5482 GB, free: 216 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.418e-05/0.5978, allocations: 11.94 kB / 0.5482 GB, free: 204 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.519e-05/0.5979, allocations: 51.98 kB / 0.5483 GB, free: 152 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.227e-05/0.5979, allocations: 12 kB / 0.5483 GB, free: 140 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003012/0.5982, allocations: 75.81 kB / 0.5484 GB, free: 64 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.351e-05/0.5983, allocations: 19.92 kB / 0.5484 GB, free: 44 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005949/0.5989, allocations: 103.3 kB / 0.5485 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.847e-05/0.599, allocations: 36 kB / 0.5485 GB, free: 15.91 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].roughness,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 (57): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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 0.000353/0.5993, allocations: 257.5 kB / 0.5488 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/0.5995, allocations: 51.28 kB / 0.5488 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009707/0.6004, allocations: 469.7 kB / 0.5493 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/0.6005, allocations: 4 kB / 0.5493 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.6005, allocations: 0 / 0.5493 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.6005, allocations: 4 kB / 0.5493 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000751/0.6012, allocations: 409.2 kB / 0.5496 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.962e-05/0.6013, allocations: 43.98 kB / 0.5497 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001528/0.6015, allocations: 27.91 kB / 0.5497 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-06/0.6015, allocations: 7.938 kB / 0.5497 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.241e-05/0.6015, allocations: 15.94 kB / 0.5497 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.6015, allocations: 4 kB / 0.5497 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.6016, allocations: 0 / 0.5497 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008816/0.6024, allocations: 0.617 MB / 0.5503 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002009/0.6027, allocations: 132.5 kB / 0.5505 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.523e-05/0.6028, allocations: 11.94 kB / 0.5505 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003043/0.6031, allocations: 15.98 kB / 0.5505 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.307e-05/0.6032, allocations: 27.91 kB / 0.5505 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.869e-05/0.6032, allocations: 12 kB / 0.5505 GB, free: 13.72 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005297/0.6037, allocations: 454.7 kB / 0.551 GB, free: 13.28 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.6038, allocations: 0 / 0.551 GB, free: 13.28 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009071/0.6047, allocations: 191.8 kB / 0.5512 GB, free: 13.09 MB / 414.1 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 (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.0006575/0.6053, allocations: 239 kB / 0.5514 GB, free: 12.85 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001205/0.6065, allocations: 0.7506 MB / 0.5521 GB, free: 12.03 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.6066, allocations: 0 / 0.5521 GB, free: 12.03 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005541/0.6071, allocations: 487.1 kB / 0.5526 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007943/0.6079, allocations: 126.3 kB / 0.5527 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002046/0.61, allocations: 1.018 MB / 0.5537 GB, free: 10.3 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00052/0.6105, allocations: 0.8854 MB / 0.5546 GB, free: 9.387 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.6106, allocations: 43.44 kB / 0.5546 GB, free: 9.344 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.6106, allocations: 0 / 0.5546 GB, free: 9.344 MB / 414.1 MB Notification: Performance of Templates: time 0.01754/0.6282, allocations: 10.18 MB / 0.5645 GB, free: 15.21 MB / 430.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_overall/kc_overall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches