Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.001205/0.001205, allocations: 179 kB / 8.517 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.295/1.295, allocations: 221.4 MB / 230.3 MB, free: 7.703 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.0008678/0.0008676, allocations: 90.47 kB / 281.2 MB, free: 5.445 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.1769/0.1769, allocations: 44.15 MB / 376.1 MB, free: 3.215 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.715e-06/7.755e-06, allocations: 4.219 kB / 444 MB, free: 15.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1211, allocations: 61.91 MB / 0.4941 GB, free: 1.613 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3517/0.4729, allocations: 87.47 MB / 0.5795 GB, free: 9.293 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002152/0.4731, allocations: 76.61 kB / 0.5796 GB, free: 9.25 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01713/0.4903, allocations: 5.918 MB / 0.5854 GB, free: 3.352 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.698e-06/0.4903, allocations: 0 / 0.5854 GB, free: 3.352 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004314/0.4908, allocations: 398.2 kB / 0.5857 GB, free: 2.918 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.4908, allocations: 17.47 kB / 0.5858 GB, free: 2.902 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.9e-05/0.4908, allocations: 3.906 kB / 0.5858 GB, free: 2.898 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002438/0.4911, allocations: 191 kB / 0.5859 GB, free: 2.672 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.267e-06/0.4911, allocations: 0 / 0.5859 GB, free: 2.672 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.562e-05/0.4911, allocations: 3.938 kB / 0.586 GB, free: 2.668 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.737e-05/0.4912, allocations: 12 kB / 0.586 GB, free: 2.656 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.4913, allocations: 63.25 kB / 0.586 GB, free: 2.582 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.4913, allocations: 7.984 kB / 0.586 GB, free: 2.574 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.4914, allocations: 0 / 0.586 GB, free: 2.574 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-06/0.4914, allocations: 4 kB / 0.586 GB, free: 2.57 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003223/0.4917, allocations: 253.4 kB / 0.5863 GB, free: 2.285 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001569/0.4919, allocations: 25.72 kB / 0.5863 GB, free: 2.254 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.899e-05/0.4919, allocations: 12.8 kB / 0.5863 GB, free: 2.238 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.4919, allocations: 4.094 kB / 0.5863 GB, free: 2.234 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.492, allocations: 38.55 kB / 0.5864 GB, free: 2.188 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.402e-06/0.492, allocations: 0 / 0.5864 GB, free: 2.188 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003865/0.4924, allocations: 89.47 kB / 0.5864 GB, free: 2.094 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.927e-05/0.4925, allocations: 85.02 kB / 0.5865 GB, free: 1.992 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.4926, allocations: 122.5 kB / 0.5866 GB, free: 1.867 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.4926, allocations: 29.7 kB / 0.5867 GB, free: 1.832 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.932e-05/0.4926, allocations: 84.14 kB / 0.5867 GB, free: 1.746 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.4927, allocations: 23.67 kB / 0.5868 GB, free: 1.723 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.62e-06/0.4927, allocations: 0 / 0.5868 GB, free: 1.723 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.4928, allocations: 318.8 kB / 0.5871 GB, free: 1.402 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.037e-05/0.4928, allocations: 8 kB / 0.5871 GB, free: 1.395 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.997e-05/0.4929, allocations: 25.7 kB / 0.5871 GB, free: 1.363 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.789e-05/0.4929, allocations: 12.03 kB / 0.5871 GB, free: 1.352 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-07/0.4929, allocations: 4 kB / 0.5871 GB, free: 1.348 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.393e-05/0.493, allocations: 53.59 kB / 0.5872 GB, free: 1.289 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.493, allocations: 4 kB / 0.5872 GB, free: 1.285 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.493, allocations: 4 kB / 0.5872 GB, free: 1.281 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.4931, allocations: 3.906 kB / 0.5872 GB, free: 1.277 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.683e-05/0.4931, allocations: 16 kB / 0.5872 GB, free: 1.262 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.4932, allocations: 3.984 kB / 0.5872 GB, free: 1.258 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.582e-05/0.4932, allocations: 8 kB / 0.5872 GB, free: 1.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-06/0.4932, allocations: 4 kB / 0.5872 GB, free: 1.246 MB / 394.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 (5): * Single equations (assignments): 5 * 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 7.013e-05/0.4933, allocations: 104.9 kB / 0.5873 GB, free: 1.137 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.365e-05/0.4933, allocations: 7.906 kB / 0.5873 GB, free: 1.129 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001442/0.4935, allocations: 69.72 kB / 0.5874 GB, free: 1.051 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.4935, allocations: 0 / 0.5874 GB, free: 1.051 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.4935, allocations: 4 kB / 0.5874 GB, free: 1.047 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.4935, allocations: 0 / 0.5874 GB, free: 1.047 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003002/0.4938, allocations: 307 kB / 0.5877 GB, free: 0.7031 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.4938, allocations: 384 / 0.5877 GB, free: 0.7031 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.487e-05/0.4939, allocations: 12 kB / 0.5877 GB, free: 0.6914 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.4939, allocations: 4 kB / 0.5877 GB, free: 0.6875 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.986e-06/0.4939, allocations: 7.922 kB / 0.5877 GB, free: 0.6797 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.4939, allocations: 4 kB / 0.5877 GB, free: 0.6758 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.4939, allocations: 3.906 kB / 0.5877 GB, free: 0.6719 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001298/0.4941, allocations: 151.5 kB / 0.5879 GB, free: 0.5078 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.619e-05/0.4941, allocations: 89.02 kB / 0.5879 GB, free: 412 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.4942, allocations: 0 / 0.5879 GB, free: 412 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.153e-05/0.4943, allocations: 7.984 kB / 0.5879 GB, free: 404 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.516e-05/0.4943, allocations: 8 kB / 0.588 GB, free: 396 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.359e-06/0.4943, allocations: 0 / 0.588 GB, free: 396 kB / 394.7 MB Notification: Performance of sort global known variables: time 6.813e-05/0.4944, allocations: 108 kB / 0.5881 GB, free: 288 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002815/0.4947, allocations: 27.94 kB / 0.5881 GB, free: 260 kB / 394.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 (5): * Single equations (assignments): 5 * 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.0006858/0.4954, allocations: 335.8 kB / 0.5884 GB, free: 0 / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001091/0.4955, allocations: 24.05 kB / 0.5884 GB, free: 15.97 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.4955, allocations: 4 kB / 0.5884 GB, free: 15.97 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.868e-05/0.4955, allocations: 19.88 kB / 0.5885 GB, free: 15.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002026/0.4957, allocations: 16.45 kB / 0.5885 GB, free: 15.94 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003172/0.4961, allocations: 91.81 kB / 0.5886 GB, free: 15.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003784/0.4965, allocations: 0.7114 MB / 0.5893 GB, free: 15.08 MB / 410.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4965, allocations: 0 / 0.5893 GB, free: 15.08 MB / 410.7 MB Notification: Performance of Templates: time 0.003604/0.5001, allocations: 1.323 MB / 0.5905 GB, free: 13.77 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches