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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002051/0.002051, allocations: 99.53 kB / 20.97 MB, free: 3.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002067/0.002067, allocations: 156.8 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.609/1.609, allocations: 177 MB / 204.5 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.342/0.342, allocations: 34.26 MB / 295.2 MB, free: 0.6406 MB / 266.7 MB " [Timeout remaining time 180] 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=5004,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=5004,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 377.3 MB, free: 2.855 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.614e-05/2.744e-05, allocations: 2.312 kB / 377.3 MB, free: 2.852 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.003925/0.003953, allocations: 2.225 MB / 379.5 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002154/0.006107, allocations: 1.145 MB / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.006216, allocations: 0 / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003166/0.006532, allocations: 71.53 kB / 380.7 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00027/0.006803, allocations: 111.2 kB / 380.8 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005997/0.007402, allocations: 207.2 kB / 381 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006533/0.008055, allocations: 0.5129 MB / 381.5 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.703e-05/0.008122, allocations: 21.28 kB / 381.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003859/0.008508, allocations: 231.1 kB / 381.8 MB, free: 14.31 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002779/0.008786, allocations: 171.4 kB / 381.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.553e-05/0.008832, allocations: 12 kB / 381.9 MB, free: 14.13 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003423/0.009174, allocations: 147.8 kB / 382.1 MB, free: 13.99 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001361/0.00931, allocations: 99.47 kB / 382.2 MB, free: 13.89 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001957/0.009506, allocations: 127.5 kB / 382.3 MB, free: 13.77 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007686/0.01027, allocations: 0.5371 MB / 382.8 MB, free: 13.23 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.01028, allocations: 4 kB / 382.9 MB, free: 13.22 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.01028, allocations: 0 / 382.9 MB, free: 13.22 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.01029, allocations: 0 / 382.9 MB, free: 13.22 MB / 362.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.001311/0.0116, allocations: 0.7878 MB / 383.6 MB, free: 12.4 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.01163, allocations: 12.03 kB / 383.7 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004297/0.01206, allocations: 108.6 kB / 383.8 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005784/0.01264, allocations: 239.8 kB / 384 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.151e-05/0.01268, allocations: 41.36 kB / 384 MB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.014e-05/0.01275, allocations: 44.38 kB / 384.1 MB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009391/0.01369, allocations: 0.5035 MB / 384.6 MB, free: 11.41 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.389e-05/0.01372, allocations: 3.938 kB / 384.6 MB, free: 11.41 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.679e-05/0.01376, allocations: 20 kB / 384.6 MB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.466e-05/0.01381, allocations: 21 kB / 384.6 MB, free: 11.37 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006747/0.01448, allocations: 283.7 kB / 384.9 MB, free: 11.09 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002311/0.01679, allocations: 1.457 MB / 386.4 MB, free: 9.582 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004431/0.01724, allocations: 181.2 kB / 386.5 MB, free: 9.367 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002482/0.01748, allocations: 86.95 kB / 386.6 MB, free: 9.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.541e-05/0.01755, allocations: 15.94 kB / 386.6 MB, free: 9.254 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.01758, allocations: 33.39 kB / 386.7 MB, free: 9.211 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 1.573e-06/0.01759, allocations: 0 / 386.7 MB, free: 9.211 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.0009398/0.01853, allocations: 276.5 kB / 386.9 MB, free: 8.938 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.48e-05/0.01861, allocations: 114.8 kB / 387 MB, free: 8.801 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003509/0.01896, allocations: 332.2 kB / 387.4 MB, free: 8.457 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.467e-05/0.019, allocations: 29.7 kB / 387.4 MB, free: 8.422 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002497/0.01925, allocations: 306.9 kB / 387.7 MB, free: 8.117 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.106e-05/0.01933, allocations: 71.42 kB / 387.8 MB, free: 8.047 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001689/0.0195, allocations: 95.58 kB / 387.9 MB, free: 7.941 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002995/0.01979, allocations: 0.5157 MB / 388.4 MB, free: 7.414 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002534/0.02005, allocations: 76.23 kB / 388.5 MB, free: 7.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000428/0.02048, allocations: 252.3 kB / 388.7 MB, free: 7.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006833/0.02116, allocations: 342 kB / 389 MB, free: 6.609 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.02116, allocations: 0 / 389 MB, free: 6.609 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008217/0.02198, allocations: 333 kB / 389.4 MB, free: 6.277 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.022, allocations: 9.969 kB / 389.4 MB, free: 6.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.427e-05/0.02209, allocations: 44.52 kB / 389.4 MB, free: 6.227 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.02211, allocations: 8 kB / 389.4 MB, free: 6.219 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002104/0.02232, allocations: 39.91 kB / 389.5 MB, free: 6.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.02233, allocations: 4 kB / 389.5 MB, free: 6.176 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002194/0.02255, allocations: 39.77 kB / 389.5 MB, free: 6.137 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.023e-05/0.0226, allocations: 27.94 kB / 389.5 MB, free: 6.109 MB / 362.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002803/0.02288, allocations: 236.4 kB / 389.8 MB, free: 5.867 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.02299, allocations: 27.86 kB / 389.8 MB, free: 5.84 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007527/0.02374, allocations: 283.5 kB / 390.1 MB, free: 5.559 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.799e-06/0.02375, allocations: 8 kB / 390.1 MB, free: 5.551 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.02375, allocations: 3.984 kB / 390.1 MB, free: 5.547 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.02376, allocations: 4 kB / 390.1 MB, free: 5.543 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000613/0.02437, allocations: 336.3 kB / 390.4 MB, free: 5.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.272e-05/0.02445, allocations: 39.98 kB / 390.4 MB, free: 5.141 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001209/0.02457, allocations: 15.98 kB / 390.5 MB, free: 5.125 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.02457, allocations: 4 kB / 390.5 MB, free: 5.121 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.371e-05/0.02461, allocations: 15.98 kB / 390.5 MB, free: 5.105 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.638e-06/0.02461, allocations: 3.938 kB / 390.5 MB, free: 5.102 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.02461, allocations: 0 / 390.5 MB, free: 5.102 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001296/0.02591, allocations: 0.5845 MB / 391.1 MB, free: 4.496 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.473e-05/0.02596, allocations: 19.86 kB / 391.1 MB, free: 4.477 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.332e-05/0.02603, allocations: 11.98 kB / 391.1 MB, free: 4.465 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002222/0.02625, allocations: 8 kB / 391.1 MB, free: 4.457 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.396e-05/0.02634, allocations: 23.97 kB / 391.1 MB, free: 4.434 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-05/0.02637, allocations: 15.98 kB / 391.2 MB, free: 4.418 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002268/0.0266, allocations: 213.1 kB / 391.4 MB, free: 4.211 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0266, allocations: 0 / 391.4 MB, free: 4.211 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006975/0.0273, allocations: 167.3 kB / 391.5 MB, free: 4.047 MB / 362.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 (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.0003536/0.02765, allocations: 155 kB / 391.7 MB, free: 3.887 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000931/0.02858, allocations: 0.5259 MB / 392.2 MB, free: 3.285 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.02859, allocations: 0 / 392.2 MB, free: 3.285 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005419/0.02913, allocations: 420.4 kB / 392.6 MB, free: 2.801 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005417/0.02967, allocations: 60.5 kB / 392.7 MB, free: 2.742 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00176/0.03143, allocations: 0.7621 MB / 393.4 MB, free: 1.941 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002859/0.03172, allocations: 236.4 kB / 393.7 MB, free: 1.688 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001309/0.03185, allocations: 41.8 kB / 393.7 MB, free: 1.645 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.462e-05/0.03192, allocations: 28.48 kB / 393.7 MB, free: 1.613 MB / 362.7 MB Notification: Performance of SimCode: time 6.31e-07/0.03192, allocations: 3.938 kB / 393.7 MB, free: 1.609 MB / 362.7 MB Notification: Performance of Templates: time 0.012/0.04392, allocations: 5.531 MB / 399.3 MB, free: 12.18 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1) [Timeout 240] 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.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.351743423030712]