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/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_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/ModelicaServices trunk/package.mo): time 0.001108/0.001108, allocations: 117.6 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001298/0.001298, allocations: 204.7 kB / 18.74 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 227.4 MB / 246.9 MB, free: 10.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2361/0.2361, allocations: 46.11 MB / 344.3 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 71.89 kB / 481.3 MB, free: 3.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4239/0.4252, allocations: 62.43 MB / 0.531 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.003988/0.4292, allocations: 2.224 MB / 0.5332 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002306/0.4316, allocations: 1.178 MB / 0.5343 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001399/0.4317, allocations: 2.75 kB / 0.5343 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003357/0.4321, allocations: 74.64 kB / 0.5344 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002659/0.4324, allocations: 93.19 kB / 0.5345 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006643/0.433, allocations: 196 kB / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006535/0.4337, allocations: 0.4883 MB / 0.5352 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.4338, allocations: 58.42 kB / 0.5352 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003957/0.4342, allocations: 180.1 kB / 0.5354 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004129/0.4347, allocations: 202.1 kB / 0.5356 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.926e-05/0.4347, allocations: 14.53 kB / 0.5356 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000845/0.4356, allocations: 327.3 kB / 0.5359 GB, free: 9.922 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001806/0.4358, allocations: 105.3 kB / 0.536 GB, free: 9.848 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000285/0.4361, allocations: 184.3 kB / 0.5362 GB, free: 9.73 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001225/0.4373, allocations: 0.5989 MB / 0.5368 GB, free: 9.336 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.4373, allocations: 0 / 0.5368 GB, free: 9.336 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.4373, allocations: 1.094 kB / 0.5368 GB, free: 9.336 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.4374, allocations: 0 / 0.5368 GB, free: 9.336 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001823/0.4392, allocations: 0.7593 MB / 0.5375 GB, free: 8.699 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.772e-05/0.4393, allocations: 9.562 kB / 0.5375 GB, free: 8.699 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005538/0.4398, allocations: 92.72 kB / 0.5376 GB, free: 8.652 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005656/0.4404, allocations: 299.9 kB / 0.5379 GB, free: 8.379 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.785e-05/0.4405, allocations: 35.78 kB / 0.5379 GB, free: 8.363 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.4406, allocations: 50.25 kB / 0.538 GB, free: 8.344 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001379/0.442, allocations: 0.6591 MB / 0.5386 GB, free: 7.965 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.442, allocations: 0 / 0.5386 GB, free: 7.965 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.697e-05/0.442, allocations: 16.31 kB / 0.5386 GB, free: 7.953 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.418e-05/0.4421, allocations: 22.06 kB / 0.5387 GB, free: 7.949 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009399/0.4431, allocations: 485.3 kB / 0.5391 GB, free: 7.734 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002242/0.4453, allocations: 1.515 MB / 0.5406 GB, free: 6.617 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006442/0.446, allocations: 308.3 kB / 0.5409 GB, free: 6.441 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004461/0.4464, allocations: 145.2 kB / 0.541 GB, free: 6.371 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.721e-05/0.4465, allocations: 13.28 kB / 0.541 GB, free: 6.363 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.824e-05/0.4465, allocations: 40 kB / 0.5411 GB, free: 6.316 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 2.094e-06/0.4466, allocations: 1.188 kB / 0.5411 GB, free: 6.316 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.001385/0.4479, allocations: 0.4947 MB / 0.5416 GB, free: 6.094 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.214e-05/0.448, allocations: 110.4 kB / 0.5417 GB, free: 5.965 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000757/0.4488, allocations: 0.5396 MB / 0.5422 GB, free: 5.656 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.965e-05/0.4488, allocations: 27.14 kB / 0.5422 GB, free: 5.625 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001979/0.449, allocations: 232.8 kB / 0.5425 GB, free: 5.414 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.912e-05/0.4491, allocations: 76.42 kB / 0.5425 GB, free: 5.348 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001559/0.4493, allocations: 84.89 kB / 0.5426 GB, free: 5.293 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002262/0.4495, allocations: 355.6 kB / 0.5429 GB, free: 4.949 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003615/0.4499, allocations: 155 kB / 0.5431 GB, free: 4.891 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004612/0.4504, allocations: 290.2 kB / 0.5434 GB, free: 4.66 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008882/0.4513, allocations: 449 kB / 0.5438 GB, free: 4.195 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.4513, allocations: 0 / 0.5438 GB, free: 4.195 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001124/0.4524, allocations: 0.4993 MB / 0.5443 GB, free: 3.691 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.4524, allocations: 4 kB / 0.5443 GB, free: 3.688 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.818e-05/0.4525, allocations: 43.98 kB / 0.5443 GB, free: 3.645 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.042e-05/0.4526, allocations: 7.938 kB / 0.5443 GB, free: 3.637 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002392/0.4528, allocations: 43.91 kB / 0.5444 GB, free: 3.594 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.436e-05/0.4528, allocations: 7.984 kB / 0.5444 GB, free: 3.586 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003873/0.4532, allocations: 83.77 kB / 0.5445 GB, free: 3.504 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.517e-05/0.4533, allocations: 23.94 kB / 0.5445 GB, free: 3.48 MB / 398.1 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.0002773/0.4536, allocations: 209.6 kB / 0.5447 GB, free: 3.266 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.4537, allocations: 47.7 kB / 0.5447 GB, free: 3.219 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009452/0.4546, allocations: 449 kB / 0.5452 GB, free: 2.773 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.341e-05/0.4547, allocations: 7.938 kB / 0.5452 GB, free: 2.766 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.4547, allocations: 7.984 kB / 0.5452 GB, free: 2.758 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.4547, allocations: 0 / 0.5452 GB, free: 2.758 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006971/0.4554, allocations: 381.4 kB / 0.5455 GB, free: 2.336 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.098e-05/0.4555, allocations: 39.98 kB / 0.5456 GB, free: 2.297 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001419/0.4556, allocations: 27.97 kB / 0.5456 GB, free: 2.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.4556, allocations: 0 / 0.5456 GB, free: 2.27 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.689e-05/0.4556, allocations: 8 kB / 0.5456 GB, free: 2.262 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.111e-06/0.4557, allocations: 7.922 kB / 0.5456 GB, free: 2.254 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.4557, allocations: 4 kB / 0.5456 GB, free: 2.25 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009738/0.4566, allocations: 0.6074 MB / 0.5462 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/0.4568, allocations: 124.8 kB / 0.5463 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.149e-05/0.4569, allocations: 8 kB / 0.5463 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002808/0.4571, allocations: 23.91 kB / 0.5464 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.93e-05/0.4572, allocations: 19.98 kB / 0.5464 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.075e-05/0.4573, allocations: 16 kB / 0.5464 GB, free: 1.418 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000461/0.4577, allocations: 395 kB / 0.5468 GB, free: 1.039 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4578, allocations: 0 / 0.5468 GB, free: 1.039 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006069/0.4584, allocations: 139.8 kB / 0.5469 GB, free: 0.9023 MB / 398.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.0003814/0.4588, allocations: 159 kB / 0.5471 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001002/0.4598, allocations: 0.6653 MB / 0.5477 GB, free: 0 / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4598, allocations: 0 / 0.5477 GB, free: 0 / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006173/0.4604, allocations: 481.3 kB / 0.5482 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001195/0.4616, allocations: 128.5 kB / 0.5483 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001844/0.4635, allocations: 0.9153 MB / 0.5492 GB, free: 14.39 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004805/0.464, allocations: 0.8621 MB / 0.55 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002143/0.4642, allocations: 87.34 kB / 0.5501 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.784e-05/0.4643, allocations: 31.42 kB / 0.5501 GB, free: 13.38 MB / 414.1 MB Notification: Performance of SimCode: time 5.62e-07/0.4643, allocations: 0 / 0.5501 GB, free: 13.38 MB / 414.1 MB Notification: Performance of Templates: time 0.01642/0.4807, allocations: 8.564 MB / 0.5585 GB, free: 4.922 MB / 414.1 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_laminar/kc_laminar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches