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.001621/0.001621, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001031/0.001032, allocations: 111.8 kB / 296.7 MB, free: 6.484 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3634/0.3633, allocations: 44.83 MB / 392.7 MB, free: 34.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001116/0.001116, allocations: 67.88 kB / 465.5 MB, free: 12.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.359, allocations: 62.01 MB / 0.5152 GB, free: 37.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.004106/0.3631, allocations: 2.274 MB / 0.5174 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002032/0.3652, allocations: 1.165 MB / 0.5185 GB, free: 35.4 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001161/0.3654, allocations: 2.781 kB / 0.5185 GB, free: 35.4 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002945/0.3657, allocations: 58.88 kB / 0.5186 GB, free: 35.37 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002104/0.3659, allocations: 92.89 kB / 0.5187 GB, free: 35.32 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004233/0.3663, allocations: 151.8 kB / 0.5188 GB, free: 35.26 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005512/0.3669, allocations: 0.5955 MB / 0.5194 GB, free: 35.04 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.771e-05/0.367, allocations: 59.02 kB / 0.5195 GB, free: 35.01 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002471/0.3672, allocations: 162.4 kB / 0.5196 GB, free: 34.94 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000225/0.3675, allocations: 209.1 kB / 0.5198 GB, free: 34.85 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.833e-05/0.3675, allocations: 11.75 kB / 0.5198 GB, free: 34.85 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004298/0.3679, allocations: 336.5 kB / 0.5202 GB, free: 34.73 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.3681, allocations: 97.83 kB / 0.5202 GB, free: 34.69 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000149/0.3682, allocations: 186.1 kB / 0.5204 GB, free: 34.58 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005606/0.3688, allocations: 0.5721 MB / 0.521 GB, free: 34.36 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3688, allocations: 0 / 0.521 GB, free: 34.36 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.123e-06/0.3688, allocations: 0 / 0.521 GB, free: 34.36 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.3688, allocations: 0 / 0.521 GB, free: 34.36 MB / 378.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.001121/0.3699, allocations: 0.747 MB / 0.5217 GB, free: 33.8 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.37, allocations: 12.41 kB / 0.5217 GB, free: 33.79 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003768/0.3704, allocations: 81.25 kB / 0.5218 GB, free: 33.77 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003625/0.3708, allocations: 301.4 kB / 0.5221 GB, free: 33.51 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.789e-05/0.3708, allocations: 37.62 kB / 0.5221 GB, free: 33.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.373e-05/0.3708, allocations: 47.19 kB / 0.5222 GB, free: 33.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008477/0.3717, allocations: 0.6536 MB / 0.5228 GB, free: 33.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.3717, allocations: 0 / 0.5228 GB, free: 33.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.686e-05/0.3718, allocations: 21.28 kB / 0.5228 GB, free: 33.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.944e-05/0.3718, allocations: 27.81 kB / 0.5229 GB, free: 33.22 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007989/0.3726, allocations: 488.1 kB / 0.5233 GB, free: 33.12 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001743/0.3744, allocations: 1.509 MB / 0.5248 GB, free: 32.25 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005274/0.3749, allocations: 305.7 kB / 0.5251 GB, free: 32.14 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002984/0.3752, allocations: 154.5 kB / 0.5252 GB, free: 32.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.27e-05/0.3753, allocations: 11.66 kB / 0.5252 GB, free: 32.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.705e-05/0.3753, allocations: 33.84 kB / 0.5253 GB, free: 32.05 MB / 378.7 MB Notification: Performance of pre-optimization done (n=20): time 1.813e-06/0.3753, allocations: 0 / 0.5253 GB, free: 32.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.001105/0.3764, allocations: 0.4975 MB / 0.5258 GB, free: 31.92 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.3765, allocations: 108.8 kB / 0.5259 GB, free: 31.8 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004762/0.377, allocations: 0.5336 MB / 0.5264 GB, free: 31.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.377, allocations: 29.86 kB / 0.5264 GB, free: 31.55 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.3771, allocations: 242.6 kB / 0.5266 GB, free: 31.35 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.713e-05/0.3772, allocations: 66.12 kB / 0.5267 GB, free: 31.3 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/0.3773, allocations: 82.44 kB / 0.5268 GB, free: 31.25 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.432e-05/0.3774, allocations: 358.8 kB / 0.5271 GB, free: 30.92 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003199/0.3777, allocations: 149.7 kB / 0.5273 GB, free: 30.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003646/0.3781, allocations: 282.6 kB / 0.5275 GB, free: 30.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007172/0.3788, allocations: 452.8 kB / 0.528 GB, free: 30.51 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.3788, allocations: 2.562 kB / 0.528 GB, free: 30.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008546/0.3797, allocations: 498.4 kB / 0.5285 GB, free: 30.38 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.3797, allocations: 6.312 kB / 0.5285 GB, free: 30.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-05/0.3798, allocations: 42.56 kB / 0.5285 GB, free: 30.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.3798, allocations: 13.84 kB / 0.5285 GB, free: 30.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002103/0.38, allocations: 44.06 kB / 0.5286 GB, free: 30.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.38, allocations: 8.688 kB / 0.5286 GB, free: 30.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002878/0.3803, allocations: 75.42 kB / 0.5286 GB, free: 30.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.459e-05/0.3804, allocations: 21.31 kB / 0.5287 GB, free: 30.3 MB / 378.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001815/0.3806, allocations: 206.1 kB / 0.5289 GB, free: 30.17 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.841e-05/0.3807, allocations: 49.16 kB / 0.5289 GB, free: 30.14 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008022/0.3815, allocations: 447.1 kB / 0.5293 GB, free: 29.99 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/0.3815, allocations: 6.906 kB / 0.5293 GB, free: 29.99 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/0.3815, allocations: 3.156 kB / 0.5293 GB, free: 29.99 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.3815, allocations: 0 / 0.5293 GB, free: 29.99 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004897/0.382, allocations: 390 kB / 0.5297 GB, free: 29.74 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-05/0.3821, allocations: 40.7 kB / 0.5297 GB, free: 29.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000136/0.3822, allocations: 30.14 kB / 0.5298 GB, free: 29.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.3822, allocations: 0 / 0.5298 GB, free: 29.72 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.533e-05/0.3823, allocations: 12.44 kB / 0.5298 GB, free: 29.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.3823, allocations: 6.844 kB / 0.5298 GB, free: 29.71 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.3823, allocations: 6.844 kB / 0.5298 GB, free: 29.71 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001562/0.3838, allocations: 1.416 MB / 0.5312 GB, free: 28.71 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.384, allocations: 120.8 kB / 0.5313 GB, free: 28.59 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.581e-05/0.384, allocations: 10.22 kB / 0.5313 GB, free: 28.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000271/0.3843, allocations: 15.38 kB / 0.5313 GB, free: 28.59 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.843e-05/0.3844, allocations: 29.28 kB / 0.5313 GB, free: 28.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.462e-05/0.3844, allocations: 12 kB / 0.5314 GB, free: 28.57 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003366/0.3848, allocations: 395.3 kB / 0.5317 GB, free: 28.42 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.3848, allocations: 0 / 0.5317 GB, free: 28.42 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006353/0.3854, allocations: 133.9 kB / 0.5319 GB, free: 28.39 MB / 378.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 (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.0003172/0.3857, allocations: 168.1 kB / 0.532 GB, free: 28.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009584/0.3867, allocations: 0.6604 MB / 0.5327 GB, free: 27.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.3867, allocations: 0 / 0.5327 GB, free: 27.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004849/0.3872, allocations: 488.4 kB / 0.5331 GB, free: 27.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007337/0.388, allocations: 106.4 kB / 0.5332 GB, free: 27.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001842/0.3898, allocations: 1.177 MB / 0.5344 GB, free: 26.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003713/0.3902, allocations: 0.875 MB / 0.5352 GB, free: 26.04 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002239/0.3904, allocations: 91.72 kB / 0.5353 GB, free: 26.03 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.602e-05/0.3905, allocations: 30.66 kB / 0.5354 GB, free: 26.02 MB / 378.7 MB Notification: Performance of SimCode: time 3.51e-07/0.3905, allocations: 0 / 0.5354 GB, free: 26.02 MB / 378.7 MB Notification: Performance of Templates: time 0.01932/0.4098, allocations: 8.297 MB / 0.5435 GB, free: 24.11 MB / 378.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/jenkins/ws/OpenModelicaLibraryTestingWork@2/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