Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,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.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,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.Test46") [: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.0009382/0.0009382, allocations: 178.5 kB / 8.519 MB, free: 1.828 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.318/1.318, allocations: 221.4 MB / 230.3 MB, free: 7.715 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.0008971/0.000897, allocations: 84.67 kB / 281.2 MB, free: 5.465 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.1751/0.1751, allocations: 44.15 MB / 376.1 MB, free: 3.238 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 9.939e-06/9.969e-06, allocations: 4.219 kB / 444 MB, free: 15.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1277, allocations: 61.91 MB / 0.4941 GB, free: 1.629 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3309/0.4587, allocations: 88.48 MB / 0.5805 GB, free: 8.41 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002765/0.459, allocations: 75.41 kB / 0.5806 GB, free: 8.34 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01664/0.4757, allocations: 5.479 MB / 0.5859 GB, free: 2.879 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.843e-05/0.4758, allocations: 4 kB / 0.5859 GB, free: 2.875 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.000534/0.4763, allocations: 410 kB / 0.5863 GB, free: 2.43 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.4763, allocations: 13.22 kB / 0.5863 GB, free: 2.418 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.604e-05/0.4764, allocations: 15.81 kB / 0.5863 GB, free: 2.402 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003531/0.4768, allocations: 234.2 kB / 0.5866 GB, free: 2.133 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.4768, allocations: 4 kB / 0.5866 GB, free: 2.129 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.369e-05/0.4768, allocations: 3.906 kB / 0.5866 GB, free: 2.125 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.488e-05/0.4769, allocations: 23.98 kB / 0.5866 GB, free: 2.102 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.228e-05/0.477, allocations: 49.62 kB / 0.5867 GB, free: 2.047 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.477, allocations: 3.984 kB / 0.5867 GB, free: 2.043 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.4771, allocations: 0 / 0.5867 GB, free: 2.043 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.4771, allocations: 3.938 kB / 0.5867 GB, free: 2.039 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004347/0.4775, allocations: 289.4 kB / 0.5869 GB, free: 1.719 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.4776, allocations: 46.7 kB / 0.587 GB, free: 1.664 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.609e-05/0.4777, allocations: 24.97 kB / 0.587 GB, free: 1.637 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/0.4777, allocations: 0 / 0.587 GB, free: 1.637 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.941e-05/0.4778, allocations: 67.33 kB / 0.5871 GB, free: 1.559 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 9.92e-07/0.4778, allocations: 0 / 0.5871 GB, free: 1.559 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004715/0.4783, allocations: 141.1 kB / 0.5872 GB, free: 1.414 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.4784, allocations: 55.41 kB / 0.5873 GB, free: 1.348 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002595/0.4786, allocations: 222 kB / 0.5875 GB, free: 1.121 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.4787, allocations: 25.7 kB / 0.5875 GB, free: 1.09 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.033e-05/0.4787, allocations: 100.1 kB / 0.5876 GB, free: 0.9883 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.216e-05/0.4788, allocations: 23.64 kB / 0.5876 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.689e-06/0.4788, allocations: 0 / 0.5876 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.4789, allocations: 326.8 kB / 0.5879 GB, free: 0.6367 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.325e-05/0.479, allocations: 23.94 kB / 0.5879 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.907e-05/0.479, allocations: 38.45 kB / 0.588 GB, free: 0.5703 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.041e-05/0.4791, allocations: 16 kB / 0.588 GB, free: 0.5547 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/0.4791, allocations: 0 / 0.588 GB, free: 0.5547 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001732/0.4793, allocations: 97.48 kB / 0.5881 GB, free: 464 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.4793, allocations: 4.188 kB / 0.5881 GB, free: 460 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.4793, allocations: 0 / 0.5881 GB, free: 460 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.4793, allocations: 7.875 kB / 0.5881 GB, free: 452 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.4794, allocations: 19.91 kB / 0.5881 GB, free: 432 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.4794, allocations: 4.031 kB / 0.5881 GB, free: 428 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.579e-05/0.4795, allocations: 3.984 kB / 0.5881 GB, free: 424 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.4795, allocations: 4 kB / 0.5881 GB, free: 420 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 9.262e-05/0.4796, allocations: 109 kB / 0.5882 GB, free: 304 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.01e-05/0.4797, allocations: 11.81 kB / 0.5882 GB, free: 292 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002244/0.4799, allocations: 107 kB / 0.5883 GB, free: 176 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.4799, allocations: 0 / 0.5883 GB, free: 176 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.4799, allocations: 0 / 0.5883 GB, free: 176 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/0.4799, allocations: 7.906 kB / 0.5884 GB, free: 168 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005119/0.4804, allocations: 392.1 kB / 0.5887 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.4805, allocations: 0 / 0.5887 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.482e-05/0.4805, allocations: 8 kB / 0.5887 GB, free: 15.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.443e-06/0.4805, allocations: 11.84 kB / 0.5887 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.4805, allocations: 3.984 kB / 0.5888 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.4805, allocations: 0 / 0.5888 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.4806, allocations: 80 / 0.5888 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002269/0.4808, allocations: 218.1 kB / 0.589 GB, free: 15.47 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.734e-05/0.4809, allocations: 96.92 kB / 0.5891 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.207e-05/0.4809, allocations: 0 / 0.5891 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.481, allocations: 11.89 kB / 0.5891 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.408e-05/0.4811, allocations: 8.188 kB / 0.5891 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.4811, allocations: 11.98 kB / 0.5891 GB, free: 15.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001791/0.4813, allocations: 192.2 kB / 0.5893 GB, free: 15.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003063/0.4816, allocations: 31.94 kB / 0.5893 GB, free: 15.11 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.0008829/0.4825, allocations: 351.6 kB / 0.5896 GB, free: 14.84 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001467/0.4826, allocations: 55.92 kB / 0.5897 GB, free: 14.79 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4827, allocations: 0 / 0.5897 GB, free: 14.79 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.517e-05/0.4827, allocations: 28 kB / 0.5897 GB, free: 14.76 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/0.483, allocations: 27.77 kB / 0.5897 GB, free: 14.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005288/0.4836, allocations: 216.7 kB / 0.5899 GB, free: 14.49 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003868/0.484, allocations: 0.7385 MB / 0.5907 GB, free: 13.73 MB / 410.7 MB Notification: Performance of SimCode: time 2.61e-07/0.484, allocations: 0 / 0.5907 GB, free: 13.73 MB / 410.7 MB Notification: Performance of Templates: time 0.004887/0.4889, allocations: 1.76 MB / 0.5924 GB, free: 11.98 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches