Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_cpp_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_cpp_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.0009346/0.0009346, allocations: 200.7 kB / 15.8 MB, free: 6.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.25/1.25, allocations: 226.6 MB / 243.1 MB, free: 14.29 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007745/0.0007745, allocations: 96.78 kB / 295.1 MB, free: 10.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1896/0.1896, allocations: 44.84 MB / 392 MB, free: 9.316 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002468/0.0002468, allocations: 11.98 kB / 464.8 MB, free: 49.72 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08608/0.08634, allocations: 62.95 MB / 0.5153 GB, free: 2.73 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.002174/0.08856, allocations: 1.854 MB / 0.5172 GB, free: 0.8516 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.1734/0.262, allocations: 1.041 MB / 0.5182 GB, free: 9.828 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001615/0.2621, allocations: 1.969 kB / 0.5182 GB, free: 9.828 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002347/0.2624, allocations: 55.67 kB / 0.5182 GB, free: 9.828 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000235/0.2626, allocations: 90.2 kB / 0.5183 GB, free: 9.828 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004811/0.2631, allocations: 153.5 kB / 0.5185 GB, free: 9.824 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005215/0.2636, allocations: 0.5248 MB / 0.519 GB, free: 9.707 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.497e-05/0.2637, allocations: 62.33 kB / 0.519 GB, free: 9.684 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002268/0.264, allocations: 164.9 kB / 0.5192 GB, free: 9.637 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002346/0.2642, allocations: 205.6 kB / 0.5194 GB, free: 9.59 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.735e-05/0.2643, allocations: 10.69 kB / 0.5194 GB, free: 9.59 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004471/0.2647, allocations: 316.8 kB / 0.5197 GB, free: 9.578 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.256e-05/0.2648, allocations: 94.81 kB / 0.5198 GB, free: 9.555 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.277e-05/0.2649, allocations: 87.7 kB / 0.5199 GB, free: 9.512 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004296/0.2653, allocations: 404 kB / 0.5203 GB, free: 9.457 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2654, allocations: 4 kB / 0.5203 GB, free: 9.453 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2654, allocations: 0 / 0.5203 GB, free: 9.453 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.2654, allocations: 0 / 0.5203 GB, free: 9.453 MB / 346.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.0009209/0.2663, allocations: 0.6894 MB / 0.5209 GB, free: 8.957 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.2663, allocations: 9.406 kB / 0.5209 GB, free: 8.957 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003811/0.2667, allocations: 89.17 kB / 0.521 GB, free: 8.934 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002916/0.267, allocations: 306.3 kB / 0.5213 GB, free: 8.688 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.746e-05/0.2671, allocations: 34.16 kB / 0.5214 GB, free: 8.688 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.447e-05/0.2671, allocations: 42.34 kB / 0.5214 GB, free: 8.688 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/0.2682, allocations: 0.667 MB / 0.522 GB, free: 8.602 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.2682, allocations: 0 / 0.522 GB, free: 8.602 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.141e-05/0.2682, allocations: 20.39 kB / 0.5221 GB, free: 8.602 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-05/0.2683, allocations: 24.23 kB / 0.5221 GB, free: 8.598 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008889/0.2692, allocations: 0.4971 MB / 0.5226 GB, free: 8.59 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001832/0.271, allocations: 1.5 MB / 0.524 GB, free: 7.922 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005897/0.2716, allocations: 318 kB / 0.5243 GB, free: 7.844 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003393/0.272, allocations: 162 kB / 0.5245 GB, free: 7.816 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.918e-05/0.272, allocations: 14.95 kB / 0.5245 GB, free: 7.812 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.2721, allocations: 40.28 kB / 0.5246 GB, free: 7.77 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 2.034e-06/0.2721, allocations: 0 / 0.5246 GB, free: 7.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=20): time 0.001273/0.2733, allocations: 0.5254 MB / 0.5251 GB, free: 7.699 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.2734, allocations: 110.7 kB / 0.5252 GB, free: 7.57 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006065/0.274, allocations: 0.5329 MB / 0.5257 GB, free: 7.461 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.274, allocations: 27.83 kB / 0.5257 GB, free: 7.43 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.2742, allocations: 229.5 kB / 0.5259 GB, free: 7.277 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.052e-05/0.2742, allocations: 74.16 kB / 0.526 GB, free: 7.223 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.885e-05/0.2742, allocations: 4 kB / 0.526 GB, free: 7.219 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.744e-05/0.2743, allocations: 362.3 kB / 0.5264 GB, free: 6.883 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003952/0.2747, allocations: 166.1 kB / 0.5265 GB, free: 6.859 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004052/0.2751, allocations: 287.9 kB / 0.5268 GB, free: 6.684 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004094/0.2756, allocations: 207.1 kB / 0.527 GB, free: 6.645 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.2756, allocations: 0 / 0.527 GB, free: 6.645 MB / 346.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009919/0.2766, allocations: 0.5174 MB / 0.5275 GB, free: 6.5 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.2766, allocations: 6.781 kB / 0.5275 GB, free: 6.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-05/0.2767, allocations: 40.84 kB / 0.5275 GB, free: 6.492 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.2767, allocations: 7.406 kB / 0.5275 GB, free: 6.492 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002348/0.2769, allocations: 49.19 kB / 0.5276 GB, free: 6.488 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/0.277, allocations: 10.84 kB / 0.5276 GB, free: 6.484 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003511/0.2773, allocations: 80.59 kB / 0.5277 GB, free: 6.441 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.476e-05/0.2774, allocations: 23.12 kB / 0.5277 GB, free: 6.438 MB / 346.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.0002212/0.2776, allocations: 226.5 kB / 0.5279 GB, free: 6.281 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.345e-05/0.2777, allocations: 42.62 kB / 0.528 GB, free: 6.258 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008093/0.2785, allocations: 463.4 kB / 0.5284 GB, free: 6.102 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/0.2785, allocations: 5.75 kB / 0.5284 GB, free: 6.102 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.2785, allocations: 0 / 0.5284 GB, free: 6.102 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.2785, allocations: 2.531 kB / 0.5284 GB, free: 6.102 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005432/0.2791, allocations: 386.7 kB / 0.5288 GB, free: 5.859 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.296e-05/0.2792, allocations: 41.77 kB / 0.5288 GB, free: 5.848 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000153/0.2793, allocations: 29.94 kB / 0.5288 GB, free: 5.848 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.2793, allocations: 1.094 kB / 0.5288 GB, free: 5.848 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.822e-05/0.2794, allocations: 13.34 kB / 0.5289 GB, free: 5.844 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.2794, allocations: 6.031 kB / 0.5289 GB, free: 5.84 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.2794, allocations: 1.344 kB / 0.5289 GB, free: 5.84 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008074/0.2802, allocations: 0.6312 MB / 0.5295 GB, free: 5.484 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.826e-05/0.2803, allocations: 128 kB / 0.5296 GB, free: 5.363 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.158e-05/0.2804, allocations: 8.953 kB / 0.5296 GB, free: 5.359 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003012/0.2807, allocations: 29.56 kB / 0.5296 GB, free: 5.352 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.698e-05/0.2808, allocations: 26.58 kB / 0.5297 GB, free: 5.344 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.628e-05/0.2808, allocations: 11.84 kB / 0.5297 GB, free: 5.344 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003979/0.2812, allocations: 388.2 kB / 0.53 GB, free: 5.188 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2812, allocations: 1.031 kB / 0.53 GB, free: 5.188 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009692/0.2822, allocations: 132.2 kB / 0.5302 GB, free: 5.168 MB / 346.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.0002595/0.2824, allocations: 156.3 kB / 0.5303 GB, free: 5.059 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009133/0.2834, allocations: 0.6912 MB / 0.531 GB, free: 4.621 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2834, allocations: 0 / 0.531 GB, free: 4.621 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004381/0.2838, allocations: 494.5 kB / 0.5315 GB, free: 4.219 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007001/0.2845, allocations: 109.7 kB / 0.5316 GB, free: 4.184 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001565/0.2861, allocations: 1.011 MB / 0.5326 GB, free: 3.699 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.2864, allocations: 0.8617 MB / 0.5334 GB, free: 2.98 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.95e-05/0.2865, allocations: 34.12 kB / 0.5334 GB, free: 2.973 MB / 346.7 MB Notification: Performance of SimCode: time 6.21e-07/0.2865, allocations: 1.156 kB / 0.5334 GB, free: 2.973 MB / 346.7 MB Notification: Performance of Templates: time 0.01139/0.2979, allocations: 8.205 MB / 0.5414 GB, free: 15.76 MB / 362.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches