Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18") [: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.001121/0.001121, allocations: 174.8 kB / 8.514 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.328/1.328, allocations: 221.4 MB / 230.3 MB, free: 7.793 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.001177/0.001178, allocations: 95.66 kB / 281.2 MB, free: 5.531 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.1714/0.1714, allocations: 44.15 MB / 376.1 MB, free: 3.266 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 9.709e-06/9.729e-06, allocations: 4.219 kB / 444 MB, free: 15.65 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1524, allocations: 61.9 MB / 0.4941 GB, free: 1.676 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3347/0.4871, allocations: 87.54 MB / 0.5796 GB, free: 9.25 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001857/0.4873, allocations: 71.45 kB / 0.5796 GB, free: 9.215 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01657/0.5039, allocations: 6.202 MB / 0.5857 GB, free: 3.094 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.277e-06/0.504, allocations: 0 / 0.5857 GB, free: 3.094 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003511/0.5043, allocations: 402.2 kB / 0.5861 GB, free: 2.656 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.5044, allocations: 11.97 kB / 0.5861 GB, free: 2.645 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.62e-05/0.5044, allocations: 15.81 kB / 0.5861 GB, free: 2.629 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001957/0.5046, allocations: 190.9 kB / 0.5863 GB, free: 2.402 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.873e-06/0.5046, allocations: 0 / 0.5863 GB, free: 2.402 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/0.5046, allocations: 7.938 kB / 0.5863 GB, free: 2.395 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.859e-05/0.5047, allocations: 27.97 kB / 0.5863 GB, free: 2.367 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.289e-05/0.5048, allocations: 67.34 kB / 0.5864 GB, free: 2.289 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.5048, allocations: 3.984 kB / 0.5864 GB, free: 2.285 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.5049, allocations: 0 / 0.5864 GB, free: 2.285 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.5049, allocations: 4 kB / 0.5864 GB, free: 2.281 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003295/0.5052, allocations: 261.3 kB / 0.5866 GB, free: 1.988 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.115e-05/0.5053, allocations: 41.72 kB / 0.5867 GB, free: 1.941 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.778e-05/0.5053, allocations: 16.89 kB / 0.5867 GB, free: 1.922 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.5053, allocations: 3.984 kB / 0.5867 GB, free: 1.918 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.5054, allocations: 38.5 kB / 0.5867 GB, free: 1.871 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.5054, allocations: 0 / 0.5867 GB, free: 1.871 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004108/0.5058, allocations: 125.4 kB / 0.5869 GB, free: 1.742 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.5058, allocations: 81.11 kB / 0.5869 GB, free: 1.645 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.5059, allocations: 127.9 kB / 0.587 GB, free: 1.516 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.506, allocations: 25.7 kB / 0.5871 GB, free: 1.484 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.061e-05/0.506, allocations: 84.14 kB / 0.5872 GB, free: 1.398 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/0.506, allocations: 31.55 kB / 0.5872 GB, free: 1.367 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-06/0.506, allocations: 0 / 0.5872 GB, free: 1.367 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.5062, allocations: 318.8 kB / 0.5875 GB, free: 1.047 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.657e-05/0.5062, allocations: 12 kB / 0.5875 GB, free: 1.035 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.547e-05/0.5062, allocations: 41.72 kB / 0.5875 GB, free: 0.9883 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.445e-05/0.5063, allocations: 12 kB / 0.5876 GB, free: 0.9766 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.5063, allocations: 0 / 0.5876 GB, free: 0.9766 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001148/0.5064, allocations: 77.59 kB / 0.5876 GB, free: 0.8945 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.898e-06/0.5064, allocations: 7.984 kB / 0.5876 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-06/0.5064, allocations: 0 / 0.5876 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.428e-06/0.5064, allocations: 0 / 0.5876 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.5066, allocations: 24.02 kB / 0.5877 GB, free: 0.8633 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.5066, allocations: 0 / 0.5877 GB, free: 0.8633 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.588e-05/0.5066, allocations: 11.91 kB / 0.5877 GB, free: 0.8516 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/0.5066, allocations: 0 / 0.5877 GB, free: 0.8516 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 (8): * Single equations (assignments): 8 * 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 6.009e-05/0.5067, allocations: 104.9 kB / 0.5878 GB, free: 0.7422 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.234e-05/0.5067, allocations: 7.906 kB / 0.5878 GB, free: 0.7344 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001737/0.5069, allocations: 102.2 kB / 0.5879 GB, free: 0.6289 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.5069, allocations: 0 / 0.5879 GB, free: 0.6289 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.5069, allocations: 0 / 0.5879 GB, free: 0.6289 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.5069, allocations: 3.906 kB / 0.5879 GB, free: 0.625 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003059/0.5073, allocations: 335.3 kB / 0.5882 GB, free: 260 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.5073, allocations: 0 / 0.5882 GB, free: 260 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.692e-05/0.5074, allocations: 19.98 kB / 0.5882 GB, free: 240 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.5074, allocations: 11.84 kB / 0.5882 GB, free: 228 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.5074, allocations: 3.938 kB / 0.5882 GB, free: 224 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.5074, allocations: 192 / 0.5882 GB, free: 224 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.5074, allocations: 8 kB / 0.5882 GB, free: 216 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001372/0.5075, allocations: 179.4 kB / 0.5884 GB, free: 20 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.854e-05/0.5076, allocations: 85.02 kB / 0.5885 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.009e-05/0.5076, allocations: 0 / 0.5885 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.696e-05/0.5077, allocations: 11.98 kB / 0.5885 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.185e-05/0.5078, allocations: 7.906 kB / 0.5885 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/0.5078, allocations: 7.984 kB / 0.5885 GB, free: 15.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.245e-05/0.5078, allocations: 103.3 kB / 0.5886 GB, free: 15.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002478/0.5081, allocations: 23.98 kB / 0.5886 GB, free: 15.77 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 (8): * Single equations (assignments): 8 * 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.0006186/0.5087, allocations: 337.8 kB / 0.589 GB, free: 15.51 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001106/0.5088, allocations: 43.94 kB / 0.589 GB, free: 15.47 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/0.5088, allocations: 0 / 0.589 GB, free: 15.47 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.19e-05/0.5089, allocations: 24 kB / 0.589 GB, free: 15.45 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001918/0.5091, allocations: 19.92 kB / 0.589 GB, free: 15.43 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002866/0.5094, allocations: 119.4 kB / 0.5892 GB, free: 15.29 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000327/0.5097, allocations: 0.7191 MB / 0.5899 GB, free: 14.54 MB / 410.7 MB Notification: Performance of SimCode: time 2.71e-07/0.5097, allocations: 0 / 0.5899 GB, free: 14.54 MB / 410.7 MB Notification: Performance of Templates: time 0.003526/0.5133, allocations: 1.462 MB / 0.5913 GB, free: 13.08 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches