Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.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.002026/0.002026, allocations: 100.2 kB / 20.96 MB, free: 3.469 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.002482/0.002482, allocations: 156.9 kB / 24.27 MB, free: 172 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.541/1.541, allocations: 177 MB / 204.4 MB, free: 5.641 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.3938/0.3938, allocations: 34.24 MB / 295.2 MB, free: 0.6562 MB / 266.7 MB " [Timeout remaining time 179] 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.HeatExchanger.kc_flatTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|h_2|l_2|s_2|t_2|Nu|m_flow.1.|m_flow.2.|kc_1|kc_2|Re_1|Re_2|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|h_2|l_2|s_2|t_2|Nu|m_flow.1.|m_flow.2.|kc_1|kc_2|Re_1|Re_2|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 377.2 MB, free: 2.879 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.106e-05/5.323e-05, allocations: 2.312 kB / 377.2 MB, free: 2.875 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.005519/0.005572, allocations: 2.118 MB / 379.4 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00231/0.007883, allocations: 0.9888 MB / 380.4 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002313/0.008114, allocations: 0 / 380.4 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004392/0.008553, allocations: 83.34 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005514/0.009104, allocations: 91.2 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00046/0.009564, allocations: 127.5 kB / 380.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003661/0.009931, allocations: 186.7 kB / 380.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.721e-05/0.01001, allocations: 16.59 kB / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003108/0.01032, allocations: 107.5 kB / 380.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001518/0.01047, allocations: 67.73 kB / 381 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.579e-05/0.0105, allocations: 4 kB / 381 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003478/0.01084, allocations: 127.8 kB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.751e-05/0.01091, allocations: 35.72 kB / 381.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.465e-05/0.011, allocations: 43.8 kB / 381.2 MB, free: 14.87 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005111/0.01151, allocations: 306.7 kB / 381.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.279e-06/0.01151, allocations: 4 kB / 381.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.01151, allocations: 0 / 381.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.01152, allocations: 0 / 381.5 MB, free: 14.57 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0007512/0.01227, allocations: 433.6 kB / 381.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.01231, allocations: 8.031 kB / 382 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.649e-05/0.01241, allocations: 44.75 kB / 382 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002505/0.01266, allocations: 157.3 kB / 382.2 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.874e-05/0.01269, allocations: 16.88 kB / 382.2 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.433e-05/0.01272, allocations: 20.38 kB / 382.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000515/0.01323, allocations: 236.6 kB / 382.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.01325, allocations: 3.938 kB / 382.4 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.19e-05/0.01327, allocations: 8 kB / 382.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.01328, allocations: 7.984 kB / 382.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005053/0.01379, allocations: 257.9 kB / 382.7 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001346/0.01513, allocations: 0.5083 MB / 383.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000447/0.01558, allocations: 94.59 kB / 383.3 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002313/0.01581, allocations: 48.84 kB / 383.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.362e-05/0.01584, allocations: 7.922 kB / 383.3 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.558e-05/0.0159, allocations: 34.56 kB / 383.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.573e-06/0.0159, allocations: 0 / 383.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.000857/0.01676, allocations: 157.5 kB / 383.5 MB, free: 12.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.449e-05/0.01681, allocations: 51.41 kB / 383.6 MB, free: 12.37 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002608/0.01707, allocations: 207.8 kB / 383.8 MB, free: 12.15 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.901e-05/0.0171, allocations: 29.7 kB / 383.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/0.01727, allocations: 191.8 kB / 384 MB, free: 11.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.497e-05/0.01732, allocations: 35.73 kB / 384 MB, free: 11.89 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.01742, allocations: 49.66 kB / 384.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000214/0.01763, allocations: 326.8 kB / 384.4 MB, free: 11.51 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001865/0.01782, allocations: 47.97 kB / 384.5 MB, free: 11.46 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004732/0.01829, allocations: 148.8 kB / 384.6 MB, free: 11.27 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004443/0.01874, allocations: 200.7 kB / 384.8 MB, free: 11.03 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.01874, allocations: 4 kB / 384.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005495/0.01929, allocations: 253.4 kB / 385 MB, free: 10.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.01931, allocations: 8 kB / 385.1 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.01932, allocations: 4 kB / 385.1 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.546e-05/0.01935, allocations: 7.984 kB / 385.1 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004505/0.0198, allocations: 83.91 kB / 385.1 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001041/0.02084, allocations: 1.219 MB / 386.4 MB, free: 9.402 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001994/0.02104, allocations: 27.81 kB / 386.4 MB, free: 9.375 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.382e-05/0.02106, allocations: 12.19 kB / 386.4 MB, free: 9.363 MB / 362.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: 2 (m_flow_IN_con_2.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001644/0.02123, allocations: 133.8 kB / 386.5 MB, free: 9.223 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.816e-05/0.02128, allocations: 23.84 kB / 386.6 MB, free: 9.199 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000509/0.02179, allocations: 167.3 kB / 386.7 MB, free: 9.035 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.0218, allocations: 4 kB / 386.7 MB, free: 9.031 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.0218, allocations: 0 / 386.7 MB, free: 9.031 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.0218, allocations: 0 / 386.7 MB, free: 9.031 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007169/0.02252, allocations: 379.8 kB / 387.1 MB, free: 8.617 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.02253, allocations: 3.938 kB / 387.1 MB, free: 8.613 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002936/0.02282, allocations: 63.91 kB / 387.2 MB, free: 8.551 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.02282, allocations: 0 / 387.2 MB, free: 8.551 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.481e-05/0.02285, allocations: 12.06 kB / 387.2 MB, free: 8.539 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001324/0.02417, allocations: 1.211 MB / 388.4 MB, free: 7.281 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.02417, allocations: 0 / 388.4 MB, free: 7.281 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006788/0.02485, allocations: 241.1 kB / 388.6 MB, free: 7.023 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.836e-05/0.0249, allocations: 19.83 kB / 388.6 MB, free: 7.004 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.329e-05/0.02495, allocations: 3.938 kB / 388.6 MB, free: 7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002188/0.02516, allocations: 12.19 kB / 388.7 MB, free: 6.988 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.807e-05/0.02524, allocations: 11.98 kB / 388.7 MB, free: 6.977 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.02526, allocations: 4 kB / 388.7 MB, free: 6.973 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002066/0.02547, allocations: 136.2 kB / 388.8 MB, free: 6.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.02547, allocations: 0 / 388.8 MB, free: 6.84 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006894/0.02616, allocations: 75.81 kB / 388.9 MB, free: 6.766 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004231/0.02658, allocations: 143 kB / 389 MB, free: 6.617 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008792/0.02746, allocations: 168.5 kB / 389.2 MB, free: 6.453 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.02746, allocations: 4.125 kB / 389.2 MB, free: 6.449 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004733/0.02794, allocations: 83.89 kB / 389.3 MB, free: 6.367 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005806/0.02852, allocations: 24.22 kB / 389.3 MB, free: 6.344 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/0.02983, allocations: 382.9 kB / 389.7 MB, free: 5.934 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002059/0.03004, allocations: 125.1 kB / 389.8 MB, free: 5.793 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.721e-05/0.03013, allocations: 13.61 kB / 389.8 MB, free: 5.781 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.265e-05/0.03021, allocations: 16.5 kB / 389.8 MB, free: 5.766 MB / 362.7 MB Notification: Performance of SimCode: time 7.92e-07/0.03021, allocations: 4 kB / 389.8 MB, free: 5.762 MB / 362.7 MB Notification: Performance of Templates: time 0.01199/0.0422, allocations: 3.175 MB / 393 MB, free: 2.652 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube_KC/kc_flatTube_KC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.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.152298771077767]