Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.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.Channel.kc_evenGapLaminar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dimlesslength|abscissa.1.|abscissa.2.|abscissa.3.|length|dimlesslength|Pr.1.|Pr.2.|Pr.3.|Re.1.|Re.2.|Re.3.|velocity.1.|velocity.2.|velocity.3.|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.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.|m_flow.1.|m_flow.2.|m_flow.3.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dimlesslength|abscissa.1.|abscissa.2.|abscissa.3.|length|dimlesslength|Pr.1.|Pr.2.|Pr.3.|Re.1.|Re.2.|Re.3.|velocity.1.|velocity.2.|velocity.3.|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.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.|m_flow.1.|m_flow.2.|m_flow.3.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001014/0.001014, allocations: 202.2 kB / 15.8 MB, free: 6.332 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.243/1.243, allocations: 226.5 MB / 243.1 MB, free: 12.55 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007099/0.0007099, allocations: 98.95 kB / 295.1 MB, free: 4.363 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1723/0.1723, allocations: 44.83 MB / 392 MB, free: 11.39 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002152/0.0002153, allocations: 8 kB / 464.8 MB, free: 68.06 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07631/0.07654, allocations: 62.95 MB / 0.5153 GB, free: 5.098 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar): time 0.001413/0.07798, allocations: 1.607 MB / 0.5169 GB, free: 3.469 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.07906, allocations: 1.064 MB / 0.518 GB, free: 2.402 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.98e-05/0.07913, allocations: 0 / 0.518 GB, free: 2.402 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001756/0.07932, allocations: 51.72 kB / 0.518 GB, free: 2.352 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001682/0.07949, allocations: 95.48 kB / 0.5181 GB, free: 2.258 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002834/0.07978, allocations: 131.6 kB / 0.5182 GB, free: 2.129 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003185/0.08011, allocations: 0.5134 MB / 0.5187 GB, free: 1.613 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.588e-05/0.08018, allocations: 61 kB / 0.5188 GB, free: 1.555 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.332e-05/0.08027, allocations: 151.2 kB / 0.5189 GB, free: 1.406 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000163/0.08044, allocations: 199.1 kB / 0.5191 GB, free: 1.211 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.931e-05/0.08048, allocations: 8 kB / 0.5191 GB, free: 1.203 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002981/0.08078, allocations: 259.5 kB / 0.5194 GB, free: 0.9492 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.204e-05/0.08085, allocations: 107.4 kB / 0.5195 GB, free: 0.8438 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.676e-05/0.08091, allocations: 85.45 kB / 0.5195 GB, free: 0.7539 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002671/0.08118, allocations: 399.1 kB / 0.5199 GB, free: 372 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.08119, allocations: 4 kB / 0.5199 GB, free: 368 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.0812, allocations: 0 / 0.5199 GB, free: 368 kB / 346.7 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.08121, allocations: 0 / 0.5199 GB, free: 368 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.0006878/0.0819, allocations: 0.6359 MB / 0.5206 GB, free: 15.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.954e-05/0.08194, allocations: 8.031 kB / 0.5206 GB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.811e-05/0.08202, allocations: 47.44 kB / 0.5206 GB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003255/0.08235, allocations: 296.7 kB / 0.5209 GB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.887e-05/0.08239, allocations: 37.31 kB / 0.5209 GB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.124e-05/0.08247, allocations: 55.92 kB / 0.521 GB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008357/0.08331, allocations: 0.6311 MB / 0.5216 GB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.08333, allocations: 0 / 0.5216 GB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.853e-05/0.08337, allocations: 16 kB / 0.5216 GB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.261e-05/0.08342, allocations: 37.3 kB / 0.5216 GB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006766/0.0841, allocations: 0.4969 MB / 0.5221 GB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002055/0.08617, allocations: 1.403 MB / 0.5235 GB, free: 12.56 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006649/0.08685, allocations: 436.2 kB / 0.5239 GB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000207/0.08706, allocations: 136.8 kB / 0.524 GB, free: 11.99 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.079e-05/0.08712, allocations: 19.97 kB / 0.5241 GB, free: 11.97 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.08715, allocations: 34.56 kB / 0.5241 GB, free: 11.93 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 1.573e-06/0.08716, allocations: 0 / 0.5241 GB, free: 11.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.0008062/0.08797, allocations: 0.5031 MB / 0.5246 GB, free: 11.42 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.137e-05/0.08801, allocations: 55.41 kB / 0.5246 GB, free: 11.35 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005332/0.08855, allocations: 0.5484 MB / 0.5252 GB, free: 10.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.565e-05/0.08859, allocations: 29.7 kB / 0.5252 GB, free: 10.76 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/0.08874, allocations: 216.2 kB / 0.5254 GB, free: 10.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.058e-05/0.08882, allocations: 98.58 kB / 0.5255 GB, free: 10.45 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.055e-05/0.08884, allocations: 4 kB / 0.5255 GB, free: 10.44 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.08898, allocations: 362.8 kB / 0.5259 GB, free: 10.08 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002437/0.08923, allocations: 156.1 kB / 0.526 GB, free: 9.922 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002887/0.08952, allocations: 249.8 kB / 0.5262 GB, free: 9.637 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000291/0.08982, allocations: 197.2 kB / 0.5264 GB, free: 9.445 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.08983, allocations: 0 / 0.5264 GB, free: 9.445 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007142/0.09055, allocations: 0.4896 MB / 0.5269 GB, free: 8.953 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.09057, allocations: 8 kB / 0.5269 GB, free: 8.945 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.805e-05/0.09065, allocations: 43.98 kB / 0.527 GB, free: 8.902 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.09067, allocations: 4.406 kB / 0.527 GB, free: 8.898 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00018/0.09085, allocations: 47.86 kB / 0.527 GB, free: 8.852 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.09087, allocations: 7.938 kB / 0.527 GB, free: 8.844 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00022/0.09109, allocations: 59.28 kB / 0.5271 GB, free: 8.785 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.538e-05/0.09114, allocations: 20 kB / 0.5271 GB, free: 8.766 MB / 362.7 MB Warning: Assuming fixed start value for the following 1 variables: dimlesslength:VARIABLE(start = 0.01 unit = "m" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (41): * Single equations (assignments): 29 * 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.0002465/0.09139, allocations: 225.6 kB / 0.5273 GB, free: 8.535 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.991e-05/0.09146, allocations: 47.42 kB / 0.5274 GB, free: 8.488 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008614/0.09233, allocations: 0.5284 MB / 0.5279 GB, free: 7.949 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/0.09235, allocations: 4 kB / 0.5279 GB, free: 7.945 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.09236, allocations: 3.953 kB / 0.5279 GB, free: 7.941 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.09237, allocations: 0 / 0.5279 GB, free: 7.941 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005037/0.09287, allocations: 429.2 kB / 0.5283 GB, free: 7.473 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.575e-05/0.09294, allocations: 43.98 kB / 0.5283 GB, free: 7.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001553/0.0931, allocations: 24 kB / 0.5284 GB, free: 7.406 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.149e-06/0.09311, allocations: 7.984 kB / 0.5284 GB, free: 7.398 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.746e-05/0.09315, allocations: 12 kB / 0.5284 GB, free: 7.387 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.09315, allocations: 4 kB / 0.5284 GB, free: 7.383 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.09316, allocations: 0 / 0.5284 GB, free: 7.383 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009172/0.09408, allocations: 0.716 MB / 0.5291 GB, free: 6.652 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.801e-05/0.09419, allocations: 124.5 kB / 0.5292 GB, free: 6.512 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.178e-05/0.09427, allocations: 8 kB / 0.5292 GB, free: 6.504 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.09445, allocations: 4 kB / 0.5292 GB, free: 6.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.662e-05/0.09451, allocations: 32.03 kB / 0.5292 GB, free: 6.469 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-05/0.09454, allocations: 19.94 kB / 0.5293 GB, free: 6.449 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000377/0.09492, allocations: 395 kB / 0.5296 GB, free: 6.066 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.09493, allocations: 0 / 0.5296 GB, free: 6.066 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004209/0.09535, allocations: 155.8 kB / 0.5298 GB, free: 5.914 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (dimlesslength) * 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 (28): * Single equations (assignments): 16 * 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.0002417/0.0956, allocations: 159.5 kB / 0.5299 GB, free: 5.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007014/0.09631, allocations: 0.6679 MB / 0.5306 GB, free: 5.008 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.09632, allocations: 0.8125 kB / 0.5306 GB, free: 5.008 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003689/0.0967, allocations: 496.2 kB / 0.5311 GB, free: 4.449 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004404/0.09714, allocations: 92.38 kB / 0.5311 GB, free: 4.363 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001611/0.09876, allocations: 1.15 MB / 0.5323 GB, free: 3.176 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003793/0.09916, allocations: 0.8705 MB / 0.5331 GB, free: 2.277 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.769e-05/0.09925, allocations: 39.44 kB / 0.5332 GB, free: 2.238 MB / 362.7 MB Notification: Performance of SimCode: time 2.2e-07/0.09926, allocations: 0 / 0.5332 GB, free: 2.238 MB / 362.7 MB Notification: Performance of Templates: time 0.009721/0.109, allocations: 8.355 MB / 0.5413 GB, free: 9.918 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapLaminar/kc_evenGapLaminar.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches