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.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,tolerance=1e-06,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.|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.|m_flow.1.|m_flow.2.|m_flow.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection,tolerance=1e-06,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.|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.|m_flow.1.|m_flow.2.|m_flow.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009392/0.0009392, allocations: 201.5 kB / 15.8 MB, free: 6.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.219/1.219, allocations: 226.6 MB / 243.1 MB, free: 12.54 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0006975/0.0006975, allocations: 89.06 kB / 295.1 MB, free: 4.395 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1806/0.1806, allocations: 44.83 MB / 392 MB, free: 11.35 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002594/0.0002594, allocations: 11.98 kB / 464.8 MB, free: 68.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08628/0.08656, allocations: 62.96 MB / 0.5154 GB, free: 5.059 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.001598/0.08819, allocations: 1.737 MB / 0.517 GB, free: 3.301 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0012/0.0894, allocations: 1.181 MB / 0.5182 GB, free: 2.117 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.281e-05/0.08947, allocations: 4 kB / 0.5182 GB, free: 2.113 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001949/0.08968, allocations: 59.67 kB / 0.5183 GB, free: 2.055 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000113/0.0898, allocations: 71.58 kB / 0.5183 GB, free: 1.984 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003495/0.09015, allocations: 158.2 kB / 0.5185 GB, free: 1.832 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002944/0.09046, allocations: 465.9 kB / 0.5189 GB, free: 1.375 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.398e-05/0.09053, allocations: 48.72 kB / 0.519 GB, free: 1.328 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001529/0.09069, allocations: 139.3 kB / 0.5191 GB, free: 1.191 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001477/0.09084, allocations: 179.1 kB / 0.5193 GB, free: 1.016 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.821e-05/0.09088, allocations: 12 kB / 0.5193 GB, free: 1.004 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003075/0.09119, allocations: 247.6 kB / 0.5195 GB, free: 0.7617 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.09e-05/0.09126, allocations: 87.58 kB / 0.5196 GB, free: 0.6758 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.836e-05/0.09132, allocations: 81.52 kB / 0.5197 GB, free: 0.5898 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002762/0.0916, allocations: 383.2 kB / 0.52 GB, free: 220 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.09162, allocations: 4 kB / 0.5201 GB, free: 216 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.09162, allocations: 0 / 0.5201 GB, free: 216 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.09163, allocations: 0 / 0.5201 GB, free: 216 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.0009376/0.09258, allocations: 0.6629 MB / 0.5207 GB, free: 15.5 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.09262, allocations: 11.97 kB / 0.5207 GB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003655/0.09299, allocations: 87.39 kB / 0.5208 GB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002927/0.09329, allocations: 275.3 kB / 0.5211 GB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/0.09333, allocations: 29 kB / 0.5211 GB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.423e-05/0.09339, allocations: 39.94 kB / 0.5211 GB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008466/0.09424, allocations: 0.5729 MB / 0.5217 GB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.09426, allocations: 0 / 0.5217 GB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.255e-05/0.0943, allocations: 16 kB / 0.5217 GB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.443e-05/0.09433, allocations: 13 kB / 0.5217 GB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007699/0.09511, allocations: 443.6 kB / 0.5221 GB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001608/0.09672, allocations: 1.273 MB / 0.5234 GB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005344/0.09727, allocations: 311.6 kB / 0.5237 GB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003554/0.09764, allocations: 170.4 kB / 0.5238 GB, free: 12.13 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.685e-05/0.0977, allocations: 19.86 kB / 0.5239 GB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.775e-05/0.09772, allocations: 34.56 kB / 0.5239 GB, free: 12.07 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.523e-06/0.09773, allocations: 0 / 0.5239 GB, free: 12.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.001187/0.09893, allocations: 0.5166 MB / 0.5244 GB, free: 11.54 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.115e-05/0.09899, allocations: 110.8 kB / 0.5245 GB, free: 11.41 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005359/0.09953, allocations: 0.4978 MB / 0.525 GB, free: 10.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.439e-05/0.09957, allocations: 25.7 kB / 0.525 GB, free: 10.88 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/0.09972, allocations: 208.2 kB / 0.5252 GB, free: 10.67 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.886e-05/0.09977, allocations: 63.17 kB / 0.5253 GB, free: 10.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.631e-05/0.09979, allocations: 4 kB / 0.5253 GB, free: 10.61 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.09992, allocations: 358.8 kB / 0.5256 GB, free: 10.25 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003573/0.1003, allocations: 152.1 kB / 0.5258 GB, free: 10.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004071/0.1007, allocations: 238.6 kB / 0.526 GB, free: 9.824 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004173/0.1011, allocations: 182.1 kB / 0.5262 GB, free: 9.648 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.7e-06/0.1011, allocations: 4 kB / 0.5262 GB, free: 9.645 MB / 362.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008804/0.102, allocations: 456.7 kB / 0.5266 GB, free: 9.191 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.1021, allocations: 8.344 kB / 0.5266 GB, free: 9.184 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.363e-05/0.1021, allocations: 36 kB / 0.5266 GB, free: 9.148 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.1021, allocations: 7.984 kB / 0.5266 GB, free: 9.141 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001898/0.1023, allocations: 39.91 kB / 0.5267 GB, free: 9.102 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.1024, allocations: 4 kB / 0.5267 GB, free: 9.098 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002634/0.1026, allocations: 63.5 kB / 0.5268 GB, free: 9.035 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.305e-05/0.1027, allocations: 16 kB / 0.5268 GB, free: 9.02 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 9 (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 (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001957/0.1029, allocations: 203.3 kB / 0.527 GB, free: 8.812 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.441e-05/0.103, allocations: 47.42 kB / 0.527 GB, free: 8.766 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000821/0.1038, allocations: 440.7 kB / 0.5274 GB, free: 8.328 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.525e-06/0.1038, allocations: 4 kB / 0.5274 GB, free: 8.324 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1038, allocations: 3.938 kB / 0.5274 GB, free: 8.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.1038, allocations: 7.984 kB / 0.5274 GB, free: 8.312 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005209/0.1044, allocations: 365.4 kB / 0.5278 GB, free: 7.906 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.827e-05/0.1044, allocations: 32 kB / 0.5278 GB, free: 7.875 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001687/0.1046, allocations: 31.97 kB / 0.5279 GB, free: 7.844 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.1046, allocations: 4 kB / 0.5279 GB, free: 7.84 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.474e-05/0.1046, allocations: 15.98 kB / 0.5279 GB, free: 7.824 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1046, allocations: 0 / 0.5279 GB, free: 7.824 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1047, allocations: 0 / 0.5279 GB, free: 7.824 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008397/0.1055, allocations: 0.6345 MB / 0.5285 GB, free: 7.176 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.662e-05/0.1056, allocations: 120.6 kB / 0.5286 GB, free: 7.039 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.864e-05/0.1056, allocations: 4 kB / 0.5286 GB, free: 7.035 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002794/0.1059, allocations: 23.98 kB / 0.5286 GB, free: 7.012 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.139e-05/0.106, allocations: 19.97 kB / 0.5287 GB, free: 6.992 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.253e-05/0.106, allocations: 12 kB / 0.5287 GB, free: 6.98 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003478/0.1064, allocations: 363 kB / 0.529 GB, free: 6.625 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1064, allocations: 0 / 0.529 GB, free: 6.625 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004549/0.1069, allocations: 123.8 kB / 0.5291 GB, free: 6.504 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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002718/0.1071, allocations: 175 kB / 0.5293 GB, free: 6.32 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008964/0.108, allocations: 0.5777 MB / 0.5299 GB, free: 5.688 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1081, allocations: 0 / 0.5299 GB, free: 5.688 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004813/0.1086, allocations: 423.1 kB / 0.5303 GB, free: 5.219 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005869/0.1091, allocations: 90.72 kB / 0.5303 GB, free: 5.133 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/0.1104, allocations: 0.8932 MB / 0.5312 GB, free: 4.199 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003888/0.1108, allocations: 0.8422 MB / 0.532 GB, free: 3.332 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.574e-05/0.1108, allocations: 27.42 kB / 0.5321 GB, free: 3.305 MB / 362.7 MB Notification: Performance of SimCode: time 2.01e-07/0.1108, allocations: 0 / 0.5321 GB, free: 3.305 MB / 362.7 MB Notification: Performance of Templates: time 0.008915/0.1198, allocations: 7.443 MB / 0.5393 GB, free: 11.91 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/General/kc_approxForcedConvection/kc_approxForcedConvection.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches