Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,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.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,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.Test60") [: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.001467/0.001466, allocations: 179.3 kB / 8.516 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.314/1.314, allocations: 221.4 MB / 230.3 MB, free: 7.688 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.0008948/0.0008948, allocations: 93.84 kB / 281.2 MB, free: 5.492 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.1734/0.1734, allocations: 44.16 MB / 376.1 MB, free: 3.219 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 9.628e-06/9.658e-06, allocations: 4.219 kB / 444 MB, free: 15.58 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1235, allocations: 61.91 MB / 0.4941 GB, free: 1.598 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3619/0.4855, allocations: 88.76 MB / 0.5808 GB, free: 8.105 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000205/0.4858, allocations: 75.95 kB / 0.5808 GB, free: 8.031 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02136/0.5072, allocations: 7.604 MB / 0.5883 GB, free: 452 kB / 394.7 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.5072, allocations: 3.938 kB / 0.5883 GB, free: 448 kB / 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.0005023/0.5077, allocations: 419.3 kB / 0.5887 GB, free: 15.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.5078, allocations: 17.22 kB / 0.5887 GB, free: 15.97 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.337e-05/0.5078, allocations: 11.91 kB / 0.5887 GB, free: 15.96 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000279/0.5081, allocations: 198.9 kB / 0.5889 GB, free: 15.72 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.5081, allocations: 3.938 kB / 0.5889 GB, free: 15.72 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.5082, allocations: 8 kB / 0.5889 GB, free: 15.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.294e-05/0.5082, allocations: 16 kB / 0.5889 GB, free: 15.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.5084, allocations: 71.3 kB / 0.589 GB, free: 15.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.5084, allocations: 0 / 0.589 GB, free: 15.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.5084, allocations: 0 / 0.589 GB, free: 15.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.5084, allocations: 4 kB / 0.589 GB, free: 15.61 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003299/0.5087, allocations: 269.4 kB / 0.5892 GB, free: 15.31 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.5089, allocations: 50.64 kB / 0.5893 GB, free: 15.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.023e-05/0.5089, allocations: 20.97 kB / 0.5893 GB, free: 15.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.5089, allocations: 3.938 kB / 0.5893 GB, free: 15.22 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.507e-05/0.509, allocations: 63.41 kB / 0.5894 GB, free: 15.15 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.509, allocations: 0 / 0.5894 GB, free: 15.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003685/0.5094, allocations: 125.3 kB / 0.5895 GB, free: 15.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.5095, allocations: 77.11 kB / 0.5896 GB, free: 14.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.5096, allocations: 147.2 kB / 0.5897 GB, free: 14.78 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.5096, allocations: 29.7 kB / 0.5897 GB, free: 14.74 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.963e-05/0.5097, allocations: 84.14 kB / 0.5898 GB, free: 14.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.977e-05/0.5097, allocations: 31.64 kB / 0.5899 GB, free: 14.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-06/0.5097, allocations: 0 / 0.5899 GB, free: 14.62 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.35e-05/0.5098, allocations: 322.8 kB / 0.5902 GB, free: 14.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.383e-05/0.5099, allocations: 20 kB / 0.5902 GB, free: 14.28 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.519e-05/0.5099, allocations: 34.58 kB / 0.5902 GB, free: 14.24 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.835e-05/0.51, allocations: 19.98 kB / 0.5902 GB, free: 14.22 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.51, allocations: 3.938 kB / 0.5902 GB, free: 14.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001366/0.5101, allocations: 93.61 kB / 0.5903 GB, free: 14.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.5101, allocations: 4 kB / 0.5903 GB, free: 14.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.5101, allocations: 4 kB / 0.5903 GB, free: 14.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.5102, allocations: 192 / 0.5903 GB, free: 14.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.534e-05/0.5103, allocations: 19.89 kB / 0.5904 GB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.5103, allocations: 7.875 kB / 0.5904 GB, free: 14.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.864e-05/0.5103, allocations: 4 kB / 0.5904 GB, free: 14.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.5103, allocations: 4 kB / 0.5904 GB, free: 14.07 MB / 410.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.367e-05/0.5104, allocations: 105 kB / 0.5905 GB, free: 13.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.137e-05/0.5104, allocations: 19.88 kB / 0.5905 GB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001931/0.5106, allocations: 106.2 kB / 0.5906 GB, free: 13.83 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.5107, allocations: 4 kB / 0.5906 GB, free: 13.83 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.5107, allocations: 0 / 0.5906 GB, free: 13.83 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.5107, allocations: 0 / 0.5906 GB, free: 13.83 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003485/0.511, allocations: 359.8 kB / 0.5909 GB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.511, allocations: 4 kB / 0.5909 GB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.245e-05/0.5111, allocations: 12.03 kB / 0.5909 GB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.5111, allocations: 0 / 0.5909 GB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.779e-06/0.5111, allocations: 192 / 0.5909 GB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.5111, allocations: 8 kB / 0.591 GB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.5111, allocations: 0 / 0.591 GB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001792/0.5113, allocations: 205.8 kB / 0.5912 GB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.773e-05/0.5114, allocations: 97 kB / 0.5912 GB, free: 13.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.783e-05/0.5114, allocations: 4 kB / 0.5912 GB, free: 13.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.171e-05/0.5115, allocations: 0 / 0.5912 GB, free: 13.06 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.033e-05/0.5115, allocations: 11.89 kB / 0.5913 GB, free: 13.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.5116, allocations: 8 kB / 0.5913 GB, free: 13.04 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.69e-05/0.5116, allocations: 113.7 kB / 0.5914 GB, free: 12.93 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002898/0.5119, allocations: 43.92 kB / 0.5914 GB, free: 12.89 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.0008166/0.5128, allocations: 381.5 kB / 0.5918 GB, free: 12.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001551/0.5129, allocations: 63.97 kB / 0.5918 GB, free: 12.54 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.5129, allocations: 0 / 0.5918 GB, free: 12.54 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.088e-05/0.513, allocations: 27.94 kB / 0.5919 GB, free: 12.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/0.5133, allocations: 22.02 kB / 0.5919 GB, free: 12.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003239/0.5136, allocations: 128.7 kB / 0.592 GB, free: 12.34 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002995/0.5139, allocations: 0.7232 MB / 0.5927 GB, free: 11.59 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5139, allocations: 0 / 0.5927 GB, free: 11.59 MB / 410.7 MB Notification: Performance of Templates: time 0.004281/0.5182, allocations: 1.831 MB / 0.5945 GB, free: 9.766 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches