Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,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.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,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.Test47") [: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.001538/0.001538, allocations: 179.6 kB / 8.521 MB, free: 1.844 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.307/1.307, allocations: 221.4 MB / 230.3 MB, free: 7.762 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.001074/0.001074, allocations: 80.73 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.1891/0.1891, allocations: 44.14 MB / 376.1 MB, free: 3.234 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 8.476e-06/8.496e-06, allocations: 4.219 kB / 444.1 MB, free: 15.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1168, allocations: 61.91 MB / 0.4941 GB, free: 1.609 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3454/0.4622, allocations: 88.48 MB / 0.5805 GB, free: 8.383 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002383/0.4625, allocations: 71.97 kB / 0.5806 GB, free: 8.312 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01598/0.4785, allocations: 5.494 MB / 0.5859 GB, free: 2.84 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.226e-05/0.4786, allocations: 0 / 0.5859 GB, free: 2.84 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.0005143/0.4791, allocations: 414 kB / 0.5863 GB, free: 2.391 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.96e-05/0.4792, allocations: 13.22 kB / 0.5864 GB, free: 2.379 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.453e-05/0.4793, allocations: 15.81 kB / 0.5864 GB, free: 2.363 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003629/0.4796, allocations: 238.2 kB / 0.5866 GB, free: 2.09 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.4797, allocations: 0 / 0.5866 GB, free: 2.09 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.739e-05/0.4797, allocations: 7.906 kB / 0.5866 GB, free: 2.082 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.827e-05/0.4798, allocations: 12 kB / 0.5866 GB, free: 2.07 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.297e-05/0.4799, allocations: 57.61 kB / 0.5867 GB, free: 2.008 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.4799, allocations: 0 / 0.5867 GB, free: 2.008 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.4799, allocations: 0 / 0.5867 GB, free: 2.008 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.4799, allocations: 4 kB / 0.5867 GB, free: 2.004 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004367/0.4804, allocations: 289.3 kB / 0.587 GB, free: 1.684 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.4805, allocations: 46.69 kB / 0.587 GB, free: 1.629 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.197e-05/0.4805, allocations: 16.98 kB / 0.587 GB, free: 1.609 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.503e-05/0.4806, allocations: 0 / 0.587 GB, free: 1.609 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.89e-05/0.4807, allocations: 71.33 kB / 0.5871 GB, free: 1.527 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.4807, allocations: 4 kB / 0.5871 GB, free: 1.523 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005332/0.4812, allocations: 141.1 kB / 0.5872 GB, free: 1.379 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.11e-05/0.4813, allocations: 51.41 kB / 0.5873 GB, free: 1.316 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000244/0.4816, allocations: 226 kB / 0.5875 GB, free: 1.086 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.4816, allocations: 29.7 kB / 0.5875 GB, free: 1.051 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.214e-05/0.4816, allocations: 92.12 kB / 0.5876 GB, free: 0.957 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.238e-05/0.4817, allocations: 27.59 kB / 0.5876 GB, free: 0.9297 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-06/0.4817, allocations: 0 / 0.5876 GB, free: 0.9297 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.4818, allocations: 330.8 kB / 0.5879 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.398e-05/0.4819, allocations: 20 kB / 0.588 GB, free: 0.5781 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.471e-05/0.4819, allocations: 34.47 kB / 0.588 GB, free: 0.5391 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.713e-05/0.482, allocations: 19.98 kB / 0.588 GB, free: 0.5195 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.482, allocations: 0 / 0.588 GB, free: 0.5195 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001546/0.4821, allocations: 101.6 kB / 0.5881 GB, free: 424 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.4822, allocations: 4 kB / 0.5881 GB, free: 420 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.4822, allocations: 3.938 kB / 0.5881 GB, free: 416 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.4822, allocations: 0 / 0.5881 GB, free: 416 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.4823, allocations: 27.92 kB / 0.5881 GB, free: 388 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.4823, allocations: 0 / 0.5881 GB, free: 388 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.086e-05/0.4824, allocations: 4 kB / 0.5881 GB, free: 384 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.4824, allocations: 0 / 0.5881 GB, free: 384 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.57e-05/0.4825, allocations: 105 kB / 0.5882 GB, free: 272 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.652e-05/0.4825, allocations: 19.8 kB / 0.5883 GB, free: 252 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002208/0.4828, allocations: 103 kB / 0.5884 GB, free: 140 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.4828, allocations: 4 kB / 0.5884 GB, free: 136 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.4828, allocations: 4 kB / 0.5884 GB, free: 132 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-06/0.4828, allocations: 7.891 kB / 0.5884 GB, free: 124 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004528/0.4833, allocations: 391.8 kB / 0.5888 GB, free: 15.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.4833, allocations: 0 / 0.5888 GB, free: 15.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.341e-05/0.4833, allocations: 12 kB / 0.5888 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.4833, allocations: 3.906 kB / 0.5888 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.4833, allocations: 3.938 kB / 0.5888 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.4834, allocations: 0 / 0.5888 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/0.4834, allocations: 11.97 kB / 0.5888 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002292/0.4836, allocations: 202.1 kB / 0.589 GB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.673e-05/0.4837, allocations: 100.9 kB / 0.5891 GB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.261e-05/0.4837, allocations: 4 kB / 0.5891 GB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.309e-05/0.4838, allocations: 3.906 kB / 0.5891 GB, free: 15.31 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.251e-05/0.4839, allocations: 11.98 kB / 0.5891 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.689e-06/0.4839, allocations: 7.938 kB / 0.5891 GB, free: 15.29 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001682/0.4841, allocations: 188.2 kB / 0.5893 GB, free: 15.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002785/0.4843, allocations: 39.92 kB / 0.5893 GB, free: 15.07 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.0008587/0.4852, allocations: 351.8 kB / 0.5897 GB, free: 14.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001509/0.4854, allocations: 51.94 kB / 0.5897 GB, free: 14.75 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4854, allocations: 0 / 0.5897 GB, free: 14.75 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.532e-05/0.4854, allocations: 24 kB / 0.5897 GB, free: 14.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003077/0.4858, allocations: 35.75 kB / 0.5898 GB, free: 14.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004939/0.4863, allocations: 216.8 kB / 0.59 GB, free: 14.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000345/0.4866, allocations: 0.7422 MB / 0.5907 GB, free: 13.68 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4866, allocations: 0 / 0.5907 GB, free: 13.68 MB / 410.7 MB Notification: Performance of Templates: time 0.004571/0.4912, allocations: 1.755 MB / 0.5924 GB, free: 11.94 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches