Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.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_evenGapOverall,tolerance=1e-06,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.|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_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|mflow_test|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall,tolerance=1e-06,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.|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_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|mflow_test|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009195/0.00092, allocations: 200.7 kB / 15.8 MB, free: 6.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.229/1.229, allocations: 226.6 MB / 243.1 MB, free: 14.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007629/0.0007628, allocations: 102.7 kB / 295.1 MB, free: 10 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1719/0.1719, allocations: 44.85 MB / 392 MB, free: 9.277 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002293/0.0002294, allocations: 8 kB / 464.8 MB, free: 49.72 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08151/0.08175, allocations: 62.95 MB / 0.5153 GB, free: 2.727 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall): time 0.00208/0.08386, allocations: 1.861 MB / 0.5172 GB, free: 0.8398 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.158/0.2419, allocations: 1.915 MB / 0.519 GB, free: 9.844 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001377/0.242, allocations: 0.7812 kB / 0.519 GB, free: 9.844 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002326/0.2423, allocations: 53.64 kB / 0.5191 GB, free: 9.836 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002082/0.2425, allocations: 94.91 kB / 0.5192 GB, free: 9.805 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001091/0.2436, allocations: 361.7 kB / 0.5195 GB, free: 9.734 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005427/0.2441, allocations: 0.5419 MB / 0.5201 GB, free: 9.605 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.042e-05/0.2442, allocations: 61.78 kB / 0.5201 GB, free: 9.582 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002236/0.2445, allocations: 173 kB / 0.5203 GB, free: 9.531 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002264/0.2447, allocations: 212.2 kB / 0.5205 GB, free: 9.477 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.524e-05/0.2447, allocations: 12.22 kB / 0.5205 GB, free: 9.477 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009668/0.2457, allocations: 0.6228 MB / 0.5211 GB, free: 9.449 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.458e-05/0.2458, allocations: 98.56 kB / 0.5212 GB, free: 9.422 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.888e-05/0.2459, allocations: 98.98 kB / 0.5213 GB, free: 9.371 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006027/0.2465, allocations: 0.5332 MB / 0.5218 GB, free: 9.293 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.2465, allocations: 1.375 kB / 0.5218 GB, free: 9.293 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.2465, allocations: 0 / 0.5218 GB, free: 9.293 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.2466, allocations: 3.938 kB / 0.5218 GB, free: 9.289 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.0009511/0.2475, allocations: 0.7369 MB / 0.5225 GB, free: 8.762 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.2476, allocations: 10.09 kB / 0.5225 GB, free: 8.762 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003657/0.2479, allocations: 99.94 kB / 0.5226 GB, free: 8.73 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002861/0.2482, allocations: 298.5 kB / 0.5229 GB, free: 8.496 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.709e-05/0.2483, allocations: 37.09 kB / 0.523 GB, free: 8.496 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.911e-05/0.2483, allocations: 46.67 kB / 0.523 GB, free: 8.496 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.2494, allocations: 0.704 MB / 0.5237 GB, free: 8.414 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.2494, allocations: 4.641 kB / 0.5237 GB, free: 8.41 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.543e-05/0.2495, allocations: 19.84 kB / 0.5237 GB, free: 8.41 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.221e-05/0.2495, allocations: 22.78 kB / 0.5237 GB, free: 8.41 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009014/0.2504, allocations: 0.5127 MB / 0.5242 GB, free: 8.324 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001771/0.2522, allocations: 1.507 MB / 0.5257 GB, free: 7.512 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005602/0.2528, allocations: 331 kB / 0.526 GB, free: 7.395 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003416/0.2531, allocations: 164.8 kB / 0.5262 GB, free: 7.352 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.937e-05/0.2532, allocations: 13.03 kB / 0.5262 GB, free: 7.352 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/0.2532, allocations: 45.34 kB / 0.5262 GB, free: 7.301 MB / 346.7 MB Notification: Performance of pre-optimization done (n=23): time 2.194e-06/0.2532, allocations: 3.984 kB / 0.5262 GB, free: 7.297 MB / 346.7 MB Notification: Performance of matching and sorting (n=23): time 0.001218/0.2544, allocations: 0.5561 MB / 0.5268 GB, free: 7.168 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.2545, allocations: 106 kB / 0.5269 GB, free: 7.043 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006007/0.2551, allocations: 0.5563 MB / 0.5274 GB, free: 6.816 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.2551, allocations: 29.7 kB / 0.5275 GB, free: 6.781 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.2552, allocations: 232.4 kB / 0.5277 GB, free: 6.59 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.38e-05/0.2553, allocations: 83.56 kB / 0.5278 GB, free: 6.527 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.804e-05/0.2553, allocations: 0.9062 kB / 0.5278 GB, free: 6.527 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.592e-05/0.2554, allocations: 365 kB / 0.5281 GB, free: 6.191 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004359/0.2558, allocations: 159.8 kB / 0.5283 GB, free: 6.172 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004617/0.2563, allocations: 266 kB / 0.5285 GB, free: 6.02 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004706/0.2568, allocations: 196.8 kB / 0.5287 GB, free: 5.98 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.2568, allocations: 1.125 kB / 0.5287 GB, free: 5.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001093/0.2579, allocations: 0.4956 MB / 0.5292 GB, free: 5.84 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.2579, allocations: 5.938 kB / 0.5292 GB, free: 5.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.637e-05/0.258, allocations: 42.62 kB / 0.5292 GB, free: 5.832 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.258, allocations: 5.844 kB / 0.5292 GB, free: 5.832 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002419/0.2583, allocations: 49.05 kB / 0.5293 GB, free: 5.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.2583, allocations: 14.05 kB / 0.5293 GB, free: 5.812 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003361/0.2587, allocations: 70.69 kB / 0.5294 GB, free: 5.777 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.47e-05/0.2587, allocations: 18.3 kB / 0.5294 GB, free: 5.777 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (30): * Single equations (assignments): 18 * 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.0002356/0.2589, allocations: 222.2 kB / 0.5296 GB, free: 5.629 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.2591, allocations: 43.55 kB / 0.5296 GB, free: 5.605 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001006/0.2601, allocations: 488.7 kB / 0.5301 GB, free: 5.449 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.219e-05/0.2601, allocations: 5.297 kB / 0.5301 GB, free: 5.449 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.2601, allocations: 0.6094 kB / 0.5301 GB, free: 5.449 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.2601, allocations: 10.16 kB / 0.5301 GB, free: 5.441 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006341/0.2608, allocations: 409.4 kB / 0.5305 GB, free: 5.191 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.406e-05/0.2608, allocations: 39.83 kB / 0.5305 GB, free: 5.184 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001885/0.261, allocations: 29.73 kB / 0.5306 GB, free: 5.184 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.2611, allocations: 10.33 kB / 0.5306 GB, free: 5.176 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.908e-05/0.2611, allocations: 12.33 kB / 0.5306 GB, free: 5.172 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.2611, allocations: 2.188 kB / 0.5306 GB, free: 5.172 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.2611, allocations: 1.344 kB / 0.5306 GB, free: 5.172 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009415/0.2621, allocations: 0.6491 MB / 0.5312 GB, free: 4.812 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.683e-05/0.2622, allocations: 127.7 kB / 0.5314 GB, free: 4.691 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.091e-05/0.2622, allocations: 5.984 kB / 0.5314 GB, free: 4.688 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003646/0.2626, allocations: 26.64 kB / 0.5314 GB, free: 4.684 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.335e-05/0.2627, allocations: 18.52 kB / 0.5314 GB, free: 4.684 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.125e-05/0.2627, allocations: 19.48 kB / 0.5314 GB, free: 4.676 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004518/0.2632, allocations: 413 kB / 0.5318 GB, free: 4.508 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2632, allocations: 4 kB / 0.5318 GB, free: 4.504 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006672/0.2639, allocations: 174.2 kB / 0.532 GB, free: 4.469 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.0003742/0.2643, allocations: 245.5 kB / 0.5322 GB, free: 4.328 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008602/0.2651, allocations: 0.6878 MB / 0.5329 GB, free: 3.891 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2651, allocations: 0 / 0.5329 GB, free: 3.891 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004356/0.2656, allocations: 0.4889 MB / 0.5334 GB, free: 3.488 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006046/0.2662, allocations: 93.95 kB / 0.5335 GB, free: 3.457 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.2676, allocations: 1.038 MB / 0.5345 GB, free: 2.938 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002996/0.2679, allocations: 0.8814 MB / 0.5353 GB, free: 2.215 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.322e-05/0.268, allocations: 30.33 kB / 0.5354 GB, free: 2.211 MB / 346.7 MB Notification: Performance of SimCode: time 2.2e-07/0.268, allocations: 0 / 0.5354 GB, free: 2.211 MB / 346.7 MB Notification: Performance of Templates: time 0.01064/0.2787, allocations: 8.856 MB / 0.544 GB, free: 14.37 MB / 362.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapOverall/kc_evenGapOverall.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches