Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,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.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,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.Test48") [: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.0009666/0.0009667, allocations: 174.8 kB / 8.518 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.245/1.245, allocations: 221.4 MB / 230.3 MB, free: 7.75 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.0008893/0.0008893, allocations: 88.67 kB / 281.2 MB, free: 5.48 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.1753/0.1753, allocations: 44.15 MB / 376.1 MB, free: 3.238 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.08e-05/1.112e-05, allocations: 4.219 kB / 444 MB, free: 15.62 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.131, allocations: 61.91 MB / 0.4941 GB, free: 1.637 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.355/0.486, allocations: 88.49 MB / 0.5805 GB, free: 8.422 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002321/0.4863, allocations: 71.97 kB / 0.5806 GB, free: 8.352 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01539/0.5017, allocations: 5.489 MB / 0.5859 GB, free: 2.883 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.542e-05/0.5017, allocations: 4 kB / 0.5859 GB, free: 2.879 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.0005576/0.5023, allocations: 410 kB / 0.5863 GB, free: 2.434 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.5024, allocations: 13.22 kB / 0.5864 GB, free: 2.422 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.746e-05/0.5024, allocations: 23.81 kB / 0.5864 GB, free: 2.398 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003836/0.5028, allocations: 230.2 kB / 0.5866 GB, free: 2.133 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.5028, allocations: 4 kB / 0.5866 GB, free: 2.129 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.5029, allocations: 7.906 kB / 0.5866 GB, free: 2.121 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.037e-05/0.503, allocations: 16 kB / 0.5866 GB, free: 2.105 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.5031, allocations: 49.67 kB / 0.5867 GB, free: 2.051 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.5031, allocations: 3.938 kB / 0.5867 GB, free: 2.047 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.5031, allocations: 4 kB / 0.5867 GB, free: 2.043 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.5032, allocations: 0 / 0.5867 GB, free: 2.043 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004711/0.5036, allocations: 281.3 kB / 0.5869 GB, free: 1.73 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.5038, allocations: 54.69 kB / 0.587 GB, free: 1.668 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.62e-05/0.5038, allocations: 20.98 kB / 0.587 GB, free: 1.645 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.5038, allocations: 3.984 kB / 0.587 GB, free: 1.641 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001056/0.5039, allocations: 67.33 kB / 0.5871 GB, free: 1.562 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.733e-06/0.504, allocations: 0 / 0.5871 GB, free: 1.562 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004467/0.5044, allocations: 141.1 kB / 0.5872 GB, free: 1.418 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.5045, allocations: 55.41 kB / 0.5873 GB, free: 1.352 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002444/0.5047, allocations: 226 kB / 0.5875 GB, free: 1.121 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.5047, allocations: 25.7 kB / 0.5875 GB, free: 1.09 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.295e-05/0.5048, allocations: 96.12 kB / 0.5876 GB, free: 0.9922 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.312e-05/0.5048, allocations: 23.66 kB / 0.5876 GB, free: 0.9688 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.959e-06/0.5048, allocations: 0 / 0.5876 GB, free: 0.9688 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.505, allocations: 330.8 kB / 0.5879 GB, free: 0.6367 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.326e-05/0.505, allocations: 12 kB / 0.588 GB, free: 0.625 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.575e-05/0.5051, allocations: 38.41 kB / 0.588 GB, free: 0.582 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.421e-05/0.5051, allocations: 28.05 kB / 0.588 GB, free: 0.5547 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-07/0.5051, allocations: 0 / 0.588 GB, free: 0.5547 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001411/0.5053, allocations: 89.69 kB / 0.5881 GB, free: 472 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.5053, allocations: 8 kB / 0.5881 GB, free: 464 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.5053, allocations: 3.938 kB / 0.5881 GB, free: 460 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.5053, allocations: 0 / 0.5881 GB, free: 460 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.5055, allocations: 27.83 kB / 0.5881 GB, free: 432 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.5055, allocations: 4 kB / 0.5881 GB, free: 428 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.932e-05/0.5055, allocations: 4.031 kB / 0.5881 GB, free: 424 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.789e-06/0.5055, allocations: 4 kB / 0.5882 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 7.719e-05/0.5056, allocations: 105 kB / 0.5883 GB, free: 308 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.439e-05/0.5057, allocations: 15.81 kB / 0.5883 GB, free: 292 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002049/0.5059, allocations: 103 kB / 0.5884 GB, free: 180 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.5059, allocations: 0 / 0.5884 GB, free: 180 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.5059, allocations: 0 / 0.5884 GB, free: 180 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.5059, allocations: 11.89 kB / 0.5884 GB, free: 168 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004749/0.5064, allocations: 395.9 kB / 0.5888 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.5064, allocations: 192 / 0.5888 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.4e-05/0.5064, allocations: 12 kB / 0.5888 GB, free: 15.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.5065, allocations: 3.906 kB / 0.5888 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.5065, allocations: 7.938 kB / 0.5888 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.5065, allocations: 0 / 0.5888 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.5065, allocations: 0 / 0.5888 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002049/0.5067, allocations: 210.1 kB / 0.589 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.256e-05/0.5068, allocations: 104.9 kB / 0.5891 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.255e-05/0.5068, allocations: 0 / 0.5891 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.5e-05/0.5069, allocations: 7.906 kB / 0.5891 GB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.778e-05/0.507, allocations: 3.984 kB / 0.5891 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.377e-06/0.507, allocations: 4 kB / 0.5891 GB, free: 15.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001707/0.5072, allocations: 196.2 kB / 0.5893 GB, free: 15.15 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002648/0.5074, allocations: 35.92 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.0007157/0.5082, allocations: 349 kB / 0.5896 GB, free: 14.85 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001267/0.5083, allocations: 55.94 kB / 0.5897 GB, free: 14.79 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.5083, allocations: 0 / 0.5897 GB, free: 14.79 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.709e-05/0.5084, allocations: 31.98 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.0002785/0.5087, allocations: 29.8 kB / 0.5898 GB, free: 14.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004644/0.5091, allocations: 220.7 kB / 0.59 GB, free: 14.48 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003416/0.5095, allocations: 0.7424 MB / 0.5907 GB, free: 13.72 MB / 410.7 MB Notification: Performance of SimCode: time 2.91e-07/0.5095, allocations: 0 / 0.5907 GB, free: 13.72 MB / 410.7 MB Notification: Performance of Templates: time 0.004608/0.5141, allocations: 1.752 MB / 0.5924 GB, free: 11.98 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches