Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_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.General.kc_approxForcedConvection_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow_1.1.|m_flow_1.2.|m_flow_2.1.|m_flow_2.2.|m_flow_3.1.|m_flow_3.2.|kc_1.1.|kc_1.2.|kc_2.1.|kc_2.2.|kc_3.1.|kc_3.2.|Re_1.1.|Re_1.2.|Re_2.1.|Re_2.2.|Re_3.1.|Re_3.2.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_cpp_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=5000,variableFilter="time|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow_1.1.|m_flow_1.2.|m_flow_2.1.|m_flow_2.2.|m_flow_3.1.|m_flow_3.2.|kc_1.1.|kc_1.2.|kc_2.1.|kc_2.2.|kc_3.1.|kc_3.2.|Re_1.1.|Re_1.2.|Re_2.1.|Re_2.2.|Re_3.1.|Re_3.2.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00104/0.00104, allocations: 197.7 kB / 16.79 MB, free: 5.043 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.235/1.235, allocations: 226.6 MB / 244.1 MB, free: 8.168 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007489/0.000749, allocations: 103.8 kB / 296.1 MB, free: 6.895 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3016/0.3016, allocations: 44.82 MB / 393 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002754/0.0002756, allocations: 8 kB / 465.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3188, allocations: 62.96 MB / 0.5165 GB, free: 36.99 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1144/0.4333, allocations: 93.72 MB / 0.608 GB, free: 11.66 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002715/0.4336, allocations: 95.94 kB / 0.6081 GB, free: 11.57 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0279/0.4615, allocations: 10.34 MB / 0.6182 GB, free: 1.152 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.4616, allocations: 0 / 0.6182 GB, free: 1.152 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.4616, allocations: 7.938 kB / 0.6182 GB, free: 1.145 MB / 426.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.0006442/0.4623, allocations: 0.5069 MB / 0.6187 GB, free: 0.5859 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.4623, allocations: 16.03 kB / 0.6187 GB, free: 0.5703 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.869e-05/0.4624, allocations: 36.5 kB / 0.6188 GB, free: 0.5352 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002357/0.4626, allocations: 236.5 kB / 0.619 GB, free: 272 kB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.4626, allocations: 20.94 kB / 0.619 GB, free: 252 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.384e-05/0.4627, allocations: 32.36 kB / 0.619 GB, free: 220 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006245/0.4633, allocations: 397.3 kB / 0.6194 GB, free: 15.82 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.4633, allocations: 0 / 0.6194 GB, free: 15.82 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.751e-05/0.4634, allocations: 15.98 kB / 0.6194 GB, free: 15.8 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-05/0.4634, allocations: 24.64 kB / 0.6194 GB, free: 15.78 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006503/0.4641, allocations: 418.2 kB / 0.6198 GB, free: 15.37 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00129/0.4654, allocations: 0.8735 MB / 0.6207 GB, free: 14.44 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006459/0.466, allocations: 302.3 kB / 0.621 GB, free: 14.14 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002342/0.4663, allocations: 108.6 kB / 0.6211 GB, free: 14.03 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.824e-05/0.4663, allocations: 11.98 kB / 0.6211 GB, free: 14.02 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.4664, allocations: 30.56 kB / 0.6211 GB, free: 13.98 MB / 442.7 MB Notification: Performance of pre-optimization done (n=15): time 1.784e-06/0.4664, allocations: 0 / 0.6211 GB, free: 13.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=15): time 0.0008564/0.4672, allocations: 370.8 kB / 0.6215 GB, free: 13.61 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/0.4673, allocations: 55.41 kB / 0.6215 GB, free: 13.54 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003805/0.4677, allocations: 351.1 kB / 0.6219 GB, free: 13.19 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.4677, allocations: 33.7 kB / 0.6219 GB, free: 13.15 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.4678, allocations: 160.2 kB / 0.6221 GB, free: 12.99 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.989e-05/0.4679, allocations: 55.36 kB / 0.6221 GB, free: 12.94 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.314e-05/0.4679, allocations: 0 / 0.6221 GB, free: 12.94 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.4681, allocations: 342.8 kB / 0.6224 GB, free: 12.59 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002199/0.4683, allocations: 99.91 kB / 0.6225 GB, free: 12.5 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002609/0.4686, allocations: 157.8 kB / 0.6227 GB, free: 12.32 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004812/0.4691, allocations: 275.7 kB / 0.6229 GB, free: 12.03 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4691, allocations: 0 / 0.6229 GB, free: 12.03 MB / 442.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005622/0.4697, allocations: 324.9 kB / 0.6233 GB, free: 11.71 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.4697, allocations: 4 kB / 0.6233 GB, free: 11.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.4697, allocations: 4.188 kB / 0.6233 GB, free: 11.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.4697, allocations: 7.984 kB / 0.6233 GB, free: 11.69 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005603/0.4703, allocations: 119.9 kB / 0.6234 GB, free: 11.57 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002165/0.4725, allocations: 3.707 MB / 0.627 GB, free: 7.727 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002299/0.4727, allocations: 35.62 kB / 0.627 GB, free: 7.691 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.598e-05/0.4727, allocations: 11.98 kB / 0.627 GB, free: 7.68 MB / 442.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_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].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 (21): * Single equations (assignments): 15 * 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.0002169/0.473, allocations: 172.3 kB / 0.6272 GB, free: 7.504 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.417e-05/0.473, allocations: 27.72 kB / 0.6272 GB, free: 7.477 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007027/0.4737, allocations: 356.8 kB / 0.6276 GB, free: 7.129 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.4738, allocations: 7.875 kB / 0.6276 GB, free: 7.121 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.4738, allocations: 4 kB / 0.6276 GB, free: 7.117 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.4738, allocations: 0 / 0.6276 GB, free: 7.117 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003926/0.4742, allocations: 317.3 kB / 0.6279 GB, free: 6.758 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4742, allocations: 0 / 0.6279 GB, free: 6.758 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004997/0.4747, allocations: 111.9 kB / 0.628 GB, free: 6.648 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.4747, allocations: 0 / 0.628 GB, free: 6.648 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.101e-05/0.4747, allocations: 8 kB / 0.628 GB, free: 6.641 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002112/0.4768, allocations: 3.711 MB / 0.6316 GB, free: 2.789 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.4769, allocations: 0 / 0.6316 GB, free: 2.789 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005513/0.4774, allocations: 375.2 kB / 0.632 GB, free: 2.406 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.375e-05/0.4775, allocations: 108.7 kB / 0.6321 GB, free: 2.281 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.236e-05/0.4776, allocations: 8 kB / 0.6321 GB, free: 2.273 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.4777, allocations: 7.938 kB / 0.6321 GB, free: 2.266 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.705e-05/0.4778, allocations: 19.97 kB / 0.6321 GB, free: 2.246 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.669e-05/0.4778, allocations: 4 kB / 0.6321 GB, free: 2.242 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002667/0.4781, allocations: 261.9 kB / 0.6324 GB, free: 1.984 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4781, allocations: 0 / 0.6324 GB, free: 1.984 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003817/0.4785, allocations: 76.05 kB / 0.6325 GB, free: 1.91 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 (15): * Single equations (assignments): 9 * 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.0002852/0.4788, allocations: 165 kB / 0.6326 GB, free: 1.746 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009097/0.4797, allocations: 321.9 kB / 0.6329 GB, free: 1.434 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.4797, allocations: 4 kB / 0.6329 GB, free: 1.43 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006164/0.4803, allocations: 207.7 kB / 0.6331 GB, free: 1.227 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004353/0.4808, allocations: 64.47 kB / 0.6332 GB, free: 1.164 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009857/0.4818, allocations: 0.6875 MB / 0.6339 GB, free: 452 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003701/0.4822, allocations: 0.7986 MB / 0.6346 GB, free: 15.62 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.063e-05/0.4822, allocations: 27.42 kB / 0.6347 GB, free: 15.59 MB / 458.7 MB Notification: Performance of SimCode: time 3.91e-07/0.4822, allocations: 0 / 0.6347 GB, free: 15.59 MB / 458.7 MB Notification: Performance of Templates: time 0.01284/0.4951, allocations: 11.47 MB / 0.6459 GB, free: 4.152 MB / 458.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/General/kc_approxForcedConvection_KC/kc_approxForcedConvection_KC.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches