Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,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.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,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.Test6") [: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.001042/0.001042, allocations: 183.2 kB / 8.521 MB, free: 1.832 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.248/1.248, allocations: 221.4 MB / 230.3 MB, free: 7.652 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.001153/0.001152, allocations: 87.86 kB / 281.2 MB, free: 5.473 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.1703/0.1703, allocations: 44.14 MB / 376.1 MB, free: 3.238 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 8.736e-06/8.766e-06, allocations: 4.219 kB / 444 MB, free: 15.62 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1072, allocations: 61.91 MB / 0.4941 GB, free: 1.633 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2743/0.3816, allocations: 88.49 MB / 0.5805 GB, free: 8.273 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001818/0.3818, allocations: 73 kB / 0.5806 GB, free: 8.238 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01545/0.3973, allocations: 5.521 MB / 0.586 GB, free: 2.734 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.22e-05/0.3973, allocations: 0 / 0.586 GB, free: 2.734 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.0004494/0.3978, allocations: 422 kB / 0.5864 GB, free: 2.277 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.3978, allocations: 17.22 kB / 0.5864 GB, free: 2.262 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.587e-05/0.3979, allocations: 11.81 kB / 0.5864 GB, free: 2.25 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000324/0.3982, allocations: 227.7 kB / 0.5866 GB, free: 1.984 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.3982, allocations: 4 kB / 0.5866 GB, free: 1.98 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/0.3983, allocations: 0 / 0.5866 GB, free: 1.98 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.779e-05/0.3984, allocations: 19.98 kB / 0.5866 GB, free: 1.961 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.405e-05/0.3984, allocations: 53.62 kB / 0.5867 GB, free: 1.902 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.3985, allocations: 3.984 kB / 0.5867 GB, free: 1.898 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.3985, allocations: 0 / 0.5867 GB, free: 1.898 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.3985, allocations: 3.984 kB / 0.5867 GB, free: 1.895 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003722/0.3989, allocations: 293.3 kB / 0.587 GB, free: 1.57 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.399, allocations: 46.69 kB / 0.587 GB, free: 1.516 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.639e-05/0.399, allocations: 16.98 kB / 0.587 GB, free: 1.496 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.3991, allocations: 4 kB / 0.587 GB, free: 1.492 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.281e-05/0.3991, allocations: 63.34 kB / 0.5871 GB, free: 1.418 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.3992, allocations: 0 / 0.5871 GB, free: 1.418 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004485/0.3996, allocations: 157 kB / 0.5873 GB, free: 1.258 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/0.3997, allocations: 51.41 kB / 0.5873 GB, free: 1.195 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002462/0.3999, allocations: 242.9 kB / 0.5875 GB, free: 0.9531 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.3999, allocations: 25.7 kB / 0.5876 GB, free: 0.9219 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.251e-05/0.4, allocations: 96.12 kB / 0.5876 GB, free: 0.8242 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.685e-05/0.4, allocations: 19.72 kB / 0.5877 GB, free: 0.8047 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.137e-06/0.4, allocations: 4 kB / 0.5877 GB, free: 0.8008 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.4002, allocations: 334.7 kB / 0.588 GB, free: 476 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.616e-05/0.4002, allocations: 23.94 kB / 0.588 GB, free: 452 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.312e-05/0.4002, allocations: 29.72 kB / 0.588 GB, free: 416 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.919e-05/0.4003, allocations: 19.98 kB / 0.5881 GB, free: 396 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.4003, allocations: 4 kB / 0.5881 GB, free: 392 kB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001441/0.4005, allocations: 89.5 kB / 0.5881 GB, free: 296 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.4005, allocations: 9.125 kB / 0.5882 GB, free: 288 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-06/0.4005, allocations: 3.938 kB / 0.5882 GB, free: 284 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.4005, allocations: 192 / 0.5882 GB, free: 284 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.345e-05/0.4006, allocations: 19.98 kB / 0.5882 GB, free: 264 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.437e-06/0.4006, allocations: 3.938 kB / 0.5882 GB, free: 260 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.306e-05/0.4007, allocations: 7.938 kB / 0.5882 GB, free: 252 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.4007, allocations: 0 / 0.5882 GB, free: 252 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 7.843e-05/0.4008, allocations: 111.7 kB / 0.5883 GB, free: 136 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.872e-05/0.4008, allocations: 19.8 kB / 0.5883 GB, free: 116 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000217/0.401, allocations: 107 kB / 0.5884 GB, free: 0 / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-05/0.4011, allocations: 4.047 kB / 0.5884 GB, free: 15.99 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.4011, allocations: 0 / 0.5884 GB, free: 15.99 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.4011, allocations: 3.938 kB / 0.5884 GB, free: 15.99 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004085/0.4015, allocations: 395.8 kB / 0.5888 GB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.4015, allocations: 0 / 0.5888 GB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.49e-05/0.4015, allocations: 12 kB / 0.5888 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.4016, allocations: 8.031 kB / 0.5888 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.4016, allocations: 3.938 kB / 0.5888 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.4016, allocations: 0 / 0.5888 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.4016, allocations: 3.984 kB / 0.5888 GB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000195/0.4018, allocations: 206 kB / 0.589 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.782e-05/0.4019, allocations: 100.9 kB / 0.5891 GB, free: 15.19 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.24e-05/0.4019, allocations: 4 kB / 0.5891 GB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.794e-05/0.402, allocations: 11.98 kB / 0.5891 GB, free: 15.17 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.313e-05/0.4021, allocations: 4 kB / 0.5891 GB, free: 15.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.4021, allocations: 7.906 kB / 0.5892 GB, free: 15.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001705/0.4022, allocations: 192.2 kB / 0.5893 GB, free: 14.97 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000269/0.4025, allocations: 32 kB / 0.5894 GB, free: 14.94 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.0006813/0.4032, allocations: 350.3 kB / 0.5897 GB, free: 14.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001242/0.4033, allocations: 63.91 kB / 0.5898 GB, free: 14.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.4034, allocations: 0 / 0.5898 GB, free: 14.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.977e-05/0.4034, allocations: 24 kB / 0.5898 GB, free: 14.59 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002673/0.4037, allocations: 27.77 kB / 0.5898 GB, free: 14.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004753/0.4042, allocations: 232.7 kB / 0.59 GB, free: 14.31 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003308/0.4045, allocations: 0.7465 MB / 0.5908 GB, free: 13.54 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4045, allocations: 0 / 0.5908 GB, free: 13.54 MB / 410.7 MB Notification: Performance of Templates: time 0.004295/0.4088, allocations: 1.773 MB / 0.5925 GB, free: 11.78 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches