Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.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_turbulent_KC,tolerance=1e-05,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.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|kc.1.|kc.2.|kc.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,tolerance=1e-05,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.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|kc.1.|kc.2.|kc.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001158/0.001158, allocations: 196.6 kB / 18.1 MB, free: 3.617 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.355/1.355, allocations: 226.5 MB / 245.4 MB, free: 6.508 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009204/0.0009203, allocations: 92.69 kB / 297.5 MB, free: 6.695 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3636/0.3637, allocations: 44.82 MB / 394.3 MB, free: 35.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004121/0.0004121, allocations: 8 kB / 467.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3521, allocations: 62.97 MB / 0.5184 GB, free: 37.63 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1274/0.4796, allocations: 92.74 MB / 0.609 GB, free: 12.56 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002738/0.4799, allocations: 103.9 kB / 0.6091 GB, free: 12.46 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03631/0.5162, allocations: 12.21 MB / 0.621 GB, free: 148 kB / 426.7 MB Notification: Performance of FrontEnd: time 2.845e-06/0.5163, allocations: 0 / 0.621 GB, free: 148 kB / 426.7 MB Notification: Performance of Transformations before backend: time 1.79e-05/0.5163, allocations: 8 kB / 0.621 GB, free: 140 kB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0008374/0.5171, allocations: 0.5071 MB / 0.6215 GB, free: 15.58 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.5172, allocations: 8.031 kB / 0.6216 GB, free: 15.57 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.051e-05/0.5173, allocations: 28.66 kB / 0.6216 GB, free: 15.54 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003336/0.5176, allocations: 243.8 kB / 0.6218 GB, free: 15.27 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.807e-05/0.5177, allocations: 20.94 kB / 0.6218 GB, free: 15.25 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.724e-05/0.5177, allocations: 28.38 kB / 0.6219 GB, free: 15.22 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007186/0.5185, allocations: 365.8 kB / 0.6222 GB, free: 14.85 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.5185, allocations: 192 / 0.6222 GB, free: 14.85 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.302e-05/0.5185, allocations: 11.94 kB / 0.6222 GB, free: 14.84 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.525e-05/0.5186, allocations: 24.64 kB / 0.6222 GB, free: 14.82 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006331/0.5192, allocations: 390.2 kB / 0.6226 GB, free: 14.43 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001376/0.5206, allocations: 0.8269 MB / 0.6234 GB, free: 13.55 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004728/0.5211, allocations: 259.8 kB / 0.6237 GB, free: 13.29 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000198/0.5213, allocations: 100.8 kB / 0.6238 GB, free: 13.19 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.935e-05/0.5213, allocations: 15.86 kB / 0.6238 GB, free: 13.18 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.5214, allocations: 42.56 kB / 0.6238 GB, free: 13.12 MB / 442.7 MB Notification: Performance of pre-optimization done (n=16): time 1.613e-06/0.5214, allocations: 0 / 0.6238 GB, free: 13.12 MB / 442.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007633/0.5222, allocations: 350.6 kB / 0.6242 GB, free: 12.78 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.5222, allocations: 51.41 kB / 0.6242 GB, free: 12.71 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00037/0.5226, allocations: 338.9 kB / 0.6245 GB, free: 12.38 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.5226, allocations: 25.7 kB / 0.6246 GB, free: 12.35 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.5227, allocations: 168 kB / 0.6247 GB, free: 12.18 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.835e-05/0.5228, allocations: 55.2 kB / 0.6248 GB, free: 12.12 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.325e-05/0.5228, allocations: 4 kB / 0.6248 GB, free: 12.12 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.523, allocations: 346.8 kB / 0.6251 GB, free: 11.77 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002127/0.5232, allocations: 104.4 kB / 0.6252 GB, free: 11.67 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000257/0.5235, allocations: 188 kB / 0.6254 GB, free: 11.45 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005061/0.524, allocations: 312.6 kB / 0.6257 GB, free: 11.1 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.524, allocations: 0 / 0.6257 GB, free: 11.1 MB / 442.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006246/0.5246, allocations: 356.7 kB / 0.626 GB, free: 10.75 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.5247, allocations: 8 kB / 0.626 GB, free: 10.74 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.5247, allocations: 4 kB / 0.626 GB, free: 10.73 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.5247, allocations: 7.938 kB / 0.626 GB, free: 10.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005556/0.5253, allocations: 128.2 kB / 0.6262 GB, free: 10.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002277/0.5275, allocations: 3.645 MB / 0.6297 GB, free: 6.816 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002517/0.5278, allocations: 47.64 kB / 0.6298 GB, free: 6.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.877e-05/0.5279, allocations: 12 kB / 0.6298 GB, free: 6.758 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002234/0.5281, allocations: 177.7 kB / 0.6299 GB, free: 6.574 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.538e-05/0.5281, allocations: 27.66 kB / 0.63 GB, free: 6.547 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006533/0.5288, allocations: 341.3 kB / 0.6303 GB, free: 6.203 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.5288, allocations: 3.984 kB / 0.6303 GB, free: 6.199 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.5288, allocations: 0 / 0.6303 GB, free: 6.199 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.5288, allocations: 0 / 0.6303 GB, free: 6.199 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003952/0.5292, allocations: 297.4 kB / 0.6306 GB, free: 5.859 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.5293, allocations: 0 / 0.6306 GB, free: 5.859 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004363/0.5297, allocations: 111.9 kB / 0.6307 GB, free: 5.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.5297, allocations: 0 / 0.6307 GB, free: 5.75 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.254e-05/0.5297, allocations: 8 kB / 0.6307 GB, free: 5.742 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00209/0.5318, allocations: 3.649 MB / 0.6343 GB, free: 1.953 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.5319, allocations: 0 / 0.6343 GB, free: 1.953 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005324/0.5324, allocations: 363.1 kB / 0.6346 GB, free: 1.582 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.5325, allocations: 104.8 kB / 0.6347 GB, free: 1.461 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.825e-05/0.5326, allocations: 0 / 0.6347 GB, free: 1.461 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001575/0.5327, allocations: 15.98 kB / 0.6347 GB, free: 1.445 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.942e-05/0.5328, allocations: 15.98 kB / 0.6347 GB, free: 1.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/0.5328, allocations: 11.92 kB / 0.6348 GB, free: 1.418 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002627/0.5331, allocations: 237.9 kB / 0.635 GB, free: 1.184 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5331, allocations: 8 kB / 0.635 GB, free: 1.176 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004514/0.5336, allocations: 87.83 kB / 0.6351 GB, free: 1.09 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003371/0.5339, allocations: 159 kB / 0.6352 GB, free: 0.9258 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008999/0.5348, allocations: 327.2 kB / 0.6355 GB, free: 0.6094 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.5348, allocations: 4 kB / 0.6355 GB, free: 0.6055 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005168/0.5354, allocations: 191.8 kB / 0.6357 GB, free: 428 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004486/0.5358, allocations: 60.78 kB / 0.6358 GB, free: 364 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.537, allocations: 0.6338 MB / 0.6364 GB, free: 15.7 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003995/0.5374, allocations: 0.7912 MB / 0.6372 GB, free: 14.88 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002232/0.5376, allocations: 86.88 kB / 0.6373 GB, free: 14.8 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.872e-05/0.5377, allocations: 19.44 kB / 0.6373 GB, free: 14.78 MB / 458.7 MB Notification: Performance of SimCode: time 5.51e-07/0.5377, allocations: 0 / 0.6373 GB, free: 14.78 MB / 458.7 MB Notification: Performance of Templates: time 0.01012/0.5478, allocations: 5.209 MB / 0.6424 GB, free: 9.648 MB / 458.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_turbulent_KC/kc_turbulent_KC.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches