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.001411/0.001411, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001417/0.001418, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.395/1.395, allocations: 227.4 MB / 246.9 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2431/0.2431, allocations: 46.09 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001478, allocations: 79.86 kB / 481.3 MB, free: 4.023 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4235/0.425, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.003356/0.4284, allocations: 2.222 MB / 0.5332 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001825/0.4302, allocations: 1.178 MB / 0.5343 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.4303, allocations: 5.375 kB / 0.5343 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000291/0.4306, allocations: 72.08 kB / 0.5344 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002517/0.4309, allocations: 107.9 kB / 0.5345 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005318/0.4315, allocations: 199.5 kB / 0.5347 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005249/0.432, allocations: 496.1 kB / 0.5352 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.742e-05/0.4321, allocations: 54.38 kB / 0.5352 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002687/0.4324, allocations: 183.6 kB / 0.5354 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002737/0.4327, allocations: 202.9 kB / 0.5356 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.061e-05/0.4327, allocations: 13.59 kB / 0.5356 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000505/0.4332, allocations: 332.4 kB / 0.5359 GB, free: 9.953 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001094/0.4333, allocations: 101.1 kB / 0.536 GB, free: 9.883 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001691/0.4335, allocations: 187.6 kB / 0.5362 GB, free: 9.762 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006584/0.4342, allocations: 0.5858 MB / 0.5368 GB, free: 9.383 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.4342, allocations: 0 / 0.5368 GB, free: 9.383 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.4342, allocations: 4 kB / 0.5368 GB, free: 9.379 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.104e-06/0.4342, allocations: 1.062 kB / 0.5368 GB, free: 9.379 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.001342/0.4356, allocations: 0.7479 MB / 0.5375 GB, free: 8.754 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.4356, allocations: 9.531 kB / 0.5375 GB, free: 8.754 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004798/0.4361, allocations: 88.83 kB / 0.5376 GB, free: 8.711 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003841/0.4365, allocations: 300 kB / 0.5379 GB, free: 8.438 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.395e-05/0.4365, allocations: 35.28 kB / 0.5379 GB, free: 8.422 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.386e-05/0.4366, allocations: 46.34 kB / 0.538 GB, free: 8.406 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/0.4376, allocations: 0.6621 MB / 0.5386 GB, free: 8.023 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.4377, allocations: 5.469 kB / 0.5386 GB, free: 8.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.779e-05/0.4377, allocations: 16.47 kB / 0.5386 GB, free: 8.008 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.879e-05/0.4378, allocations: 20.62 kB / 0.5387 GB, free: 8.004 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000915/0.4387, allocations: 489.5 kB / 0.5391 GB, free: 7.785 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002124/0.4408, allocations: 1.507 MB / 0.5406 GB, free: 6.676 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006358/0.4415, allocations: 312.6 kB / 0.5409 GB, free: 6.496 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003282/0.4418, allocations: 145.1 kB / 0.541 GB, free: 6.426 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.574e-05/0.4419, allocations: 12.66 kB / 0.541 GB, free: 6.418 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.4419, allocations: 36.94 kB / 0.5411 GB, free: 6.375 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 2.194e-06/0.4419, allocations: 4 kB / 0.5411 GB, free: 6.371 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.001274/0.4432, allocations: 0.4921 MB / 0.5416 GB, free: 6.152 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.324e-05/0.4433, allocations: 113.4 kB / 0.5417 GB, free: 6.02 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006152/0.4439, allocations: 0.5351 MB / 0.5422 GB, free: 5.715 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.4439, allocations: 26.8 kB / 0.5422 GB, free: 5.684 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001696/0.4441, allocations: 233.2 kB / 0.5424 GB, free: 5.473 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.814e-05/0.4442, allocations: 67.84 kB / 0.5425 GB, free: 5.414 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/0.4443, allocations: 85.59 kB / 0.5426 GB, free: 5.359 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.4445, allocations: 354.8 kB / 0.5429 GB, free: 5.016 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003629/0.4448, allocations: 156.4 kB / 0.5431 GB, free: 4.957 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004296/0.4453, allocations: 278.7 kB / 0.5433 GB, free: 4.734 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007672/0.446, allocations: 450.8 kB / 0.5438 GB, free: 4.281 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.4461, allocations: 4 kB / 0.5438 GB, free: 4.277 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001041/0.4471, allocations: 0.4969 MB / 0.5443 GB, free: 3.773 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.4471, allocations: 8 kB / 0.5443 GB, free: 3.766 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-05/0.4472, allocations: 43.92 kB / 0.5443 GB, free: 3.723 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.283e-05/0.4472, allocations: 7.938 kB / 0.5443 GB, free: 3.715 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002446/0.4475, allocations: 43.91 kB / 0.5444 GB, free: 3.672 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.4475, allocations: 4 kB / 0.5444 GB, free: 3.668 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003709/0.4479, allocations: 79.19 kB / 0.5444 GB, free: 3.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-05/0.4479, allocations: 28.06 kB / 0.5445 GB, free: 3.562 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.0002368/0.4482, allocations: 205.7 kB / 0.5447 GB, free: 3.352 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.4483, allocations: 43.44 kB / 0.5447 GB, free: 3.309 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008569/0.4492, allocations: 447.3 kB / 0.5451 GB, free: 2.867 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.4492, allocations: 7.938 kB / 0.5451 GB, free: 2.859 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.4492, allocations: 3.984 kB / 0.5451 GB, free: 2.855 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.4492, allocations: 0 / 0.5451 GB, free: 2.855 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006128/0.4498, allocations: 389.2 kB / 0.5455 GB, free: 2.426 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.423e-05/0.4499, allocations: 39.98 kB / 0.5456 GB, free: 2.387 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001434/0.45, allocations: 23.97 kB / 0.5456 GB, free: 2.363 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.4501, allocations: 0 / 0.5456 GB, free: 2.363 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.952e-05/0.4501, allocations: 12 kB / 0.5456 GB, free: 2.352 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.684e-06/0.4501, allocations: 11.92 kB / 0.5456 GB, free: 2.34 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.4501, allocations: 0 / 0.5456 GB, free: 2.34 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009083/0.451, allocations: 0.6072 MB / 0.5462 GB, free: 1.715 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000147/0.4512, allocations: 124.5 kB / 0.5463 GB, free: 1.574 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.025e-05/0.4513, allocations: 8 kB / 0.5463 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003261/0.4516, allocations: 19.91 kB / 0.5463 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.952e-05/0.4517, allocations: 23.98 kB / 0.5464 GB, free: 1.523 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.989e-05/0.4517, allocations: 16 kB / 0.5464 GB, free: 1.508 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004431/0.4522, allocations: 395 kB / 0.5467 GB, free: 1.129 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4522, allocations: 0 / 0.5467 GB, free: 1.129 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006478/0.4529, allocations: 135.8 kB / 0.5469 GB, free: 0.9961 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.0003645/0.4532, allocations: 170.9 kB / 0.547 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001017/0.4543, allocations: 0.663 MB / 0.5477 GB, free: 88 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4543, allocations: 0 / 0.5477 GB, free: 88 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005511/0.4548, allocations: 480.2 kB / 0.5481 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007227/0.4556, allocations: 129.7 kB / 0.5483 GB, free: 15.42 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001664/0.4572, allocations: 0.9092 MB / 0.5492 GB, free: 14.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004828/0.4577, allocations: 0.8621 MB / 0.55 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002152/0.458, allocations: 83.36 kB / 0.5501 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.471e-05/0.458, allocations: 31.42 kB / 0.5501 GB, free: 13.47 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.458, allocations: 0 / 0.5501 GB, free: 13.47 MB / 414.1 MB Notification: Performance of Templates: time 0.01391/0.472, allocations: 8.563 MB / 0.5585 GB, free: 5.016 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