Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49") [: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.000962/0.0009621, allocations: 175.2 kB / 8.519 MB, free: 1.82 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.347/1.347, allocations: 221.4 MB / 230.3 MB, free: 7.609 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.0009734/0.0009736, allocations: 93.91 kB / 281.2 MB, free: 5.414 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.2193/0.2193, allocations: 44.15 MB / 376.1 MB, free: 3.184 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.016e-05/1.039e-05, allocations: 224 / 444 MB, free: 15.56 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1403, allocations: 61.91 MB / 0.4941 GB, free: 1.566 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3495/0.4898, allocations: 88.49 MB / 0.5805 GB, free: 8.305 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002307/0.4901, allocations: 72.62 kB / 0.5806 GB, free: 8.234 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01529/0.5054, allocations: 5.489 MB / 0.5859 GB, free: 2.762 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.508e-05/0.5055, allocations: 0 / 0.5859 GB, free: 2.762 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005425/0.506, allocations: 410 kB / 0.5863 GB, free: 2.316 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.553e-05/0.5061, allocations: 17.2 kB / 0.5863 GB, free: 2.301 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.966e-05/0.5062, allocations: 15.81 kB / 0.5864 GB, free: 2.285 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003926/0.5066, allocations: 242.2 kB / 0.5866 GB, free: 2.008 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.5066, allocations: 0 / 0.5866 GB, free: 2.008 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.772e-05/0.5066, allocations: 7.906 kB / 0.5866 GB, free: 2 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.606e-05/0.5067, allocations: 16 kB / 0.5866 GB, free: 1.984 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.489e-05/0.5068, allocations: 53.61 kB / 0.5867 GB, free: 1.926 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.5068, allocations: 0 / 0.5867 GB, free: 1.926 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.5069, allocations: 0 / 0.5867 GB, free: 1.926 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.5069, allocations: 7.938 kB / 0.5867 GB, free: 1.918 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004379/0.5073, allocations: 281.4 kB / 0.5869 GB, free: 1.605 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.5074, allocations: 54.69 kB / 0.587 GB, free: 1.543 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.031e-05/0.5075, allocations: 16.98 kB / 0.587 GB, free: 1.523 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.5075, allocations: 0 / 0.587 GB, free: 1.523 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.22e-05/0.5076, allocations: 63.34 kB / 0.5871 GB, free: 1.449 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.5076, allocations: 0 / 0.5871 GB, free: 1.449 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004189/0.508, allocations: 145.1 kB / 0.5872 GB, free: 1.301 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.5081, allocations: 51.41 kB / 0.5873 GB, free: 1.238 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002304/0.5083, allocations: 230 kB / 0.5875 GB, free: 1.004 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.5083, allocations: 29.7 kB / 0.5875 GB, free: 0.9688 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.295e-05/0.5084, allocations: 92.88 kB / 0.5876 GB, free: 0.875 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.023e-05/0.5085, allocations: 23.66 kB / 0.5876 GB, free: 0.8516 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-06/0.5085, allocations: 0 / 0.5876 GB, free: 0.8516 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.5086, allocations: 326.8 kB / 0.5879 GB, free: 0.5234 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.659e-05/0.5087, allocations: 23.94 kB / 0.588 GB, free: 0.5 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.877e-05/0.5087, allocations: 37.66 kB / 0.588 GB, free: 468 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.369e-05/0.5088, allocations: 23.98 kB / 0.588 GB, free: 444 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.12e-07/0.5088, allocations: 0 / 0.588 GB, free: 444 kB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001417/0.5089, allocations: 89.5 kB / 0.5881 GB, free: 348 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.5089, allocations: 4 kB / 0.5881 GB, free: 344 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.5089, allocations: 3.938 kB / 0.5881 GB, free: 340 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.509, allocations: 0 / 0.5881 GB, free: 340 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.5091, allocations: 23.89 kB / 0.5881 GB, free: 316 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.5091, allocations: 160 / 0.5881 GB, free: 316 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.394e-05/0.5091, allocations: 12.03 kB / 0.5881 GB, free: 304 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.5092, allocations: 3.984 kB / 0.5881 GB, free: 300 kB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 8.706e-05/0.5093, allocations: 105 kB / 0.5882 GB, free: 188 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.006e-05/0.5093, allocations: 19.8 kB / 0.5883 GB, free: 168 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002094/0.5095, allocations: 99.02 kB / 0.5884 GB, free: 60 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.5095, allocations: 0 / 0.5884 GB, free: 60 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.5095, allocations: 4 kB / 0.5884 GB, free: 56 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.5095, allocations: 7.891 kB / 0.5884 GB, free: 48 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004276/0.51, allocations: 391.9 kB / 0.5887 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.51, allocations: 0 / 0.5887 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.569e-05/0.51, allocations: 16.17 kB / 0.5888 GB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.51, allocations: 7.844 kB / 0.5888 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.5101, allocations: 4 kB / 0.5888 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.5101, allocations: 0 / 0.5888 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.5101, allocations: 4 kB / 0.5888 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001961/0.5103, allocations: 210.1 kB / 0.589 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.568e-05/0.5104, allocations: 104.9 kB / 0.5891 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.011e-05/0.5104, allocations: 0 / 0.5891 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.341e-05/0.5105, allocations: 7.906 kB / 0.5891 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.492e-05/0.5105, allocations: 8.359 kB / 0.5891 GB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-06/0.5106, allocations: 4 kB / 0.5891 GB, free: 15.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.000164/0.5107, allocations: 192.2 kB / 0.5893 GB, free: 15.03 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002717/0.511, allocations: 31.94 kB / 0.5893 GB, free: 15 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007136/0.5117, allocations: 359.9 kB / 0.5897 GB, free: 14.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001289/0.5119, allocations: 55.92 kB / 0.5897 GB, free: 14.67 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.5119, allocations: 0 / 0.5897 GB, free: 14.67 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.226e-05/0.5119, allocations: 28 kB / 0.5897 GB, free: 14.64 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.5122, allocations: 31.75 kB / 0.5898 GB, free: 14.61 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004591/0.5127, allocations: 220.6 kB / 0.59 GB, free: 14.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003283/0.513, allocations: 0.7463 MB / 0.5907 GB, free: 13.59 MB / 410.7 MB Notification: Performance of SimCode: time 2.31e-07/0.513, allocations: 0 / 0.5907 GB, free: 13.59 MB / 410.7 MB Notification: Performance of Templates: time 0.004131/0.5172, allocations: 1.744 MB / 0.5924 GB, free: 11.86 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches