Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall,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.|m_flow.1.|m_flow.2.|m_flow.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_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|mflow_test|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall,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.|m_flow.1.|m_flow.2.|m_flow.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_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|mflow_test|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 184 kB / 8.52 MB, free: 1.836 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.256/1.256, allocations: 221.4 MB / 230.3 MB, free: 7.672 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009193/0.0009193, allocations: 90.92 kB / 281.2 MB, free: 5.492 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1733/0.1733, allocations: 44.15 MB / 376.1 MB, free: 3.207 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 5.901e-06/5.931e-06, allocations: 224 / 444.1 MB, free: 15.57 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.12, allocations: 61.91 MB / 0.4941 GB, free: 1.574 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3042/0.4243, allocations: 98.61 MB / 0.5904 GB, free: 14.12 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/0.4246, allocations: 91.94 kB / 0.5905 GB, free: 14.03 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.05601/0.4806, allocations: 21.34 MB / 0.6113 GB, free: 8.484 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.529e-05/0.4807, allocations: 8 kB / 0.6113 GB, free: 8.477 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.0009779/0.4817, allocations: 0.7126 MB / 0.612 GB, free: 7.715 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.4817, allocations: 11.97 kB / 0.6121 GB, free: 7.703 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.771e-05/0.4818, allocations: 55.34 kB / 0.6121 GB, free: 7.648 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003725/0.4822, allocations: 298.2 kB / 0.6124 GB, free: 7.316 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.4822, allocations: 20 kB / 0.6124 GB, free: 7.297 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.281e-05/0.4823, allocations: 28 kB / 0.6124 GB, free: 7.27 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000584/0.4829, allocations: 422.1 kB / 0.6128 GB, free: 6.855 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007795/0.4837, allocations: 0.6045 MB / 0.6134 GB, free: 6.238 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.4837, allocations: 4 kB / 0.6134 GB, free: 6.234 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.49e-05/0.4837, allocations: 0 / 0.6134 GB, free: 6.234 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.821e-05/0.4838, allocations: 24.98 kB / 0.6135 GB, free: 6.211 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001833/0.4856, allocations: 1.362 MB / 0.6148 GB, free: 4.801 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003872/0.486, allocations: 291.8 kB / 0.6151 GB, free: 4.484 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001933/0.4862, allocations: 138.6 kB / 0.6152 GB, free: 4.34 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.476e-05/0.4863, allocations: 11.91 kB / 0.6152 GB, free: 4.328 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.4863, allocations: 42.55 kB / 0.6152 GB, free: 4.277 MB / 426.7 MB Notification: Performance of pre-optimization done (n=23): time 1.673e-06/0.4863, allocations: 0 / 0.6152 GB, free: 4.277 MB / 426.7 MB Notification: Performance of matching and sorting (n=23): time 0.0006114/0.4869, allocations: 311.6 kB / 0.6155 GB, free: 3.969 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.487, allocations: 110.8 kB / 0.6156 GB, free: 3.836 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/0.4872, allocations: 196.2 kB / 0.6158 GB, free: 3.633 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.612e-05/0.4872, allocations: 25.7 kB / 0.6159 GB, free: 3.602 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.4873, allocations: 239.7 kB / 0.6161 GB, free: 3.363 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.21e-05/0.4874, allocations: 78.84 kB / 0.6162 GB, free: 3.285 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.956e-05/0.4874, allocations: 0 / 0.6162 GB, free: 3.285 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.4875, allocations: 330.8 kB / 0.6165 GB, free: 2.953 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000191/0.4877, allocations: 131.9 kB / 0.6166 GB, free: 2.824 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002646/0.488, allocations: 225.8 kB / 0.6168 GB, free: 2.559 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002427/0.4882, allocations: 157.4 kB / 0.617 GB, free: 2.406 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.4883, allocations: 7.984 kB / 0.617 GB, free: 2.398 MB / 426.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006249/0.4889, allocations: 400.1 kB / 0.6174 GB, free: 2.008 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.4889, allocations: 4 kB / 0.6174 GB, free: 2.004 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.91e-05/0.489, allocations: 39.97 kB / 0.6174 GB, free: 1.965 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.489, allocations: 4.438 kB / 0.6174 GB, free: 1.961 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002201/0.4892, allocations: 51.89 kB / 0.6175 GB, free: 1.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.4893, allocations: 7.938 kB / 0.6175 GB, free: 1.902 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002365/0.4895, allocations: 39.81 kB / 0.6175 GB, free: 1.863 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.165e-05/0.4896, allocations: 20 kB / 0.6175 GB, free: 1.844 MB / 426.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: 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0001139/0.4897, allocations: 120.8 kB / 0.6176 GB, free: 1.719 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.427e-05/0.4898, allocations: 27.7 kB / 0.6177 GB, free: 1.691 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000883/0.4907, allocations: 494.6 kB / 0.6181 GB, free: 1.207 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/0.4907, allocations: 7.906 kB / 0.6181 GB, free: 1.199 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.4907, allocations: 0 / 0.6181 GB, free: 1.199 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.4907, allocations: 0 / 0.6181 GB, free: 1.199 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005225/0.4912, allocations: 365.9 kB / 0.6185 GB, free: 0.8047 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.377e-05/0.4913, allocations: 39.97 kB / 0.6185 GB, free: 0.7656 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001748/0.4915, allocations: 39.91 kB / 0.6186 GB, free: 0.7266 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.4915, allocations: 0 / 0.6186 GB, free: 0.7266 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.991e-05/0.4915, allocations: 11.98 kB / 0.6186 GB, free: 0.7148 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.4916, allocations: 0 / 0.6186 GB, free: 0.7148 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.4916, allocations: 4 kB / 0.6186 GB, free: 0.7109 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006221/0.4922, allocations: 0.5763 MB / 0.6191 GB, free: 108 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.295e-05/0.4923, allocations: 108.9 kB / 0.6192 GB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.292e-05/0.4923, allocations: 0 / 0.6192 GB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002805/0.4926, allocations: 23.98 kB / 0.6193 GB, free: 15.95 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.072e-05/0.4927, allocations: 27.91 kB / 0.6193 GB, free: 15.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.235e-05/0.4927, allocations: 15.98 kB / 0.6193 GB, free: 15.91 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0001096/0.4929, allocations: 152.4 kB / 0.6195 GB, free: 15.76 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007275/0.4936, allocations: 215.2 kB / 0.6197 GB, free: 15.55 MB / 442.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 () * 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 (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.0004813/0.4941, allocations: 280.9 kB / 0.6199 GB, free: 15.27 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006387/0.4947, allocations: 0.6117 MB / 0.6205 GB, free: 14.58 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.4947, allocations: 0 / 0.6205 GB, free: 14.58 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003714/0.4951, allocations: 461.2 kB / 0.621 GB, free: 14.06 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003298/0.4955, allocations: 38.66 kB / 0.621 GB, free: 14.02 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/0.4969, allocations: 0.6283 MB / 0.6216 GB, free: 13.37 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004847/0.4974, allocations: 0.9244 MB / 0.6225 GB, free: 12.41 MB / 442.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4974, allocations: 0 / 0.6225 GB, free: 12.41 MB / 442.7 MB Notification: Performance of Templates: time 0.009893/0.5073, allocations: 5.909 MB / 0.6283 GB, free: 6.539 MB / 442.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapOverall/kc_evenGapOverall.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches