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.001602/0.001602, allocations: 190.9 kB / 16.78 MB, free: 4.918 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.302/1.302, allocations: 226.5 MB / 244.1 MB, free: 6.477 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007674/0.0007672, allocations: 94.75 kB / 296.1 MB, free: 6.668 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2977/0.2977, allocations: 44.83 MB / 393 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002364/0.0002364, allocations: 8 kB / 465.9 MB, free: 12.67 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2735, allocations: 62.95 MB / 0.5165 GB, free: 37.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1067/0.3802, allocations: 95.93 MB / 0.6102 GB, free: 9.441 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002349/0.3805, allocations: 95.94 kB / 0.6103 GB, free: 9.348 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03146/0.412, allocations: 12.72 MB / 0.6227 GB, free: 12.44 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.412, allocations: 0 / 0.6227 GB, free: 12.44 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.353e-05/0.412, allocations: 4 kB / 0.6227 GB, free: 12.44 MB / 442.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.0009798/0.413, allocations: 0.6785 MB / 0.6234 GB, free: 11.7 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.413, allocations: 8.031 kB / 0.6234 GB, free: 11.7 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003829/0.4134, allocations: 92.33 kB / 0.6235 GB, free: 11.61 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003596/0.4138, allocations: 301.9 kB / 0.6237 GB, free: 11.27 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.189e-05/0.4138, allocations: 33.38 kB / 0.6238 GB, free: 11.24 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.722e-05/0.4139, allocations: 52.31 kB / 0.6238 GB, free: 11.19 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/0.4149, allocations: 0.6642 MB / 0.6245 GB, free: 10.51 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.4149, allocations: 8.109 kB / 0.6245 GB, free: 10.5 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.265e-05/0.415, allocations: 23.94 kB / 0.6245 GB, free: 10.48 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.195e-05/0.415, allocations: 21 kB / 0.6245 GB, free: 10.46 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008758/0.4159, allocations: 0.4956 MB / 0.625 GB, free: 9.961 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001959/0.4179, allocations: 1.507 MB / 0.6265 GB, free: 8.387 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005747/0.4185, allocations: 315.5 kB / 0.6268 GB, free: 8.051 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003299/0.4188, allocations: 158.5 kB / 0.6269 GB, free: 7.887 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.568e-05/0.4189, allocations: 15.92 kB / 0.6269 GB, free: 7.871 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/0.4189, allocations: 42.5 kB / 0.627 GB, free: 7.82 MB / 442.7 MB Notification: Performance of pre-optimization done (n=20): time 1.834e-06/0.4189, allocations: 0 / 0.627 GB, free: 7.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=20): time 0.001191/0.4201, allocations: 0.5206 MB / 0.6275 GB, free: 7.293 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/0.4202, allocations: 110.8 kB / 0.6276 GB, free: 7.16 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005676/0.4207, allocations: 0.5329 MB / 0.6281 GB, free: 6.625 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.739e-05/0.4208, allocations: 29.7 kB / 0.6281 GB, free: 6.59 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/0.4209, allocations: 232 kB / 0.6284 GB, free: 6.359 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.654e-05/0.421, allocations: 67.08 kB / 0.6284 GB, free: 6.293 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.415e-05/0.421, allocations: 4 kB / 0.6284 GB, free: 6.289 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.4212, allocations: 362.7 kB / 0.6288 GB, free: 5.926 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003559/0.4215, allocations: 168.1 kB / 0.6289 GB, free: 5.758 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004083/0.422, allocations: 288.5 kB / 0.6292 GB, free: 5.422 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007815/0.4227, allocations: 477.5 kB / 0.6297 GB, free: 4.902 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.4228, allocations: 3.938 kB / 0.6297 GB, free: 4.898 MB / 442.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009744/0.4237, allocations: 0.5201 MB / 0.6302 GB, free: 4.371 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.4238, allocations: 4 kB / 0.6302 GB, free: 4.367 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.282e-05/0.4238, allocations: 43.98 kB / 0.6302 GB, free: 4.324 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.4239, allocations: 4 kB / 0.6302 GB, free: 4.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002159/0.4241, allocations: 52.25 kB / 0.6303 GB, free: 4.27 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.4241, allocations: 11.98 kB / 0.6303 GB, free: 4.258 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003021/0.4244, allocations: 71.3 kB / 0.6304 GB, free: 4.188 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.214e-05/0.4245, allocations: 27.97 kB / 0.6304 GB, free: 4.16 MB / 442.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.0002174/0.4247, allocations: 217.6 kB / 0.6306 GB, free: 3.938 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.4248, allocations: 43.52 kB / 0.6306 GB, free: 3.895 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008375/0.4256, allocations: 462.2 kB / 0.6311 GB, free: 3.438 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.096e-06/0.4257, allocations: 8 kB / 0.6311 GB, free: 3.43 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.4257, allocations: 4 kB / 0.6311 GB, free: 3.426 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.4257, allocations: 3.938 kB / 0.6311 GB, free: 3.422 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005716/0.4263, allocations: 381.3 kB / 0.6315 GB, free: 3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.567e-05/0.4263, allocations: 35.98 kB / 0.6315 GB, free: 2.965 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001561/0.4265, allocations: 35.91 kB / 0.6315 GB, free: 2.93 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.4265, allocations: 0 / 0.6315 GB, free: 2.93 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.218e-05/0.4265, allocations: 15.98 kB / 0.6315 GB, free: 2.914 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.4266, allocations: 4 kB / 0.6315 GB, free: 2.91 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.4266, allocations: 8 kB / 0.6316 GB, free: 2.902 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000851/0.4274, allocations: 0.6305 MB / 0.6322 GB, free: 2.254 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.4275, allocations: 128.5 kB / 0.6323 GB, free: 2.109 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.701e-05/0.4276, allocations: 4 kB / 0.6323 GB, free: 2.105 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002836/0.4279, allocations: 27.97 kB / 0.6323 GB, free: 2.078 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.99e-05/0.428, allocations: 27.86 kB / 0.6323 GB, free: 2.051 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.533e-05/0.428, allocations: 19.98 kB / 0.6324 GB, free: 2.031 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004012/0.4284, allocations: 387 kB / 0.6327 GB, free: 1.652 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4285, allocations: 0 / 0.6327 GB, free: 1.652 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005835/0.429, allocations: 143.9 kB / 0.6329 GB, free: 1.512 MB / 442.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.0003622/0.4294, allocations: 214.9 kB / 0.6331 GB, free: 1.293 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009408/0.4304, allocations: 0.692 MB / 0.6338 GB, free: 0.5273 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.4304, allocations: 0 / 0.6338 GB, free: 0.5273 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004947/0.4309, allocations: 496.4 kB / 0.6342 GB, free: 15.97 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006991/0.4316, allocations: 107 kB / 0.6343 GB, free: 15.87 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001508/0.4331, allocations: 1.014 MB / 0.6353 GB, free: 14.81 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003723/0.4335, allocations: 0.8506 MB / 0.6362 GB, free: 13.93 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.269e-05/0.4336, allocations: 35.44 kB / 0.6362 GB, free: 13.9 MB / 458.7 MB Notification: Performance of SimCode: time 1.833e-06/0.4336, allocations: 0 / 0.6362 GB, free: 13.9 MB / 458.7 MB Notification: Performance of Templates: time 0.01163/0.4452, allocations: 8.548 MB / 0.6445 GB, free: 5.414 MB / 458.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/jenkins1/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