Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_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.001389/0.001389, allocations: 84.86 kB / 21.5 MB, free: 2.988 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.0009375/0.0009375, allocations: 165.3 kB / 24.91 MB, free: 8.254 MB / 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 0.8975/0.8975, allocations: 177 MB / 205.2 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] 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.2598/0.2598, allocations: 34.86 MB / 296.6 MB, free: 0.5195 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.General.kc_approxForcedConvection_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|Nu.[0-9,]+.|m_flow_1.[0-9,]+.|m_flow_2.[0-9,]+.|m_flow_3.[0-9,]+.|kc_1.[0-9,]+.|kc_2.[0-9,]+.|kc_3.[0-9,]+.|Re_1.[0-9,]+.|Re_2.[0-9,]+.|Re_3.[0-9,]+.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|Nu.[0-9,]+.|m_flow_1.[0-9,]+.|m_flow_2.[0-9,]+.|m_flow_3.[0-9,]+.|kc_1.[0-9,]+.|kc_2.[0-9,]+.|kc_3.[0-9,]+.|Re_1.[0-9,]+.|Re_2.[0-9,]+.|Re_3.[0-9,]+.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 325.9 MB, free: 7.145 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.363e-05/2.52e-05, allocations: 2.312 kB / 325.9 MB, free: 7.141 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.003587/0.003612, allocations: 2.047 MB / 328 MB, free: 5.082 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001614/0.005226, allocations: 0.8264 MB / 328.8 MB, free: 4.254 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.005334, allocations: 4 kB / 328.8 MB, free: 4.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003146/0.005649, allocations: 67.55 kB / 328.9 MB, free: 4.184 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003741/0.006023, allocations: 131.3 kB / 329 MB, free: 4.055 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002872/0.00631, allocations: 71.7 kB / 329.1 MB, free: 3.984 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004053/0.006715, allocations: 330.3 kB / 329.4 MB, free: 3.66 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.627e-05/0.006782, allocations: 22.53 kB / 329.4 MB, free: 3.641 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003839/0.007165, allocations: 167.4 kB / 329.6 MB, free: 3.477 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002215/0.007387, allocations: 131.5 kB / 329.7 MB, free: 3.348 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.994e-05/0.007417, allocations: 8 kB / 329.7 MB, free: 3.34 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002158/0.007633, allocations: 79.89 kB / 329.8 MB, free: 3.262 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.007741, allocations: 75.62 kB / 329.9 MB, free: 3.188 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.154e-05/0.007832, allocations: 72.47 kB / 329.9 MB, free: 3.117 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004293/0.008261, allocations: 314.7 kB / 330.3 MB, free: 2.809 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.008265, allocations: 4 kB / 330.3 MB, free: 2.805 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.008266, allocations: 0 / 330.3 MB, free: 2.805 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.008272, allocations: 0 / 330.3 MB, free: 2.805 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.0007099/0.008982, allocations: 473.4 kB / 330.7 MB, free: 2.316 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.009017, allocations: 8.031 kB / 330.7 MB, free: 2.309 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.989e-05/0.009097, allocations: 44.89 kB / 330.8 MB, free: 2.266 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001965/0.009293, allocations: 161.9 kB / 330.9 MB, free: 2.082 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.009314, allocations: 21.02 kB / 331 MB, free: 2.062 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.767e-05/0.009351, allocations: 28.38 kB / 331 MB, free: 2.035 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003337/0.009685, allocations: 221.5 kB / 331.2 MB, free: 1.809 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.009697, allocations: 8 kB / 331.2 MB, free: 1.801 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.471e-05/0.009722, allocations: 15.98 kB / 331.2 MB, free: 1.785 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.813e-05/0.00977, allocations: 28.62 kB / 331.2 MB, free: 1.758 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001897/0.00996, allocations: 111.2 kB / 331.4 MB, free: 1.648 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009328/0.01089, allocations: 0.5271 MB / 331.9 MB, free: 1.102 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001921/0.01108, allocations: 132.1 kB / 332 MB, free: 0.9609 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.015e-05/0.01113, allocations: 20.84 kB / 332 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.01116, allocations: 4 kB / 332 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.01119, allocations: 34.56 kB / 332.1 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 3.487e-06/0.01119, allocations: 4 kB / 332.1 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002517/0.01144, allocations: 108 kB / 332.2 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001712/0.01161, allocations: 55.41 kB / 332.2 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.01174, allocations: 159.2 kB / 332.4 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.01176, allocations: 33.7 kB / 332.4 MB, free: 0.5 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.827e-05/0.01185, allocations: 176.3 kB / 332.6 MB, free: 332 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.716e-05/0.0119, allocations: 47.58 kB / 332.6 MB, free: 284 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.515e-05/0.01198, allocations: 45.67 kB / 332.7 MB, free: 232 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.01208, allocations: 326.8 kB / 333 MB, free: 15.9 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.573e-05/0.01214, allocations: 18.83 kB / 333 MB, free: 15.88 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.985e-05/0.01222, allocations: 71.97 kB / 333.1 MB, free: 15.79 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/0.01237, allocations: 115.4 kB / 333.2 MB, free: 15.65 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.01237, allocations: 4 kB / 333.2 MB, free: 15.65 MB / 314.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002246/0.0126, allocations: 112.3 kB / 333.3 MB, free: 15.53 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.01261, allocations: 12.19 kB / 333.3 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.01262, allocations: 0 / 333.3 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.01264, allocations: 4 kB / 333.3 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004272/0.01307, allocations: 87.88 kB / 333.4 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001715/0.01478, allocations: 3.553 MB / 337 MB, free: 11.72 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.01489, allocations: 27.81 kB / 337 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.907e-05/0.01491, allocations: 4 kB / 337 MB, free: 11.69 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_1[1].target,m_flow_IN_con_1[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_3[2].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001242/0.01504, allocations: 121.8 kB / 337.1 MB, free: 11.56 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.17e-05/0.01508, allocations: 15.98 kB / 337.1 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002844/0.01536, allocations: 147.2 kB / 337.3 MB, free: 11.4 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.237e-06/0.01537, allocations: 7.984 kB / 337.3 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.01537, allocations: 0 / 337.3 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.01537, allocations: 3.938 kB / 337.3 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002289/0.0156, allocations: 137.8 kB / 337.4 MB, free: 11.24 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.01561, allocations: 3.984 kB / 337.4 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003309/0.01594, allocations: 75.95 kB / 337.5 MB, free: 11.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.01594, allocations: 0 / 337.5 MB, free: 11.16 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.01595, allocations: 4 kB / 337.5 MB, free: 11.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001084/0.01704, allocations: 3.563 MB / 341.1 MB, free: 7.438 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.01704, allocations: 3.938 kB / 341.1 MB, free: 7.434 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001446/0.01718, allocations: 229 kB / 341.3 MB, free: 7.191 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.508e-05/0.0172, allocations: 15.89 kB / 341.3 MB, free: 7.176 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.01721, allocations: 4.312 kB / 341.3 MB, free: 7.172 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.18e-05/0.01728, allocations: 15.94 kB / 341.3 MB, free: 7.156 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.255e-05/0.01732, allocations: 15.97 kB / 341.4 MB, free: 7.141 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.01733, allocations: 0 / 341.4 MB, free: 7.141 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.632e-05/0.01736, allocations: 41.52 kB / 341.4 MB, free: 7.098 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01736, allocations: 0 / 341.4 MB, free: 7.098 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00026/0.01762, allocations: 83.72 kB / 341.5 MB, free: 7.016 MB / 314.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 (15): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001774/0.0178, allocations: 113.1 kB / 341.6 MB, free: 6.898 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003105/0.01811, allocations: 139.6 kB / 341.7 MB, free: 6.762 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.01812, allocations: 0 / 341.7 MB, free: 6.762 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002071/0.01832, allocations: 105.1 kB / 341.8 MB, free: 6.656 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001672/0.01849, allocations: 26.14 kB / 341.8 MB, free: 6.633 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007889/0.01928, allocations: 0.5052 MB / 342.4 MB, free: 6.102 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.02e-05/0.01934, allocations: 111.6 kB / 342.5 MB, free: 5.973 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.684e-05/0.01939, allocations: 21.06 kB / 342.5 MB, free: 5.949 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.88e-05/0.01946, allocations: 67.36 kB / 342.5 MB, free: 5.883 MB / 314.7 MB Notification: Performance of SimCode: time 1.021e-06/0.01946, allocations: 0 / 342.5 MB, free: 5.883 MB / 314.7 MB Notification: Performance of Templates: time 0.005663/0.02512, allocations: 4.141 MB / 346.7 MB, free: 1.844 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/General/kc_approxForcedConvection_KC/kc_approxForcedConvection_KC.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.109631645027548]