Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,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.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,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.Test17") [: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.0009477/0.0009477, allocations: 184.5 kB / 8.519 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.243/1.243, allocations: 221.4 MB / 230.3 MB, free: 7.707 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.001341/0.001341, allocations: 88.61 kB / 281.2 MB, free: 5.512 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.1799/0.1799, allocations: 44.15 MB / 376.1 MB, free: 3.238 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.046e-05/1.05e-05, allocations: 3.938 kB / 444.1 MB, free: 15.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1312, allocations: 61.9 MB / 0.4941 GB, free: 1.613 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3556/0.4868, allocations: 88.48 MB / 0.5805 GB, free: 8.406 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002112/0.487, allocations: 79.94 kB / 0.5806 GB, free: 8.328 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01475/0.5018, allocations: 5.133 MB / 0.5856 GB, free: 3.207 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.407e-05/0.5019, allocations: 8 kB / 0.5856 GB, free: 3.199 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.0004637/0.5023, allocations: 398 kB / 0.586 GB, free: 2.766 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.5024, allocations: 13.22 kB / 0.586 GB, free: 2.754 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.95e-05/0.5024, allocations: 7.906 kB / 0.586 GB, free: 2.746 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003119/0.5028, allocations: 215.6 kB / 0.5862 GB, free: 2.492 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.5028, allocations: 0 / 0.5862 GB, free: 2.492 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.067e-05/0.5028, allocations: 4 kB / 0.5862 GB, free: 2.488 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.283e-05/0.5029, allocations: 27.88 kB / 0.5862 GB, free: 2.461 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.728e-05/0.503, allocations: 53.67 kB / 0.5863 GB, free: 2.402 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.503, allocations: 0 / 0.5863 GB, free: 2.402 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.503, allocations: 0 / 0.5863 GB, free: 2.402 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.503, allocations: 0 / 0.5863 GB, free: 2.402 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003851/0.5034, allocations: 265.4 kB / 0.5865 GB, free: 2.105 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.5035, allocations: 58.61 kB / 0.5866 GB, free: 2.039 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.866e-05/0.5036, allocations: 20.98 kB / 0.5866 GB, free: 2.016 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.5036, allocations: 0 / 0.5866 GB, free: 2.016 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.673e-05/0.5037, allocations: 63.39 kB / 0.5867 GB, free: 1.941 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.5037, allocations: 0 / 0.5867 GB, free: 1.941 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.000422/0.5041, allocations: 129.3 kB / 0.5868 GB, free: 1.809 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.5042, allocations: 55.34 kB / 0.5869 GB, free: 1.742 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.5043, allocations: 159.4 kB / 0.587 GB, free: 1.582 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.5044, allocations: 29.7 kB / 0.587 GB, free: 1.547 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.642e-05/0.5044, allocations: 88.05 kB / 0.5871 GB, free: 1.457 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.807e-05/0.5045, allocations: 27.64 kB / 0.5871 GB, free: 1.43 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.569e-06/0.5045, allocations: 4 kB / 0.5871 GB, free: 1.426 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.5046, allocations: 318.8 kB / 0.5875 GB, free: 1.105 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.603e-05/0.5046, allocations: 20 kB / 0.5875 GB, free: 1.086 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.34e-05/0.5047, allocations: 34.47 kB / 0.5875 GB, free: 1.047 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.598e-05/0.5047, allocations: 27.97 kB / 0.5875 GB, free: 1.02 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.92e-07/0.5047, allocations: 0 / 0.5875 GB, free: 1.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001393/0.5049, allocations: 85.53 kB / 0.5876 GB, free: 0.9297 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.5049, allocations: 8 kB / 0.5876 GB, free: 0.9219 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.5049, allocations: 4.172 kB / 0.5876 GB, free: 0.918 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.5049, allocations: 3.906 kB / 0.5876 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.5051, allocations: 15.94 kB / 0.5876 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.5051, allocations: 4 kB / 0.5876 GB, free: 0.8945 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.654e-05/0.5052, allocations: 4.031 kB / 0.5877 GB, free: 0.8906 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.5052, allocations: 7.984 kB / 0.5877 GB, free: 0.8828 MB / 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.567e-05/0.5053, allocations: 112.9 kB / 0.5878 GB, free: 0.7656 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.052e-05/0.5053, allocations: 11.81 kB / 0.5878 GB, free: 0.7539 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000209/0.5055, allocations: 94.17 kB / 0.5879 GB, free: 0.6562 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.5055, allocations: 0 / 0.5879 GB, free: 0.6562 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.5055, allocations: 3.984 kB / 0.5879 GB, free: 0.6523 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.5055, allocations: 3.938 kB / 0.5879 GB, free: 0.6484 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003347/0.5059, allocations: 371.8 kB / 0.5882 GB, free: 244 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.5059, allocations: 0 / 0.5882 GB, free: 244 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.108e-05/0.5059, allocations: 8 kB / 0.5882 GB, free: 236 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.506, allocations: 3.938 kB / 0.5882 GB, free: 232 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.506, allocations: 4 kB / 0.5882 GB, free: 228 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.506, allocations: 0 / 0.5882 GB, free: 228 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.506, allocations: 3.984 kB / 0.5882 GB, free: 224 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001895/0.5062, allocations: 202.2 kB / 0.5884 GB, free: 15.99 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.634e-05/0.5063, allocations: 96.8 kB / 0.5885 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.973e-05/0.5063, allocations: 0 / 0.5885 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.482e-05/0.5064, allocations: 8 kB / 0.5885 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.463e-05/0.5065, allocations: 8.172 kB / 0.5886 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/0.5065, allocations: 4 kB / 0.5886 GB, free: 15.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001087/0.5066, allocations: 137.1 kB / 0.5887 GB, free: 15.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002744/0.5069, allocations: 23.94 kB / 0.5887 GB, free: 15.71 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.000746/0.5076, allocations: 344 kB / 0.589 GB, free: 15.45 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001402/0.5078, allocations: 59.92 kB / 0.5891 GB, free: 15.39 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5078, allocations: 0 / 0.5891 GB, free: 15.39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.44e-05/0.5079, allocations: 31.94 kB / 0.5891 GB, free: 15.36 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/0.5081, allocations: 23.89 kB / 0.5891 GB, free: 15.34 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003723/0.5085, allocations: 144.6 kB / 0.5893 GB, free: 15.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003094/0.5088, allocations: 0.7271 MB / 0.59 GB, free: 14.41 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5089, allocations: 0 / 0.59 GB, free: 14.41 MB / 410.7 MB Notification: Performance of Templates: time 0.004088/0.5129, allocations: 1.627 MB / 0.5916 GB, free: 12.79 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches