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.001202/0.001202, allocations: 118.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001306/0.001306, allocations: 197.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2296/0.2296, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 79.88 kB / 481.3 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3989/0.4002, allocations: 62.44 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.003998/0.4043, allocations: 2.231 MB / 0.5332 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001922/0.4062, allocations: 1.174 MB / 0.5343 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/0.4064, allocations: 2.75 kB / 0.5343 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003235/0.4067, allocations: 76.08 kB / 0.5344 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002308/0.407, allocations: 97.17 kB / 0.5345 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005647/0.4075, allocations: 194.6 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005953/0.4081, allocations: 492.5 kB / 0.5352 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.4083, allocations: 58.11 kB / 0.5352 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003021/0.4086, allocations: 179.8 kB / 0.5354 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002751/0.4088, allocations: 199.2 kB / 0.5356 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.085e-05/0.4089, allocations: 13.16 kB / 0.5356 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005033/0.4094, allocations: 336 kB / 0.5359 GB, free: 9.945 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.4095, allocations: 98.06 kB / 0.536 GB, free: 9.879 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001858/0.4097, allocations: 195.1 kB / 0.5362 GB, free: 9.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007311/0.4105, allocations: 0.5817 MB / 0.5368 GB, free: 9.375 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.4105, allocations: 3.984 kB / 0.5368 GB, free: 9.371 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4105, allocations: 0 / 0.5368 GB, free: 9.371 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.267e-06/0.4105, allocations: 0 / 0.5368 GB, free: 9.371 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.001329/0.4118, allocations: 0.7531 MB / 0.5375 GB, free: 8.742 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.4119, allocations: 13.84 kB / 0.5375 GB, free: 8.738 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004704/0.4124, allocations: 87.33 kB / 0.5376 GB, free: 8.695 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004587/0.4128, allocations: 297.5 kB / 0.5379 GB, free: 8.426 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.082e-05/0.4129, allocations: 31.31 kB / 0.5379 GB, free: 8.414 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.673e-05/0.413, allocations: 48.84 kB / 0.538 GB, free: 8.395 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.414, allocations: 0.659 MB / 0.5386 GB, free: 8.016 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.4141, allocations: 5.141 kB / 0.5386 GB, free: 8.012 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.102e-05/0.4141, allocations: 19.41 kB / 0.5386 GB, free: 7.996 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.511e-05/0.4142, allocations: 26.3 kB / 0.5387 GB, free: 7.988 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009462/0.4151, allocations: 485.5 kB / 0.5391 GB, free: 7.773 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002049/0.4172, allocations: 1.506 MB / 0.5406 GB, free: 6.664 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000577/0.4178, allocations: 305.8 kB / 0.5409 GB, free: 6.492 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003406/0.4181, allocations: 148.4 kB / 0.541 GB, free: 6.418 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.233e-05/0.4182, allocations: 9.609 kB / 0.541 GB, free: 6.414 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.4182, allocations: 44.95 kB / 0.5411 GB, free: 6.363 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 1.963e-06/0.4182, allocations: 0 / 0.5411 GB, free: 6.363 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.001324/0.4195, allocations: 0.4975 MB / 0.5416 GB, free: 6.141 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.756e-05/0.4196, allocations: 105.1 kB / 0.5417 GB, free: 6.016 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006731/0.4203, allocations: 0.5397 MB / 0.5422 GB, free: 5.707 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.15e-05/0.4203, allocations: 26.7 kB / 0.5422 GB, free: 5.676 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001826/0.4205, allocations: 232.4 kB / 0.5424 GB, free: 5.465 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.535e-05/0.4206, allocations: 64.73 kB / 0.5425 GB, free: 5.41 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001582/0.4208, allocations: 85.06 kB / 0.5426 GB, free: 5.355 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.4209, allocations: 359.7 kB / 0.5429 GB, free: 5.008 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003783/0.4213, allocations: 154.5 kB / 0.5431 GB, free: 4.949 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004775/0.4218, allocations: 281.5 kB / 0.5433 GB, free: 4.727 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008234/0.4226, allocations: 445.9 kB / 0.5438 GB, free: 4.277 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.4226, allocations: 0 / 0.5438 GB, free: 4.277 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009947/0.4236, allocations: 0.4948 MB / 0.5442 GB, free: 3.777 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.4237, allocations: 8 kB / 0.5443 GB, free: 3.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-05/0.4237, allocations: 39.98 kB / 0.5443 GB, free: 3.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.31e-05/0.4238, allocations: 11.94 kB / 0.5443 GB, free: 3.719 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000241/0.424, allocations: 43.89 kB / 0.5443 GB, free: 3.676 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/0.424, allocations: 8.438 kB / 0.5444 GB, free: 3.668 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003464/0.4244, allocations: 79.19 kB / 0.5444 GB, free: 3.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.966e-05/0.4244, allocations: 23.94 kB / 0.5444 GB, free: 3.566 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.0002135/0.4247, allocations: 205.7 kB / 0.5446 GB, free: 3.355 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.4248, allocations: 43.44 kB / 0.5447 GB, free: 3.312 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008445/0.4256, allocations: 449 kB / 0.5451 GB, free: 2.867 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.4256, allocations: 11.94 kB / 0.5451 GB, free: 2.855 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.4257, allocations: 4 kB / 0.5451 GB, free: 2.852 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.4257, allocations: 0 / 0.5451 GB, free: 2.852 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005622/0.4262, allocations: 393.2 kB / 0.5455 GB, free: 2.418 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.521e-05/0.4263, allocations: 39.97 kB / 0.5455 GB, free: 2.379 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001471/0.4265, allocations: 23.97 kB / 0.5456 GB, free: 2.355 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.72e-06/0.4265, allocations: 8 kB / 0.5456 GB, free: 2.348 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.613e-05/0.4265, allocations: 12 kB / 0.5456 GB, free: 2.336 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.4265, allocations: 3.938 kB / 0.5456 GB, free: 2.332 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.4265, allocations: 0 / 0.5456 GB, free: 2.332 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000873/0.4274, allocations: 0.6098 MB / 0.5462 GB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000131/0.4275, allocations: 128.5 kB / 0.5463 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.688e-05/0.4276, allocations: 8 kB / 0.5463 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003036/0.4279, allocations: 19.92 kB / 0.5463 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.66e-05/0.428, allocations: 23.97 kB / 0.5464 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.668e-05/0.428, allocations: 12 kB / 0.5464 GB, free: 1.5 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004117/0.4285, allocations: 395 kB / 0.5467 GB, free: 1.121 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4285, allocations: 0 / 0.5467 GB, free: 1.121 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005845/0.4291, allocations: 135.8 kB / 0.5469 GB, free: 0.9883 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.0003087/0.4294, allocations: 159 kB / 0.547 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009775/0.4304, allocations: 0.664 MB / 0.5477 GB, free: 88 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4304, allocations: 0 / 0.5477 GB, free: 88 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005211/0.4309, allocations: 489.3 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.000709/0.4316, allocations: 118.4 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.001623/0.4333, allocations: 0.9092 MB / 0.5491 GB, free: 14.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004063/0.4337, allocations: 0.862 MB / 0.55 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001967/0.4339, allocations: 87.28 kB / 0.5501 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.032e-05/0.434, allocations: 35.44 kB / 0.5501 GB, free: 13.47 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.434, allocations: 0 / 0.5501 GB, free: 13.47 MB / 414.1 MB Notification: Performance of Templates: time 0.0143/0.4483, allocations: 8.759 MB / 0.5587 GB, free: 4.812 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