Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.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.Tables.CombiTable2Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21") [: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.0009981/0.0009981, allocations: 175 kB / 8.516 MB, free: 1.852 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.292/1.292, allocations: 221.4 MB / 230.3 MB, free: 7.746 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.001039/0.001039, allocations: 84.7 kB / 281.2 MB, free: 5.496 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.181/0.181, allocations: 44.15 MB / 376.1 MB, free: 3.258 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.132e-06/6.172e-06, allocations: 224 / 444 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1309, allocations: 61.91 MB / 0.4941 GB, free: 1.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3197/0.4507, allocations: 89.94 MB / 0.5819 GB, free: 6.543 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002019/0.4509, allocations: 68.08 kB / 0.582 GB, free: 6.508 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02353/0.4745, allocations: 9.052 MB / 0.5908 GB, free: 13.69 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.091e-05/0.4746, allocations: 12 kB / 0.5908 GB, free: 13.68 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007001/0.4753, allocations: 0.5559 MB / 0.5914 GB, free: 13.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.4753, allocations: 11.97 kB / 0.5914 GB, free: 13.06 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.162e-05/0.4754, allocations: 39.53 kB / 0.5914 GB, free: 13.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000547/0.476, allocations: 341 kB / 0.5918 GB, free: 12.65 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.476, allocations: 4 kB / 0.5918 GB, free: 12.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.289e-05/0.476, allocations: 8 kB / 0.5918 GB, free: 12.64 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001495/0.4762, allocations: 55.98 kB / 0.5918 GB, free: 12.58 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.4764, allocations: 89.61 kB / 0.5919 GB, free: 12.49 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.4764, allocations: 0 / 0.5919 GB, free: 12.49 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.4764, allocations: 0 / 0.5919 GB, free: 12.49 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.4764, allocations: 7.938 kB / 0.5919 GB, free: 12.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006698/0.4771, allocations: 480.9 kB / 0.5924 GB, free: 11.97 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.4772, allocations: 81.64 kB / 0.5925 GB, free: 11.89 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.865e-05/0.4773, allocations: 24.86 kB / 0.5925 GB, free: 11.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.392e-05/0.4773, allocations: 4 kB / 0.5925 GB, free: 11.86 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.4774, allocations: 30.56 kB / 0.5925 GB, free: 11.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.553e-06/0.4774, allocations: 0 / 0.5925 GB, free: 11.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007451/0.4781, allocations: 308 kB / 0.5928 GB, free: 11.51 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/0.4782, allocations: 51.41 kB / 0.5929 GB, free: 11.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005898/0.4788, allocations: 473 kB / 0.5933 GB, free: 10.98 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.4788, allocations: 25.7 kB / 0.5933 GB, free: 10.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.355e-05/0.4789, allocations: 136.4 kB / 0.5935 GB, free: 10.81 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.551e-05/0.479, allocations: 55.11 kB / 0.5935 GB, free: 10.76 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.943e-06/0.479, allocations: 0 / 0.5935 GB, free: 10.76 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.4791, allocations: 350.8 kB / 0.5938 GB, free: 10.41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.362e-05/0.4792, allocations: 43.94 kB / 0.5939 GB, free: 10.36 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.967e-05/0.4793, allocations: 42.56 kB / 0.5939 GB, free: 10.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.786e-05/0.4794, allocations: 39.98 kB / 0.594 GB, free: 10.29 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.4794, allocations: 3.938 kB / 0.594 GB, free: 10.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002522/0.4796, allocations: 165 kB / 0.5941 GB, free: 10.11 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.4796, allocations: 6.344 kB / 0.5941 GB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.4797, allocations: 0 / 0.5941 GB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.4797, allocations: 7.984 kB / 0.5941 GB, free: 10.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.4799, allocations: 35.98 kB / 0.5942 GB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.4799, allocations: 3.906 kB / 0.5942 GB, free: 10.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.712e-05/0.48, allocations: 8 kB / 0.5942 GB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.48, allocations: 11.98 kB / 0.5942 GB, free: 10.04 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001015/0.4801, allocations: 104.9 kB / 0.5943 GB, free: 9.934 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.412e-05/0.4802, allocations: 43.44 kB / 0.5943 GB, free: 9.891 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003882/0.4806, allocations: 213.2 kB / 0.5945 GB, free: 9.668 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.4806, allocations: 0 / 0.5945 GB, free: 9.668 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.4806, allocations: 0 / 0.5945 GB, free: 9.668 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.4806, allocations: 0 / 0.5945 GB, free: 9.668 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007819/0.4814, allocations: 0.608 MB / 0.5951 GB, free: 9.016 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.4814, allocations: 7.984 kB / 0.5951 GB, free: 9.008 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/0.4815, allocations: 43.92 kB / 0.5952 GB, free: 8.965 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.4815, allocations: 0 / 0.5952 GB, free: 8.965 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.4815, allocations: 0 / 0.5952 GB, free: 8.965 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.4816, allocations: 4 kB / 0.5952 GB, free: 8.961 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.4816, allocations: 0 / 0.5952 GB, free: 8.961 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002806/0.4819, allocations: 269.2 kB / 0.5954 GB, free: 8.684 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001339/0.482, allocations: 144.6 kB / 0.5956 GB, free: 8.523 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.96e-05/0.4821, allocations: 3.984 kB / 0.5956 GB, free: 8.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/0.4822, allocations: 11.98 kB / 0.5956 GB, free: 8.508 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.707e-05/0.4822, allocations: 7.984 kB / 0.5956 GB, free: 8.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.4822, allocations: 4 kB / 0.5956 GB, free: 8.496 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0004563/0.4827, allocations: 379.1 kB / 0.596 GB, free: 8.125 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003481/0.4831, allocations: 71.78 kB / 0.596 GB, free: 8.055 MB / 410.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001037/0.4841, allocations: 0.5041 MB / 0.5965 GB, free: 7.664 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001819/0.4843, allocations: 99.94 kB / 0.5966 GB, free: 7.566 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.4843, allocations: 0 / 0.5966 GB, free: 7.566 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.265e-05/0.4844, allocations: 63.92 kB / 0.5967 GB, free: 7.504 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003851/0.4848, allocations: 58.33 kB / 0.5967 GB, free: 7.449 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008814/0.4857, allocations: 0.5028 MB / 0.5972 GB, free: 6.922 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004605/0.4862, allocations: 0.8448 MB / 0.5981 GB, free: 6.051 MB / 410.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4862, allocations: 0 / 0.5981 GB, free: 6.051 MB / 410.7 MB Notification: Performance of Templates: time 0.006794/0.493, allocations: 3.558 MB / 0.6015 GB, free: 2.508 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches