Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.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.StraightPipe.kc_overall,tolerance=1e-05,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.|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.|Nu_4.1.|Nu_4.2.|Nu_4.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,tolerance=1e-05,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.|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.|Nu_4.1.|Nu_4.2.|Nu_4.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall") [: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 trunk/package.mo): time 0.001648/0.001648, allocations: 201.3 kB / 8.544 MB, free: 1.816 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.264/1.264, allocations: 225.5 MB / 234.4 MB, free: 3.398 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009075/0.0009073, allocations: 105.6 kB / 286.3 MB, free: 5.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1956/0.1956, allocations: 45.14 MB / 383.3 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 8.085e-06/8.496e-06, allocations: 0 / 452.7 MB, free: 76.19 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1067, allocations: 63.24 MB / 0.5038 GB, free: 13.02 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3393/0.4461, allocations: 100.8 MB / 0.6022 GB, free: 2.203 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003087/0.4465, allocations: 95.25 kB / 0.6023 GB, free: 2.152 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.06658/0.513, allocations: 24.31 MB / 0.626 GB, free: 13.75 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.649e-05/0.5131, allocations: 4 kB / 0.626 GB, free: 13.75 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001337/0.5145, allocations: 0.7507 MB / 0.6268 GB, free: 12.98 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/0.5145, allocations: 11.97 kB / 0.6268 GB, free: 12.97 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004722/0.515, allocations: 103.2 kB / 0.6269 GB, free: 12.88 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005543/0.5156, allocations: 309.6 kB / 0.6272 GB, free: 12.54 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.563e-05/0.5156, allocations: 23.91 kB / 0.6272 GB, free: 12.52 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.806e-05/0.5157, allocations: 36 kB / 0.6272 GB, free: 12.48 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007233/0.5164, allocations: 476.5 kB / 0.6277 GB, free: 12.14 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009607/0.5174, allocations: 0.6714 MB / 0.6283 GB, free: 11.59 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.5174, allocations: 0 / 0.6283 GB, free: 11.59 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.1e-05/0.5175, allocations: 0 / 0.6283 GB, free: 11.59 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-05/0.5175, allocations: 33.23 kB / 0.6284 GB, free: 11.56 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002404/0.5199, allocations: 1.539 MB / 0.6299 GB, free: 10.17 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003988/0.5204, allocations: 277.4 kB / 0.6301 GB, free: 9.895 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000198/0.5206, allocations: 125.2 kB / 0.6303 GB, free: 9.777 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.785e-05/0.5206, allocations: 20.05 kB / 0.6303 GB, free: 9.758 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.5207, allocations: 38 kB / 0.6303 GB, free: 9.715 MB / 426.7 MB Notification: Performance of pre-optimization done (n=20): time 2.013e-06/0.5207, allocations: 0 / 0.6303 GB, free: 9.715 MB / 426.7 MB Notification: Performance of matching and sorting (n=20): time 0.0007187/0.5214, allocations: 308.2 kB / 0.6306 GB, free: 9.434 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.135e-05/0.5215, allocations: 106.8 kB / 0.6307 GB, free: 9.305 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003245/0.5218, allocations: 314.7 kB / 0.631 GB, free: 9.039 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/0.5218, allocations: 25.7 kB / 0.631 GB, free: 9.008 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001725/0.522, allocations: 293.9 kB / 0.6313 GB, free: 8.742 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.536e-05/0.5221, allocations: 68.72 kB / 0.6314 GB, free: 8.684 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.473e-05/0.5221, allocations: 0 / 0.6314 GB, free: 8.684 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.5223, allocations: 344.7 kB / 0.6317 GB, free: 8.352 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002338/0.5225, allocations: 164.1 kB / 0.6319 GB, free: 8.211 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003833/0.5229, allocations: 417.9 kB / 0.6323 GB, free: 7.711 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003218/0.5232, allocations: 244.7 kB / 0.6325 GB, free: 7.5 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.75e-06/0.5232, allocations: 4 kB / 0.6325 GB, free: 7.496 MB / 426.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0009079/0.5241, allocations: 0.5627 MB / 0.6331 GB, free: 6.977 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.5242, allocations: 8 kB / 0.6331 GB, free: 6.969 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.758e-05/0.5243, allocations: 47.22 kB / 0.6331 GB, free: 6.926 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.854e-05/0.5243, allocations: 16.78 kB / 0.6331 GB, free: 6.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003401/0.5246, allocations: 83.38 kB / 0.6332 GB, free: 6.832 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.644e-05/0.5247, allocations: 23.84 kB / 0.6332 GB, free: 6.809 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003892/0.5251, allocations: 55.66 kB / 0.6333 GB, free: 6.754 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.705e-05/0.5251, allocations: 39.36 kB / 0.6333 GB, free: 6.719 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].target,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 45 * 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.0001589/0.5253, allocations: 142.6 kB / 0.6334 GB, free: 6.582 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/0.5254, allocations: 27.62 kB / 0.6335 GB, free: 6.555 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009564/0.5264, allocations: 0.5053 MB / 0.634 GB, free: 6.074 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/0.5264, allocations: 7.984 kB / 0.634 GB, free: 6.066 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.5264, allocations: 4 kB / 0.634 GB, free: 6.062 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.5264, allocations: 0 / 0.634 GB, free: 6.062 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006135/0.527, allocations: 370.6 kB / 0.6343 GB, free: 5.711 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.194e-05/0.5271, allocations: 39.97 kB / 0.6344 GB, free: 5.672 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001802/0.5273, allocations: 47.31 kB / 0.6344 GB, free: 5.629 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.5273, allocations: 0 / 0.6344 GB, free: 5.629 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.117e-05/0.5274, allocations: 11.98 kB / 0.6344 GB, free: 5.617 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.5274, allocations: 0 / 0.6344 GB, free: 5.617 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.5274, allocations: 8 kB / 0.6344 GB, free: 5.609 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006295/0.528, allocations: 0.5693 MB / 0.635 GB, free: 5.043 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.461e-05/0.5281, allocations: 108.7 kB / 0.6351 GB, free: 4.918 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.287e-05/0.5282, allocations: 4 kB / 0.6351 GB, free: 4.914 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003138/0.5285, allocations: 23.98 kB / 0.6351 GB, free: 4.891 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.972e-05/0.5286, allocations: 27.69 kB / 0.6351 GB, free: 4.867 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.28e-05/0.5287, allocations: 15.98 kB / 0.6352 GB, free: 4.852 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0002026/0.5289, allocations: 219.3 kB / 0.6354 GB, free: 4.676 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009898/0.5299, allocations: 228.8 kB / 0.6356 GB, free: 4.461 MB / 426.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.0005849/0.5305, allocations: 303.8 kB / 0.6359 GB, free: 4.164 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007984/0.5313, allocations: 0.6877 MB / 0.6366 GB, free: 3.449 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.5313, allocations: 128 / 0.6366 GB, free: 3.449 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004079/0.5317, allocations: 467.1 kB / 0.637 GB, free: 2.938 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000359/0.5321, allocations: 31.08 kB / 0.637 GB, free: 2.914 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001735/0.5338, allocations: 0.7025 MB / 0.6377 GB, free: 2.219 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004987/0.5343, allocations: 0.9398 MB / 0.6386 GB, free: 1.266 MB / 426.7 MB Notification: Performance of SimCode: time 4.5e-07/0.5343, allocations: 0 / 0.6386 GB, free: 1.266 MB / 426.7 MB Notification: Performance of Templates: time 0.01198/0.5463, allocations: 6.963 MB / 0.6454 GB, free: 10.35 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_overall/kc_overall.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches