Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4") [: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.001089/0.001089, allocations: 191.1 kB / 8.524 MB, free: 1.758 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.388/1.388, allocations: 221.4 MB / 230.3 MB, free: 3.25 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.0008824/0.0008823, allocations: 91.38 kB / 281.2 MB, free: 1.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3588/0.3588, allocations: 44.14 MB / 376.1 MB, free: 43.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.767e-06/8.807e-06, allocations: 3.938 kB / 444 MB, free: 11.66 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.3451, allocations: 61.9 MB / 0.4941 GB, free: 42.38 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.136/0.4812, allocations: 88.15 MB / 0.5802 GB, free: 13.16 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000225/0.4815, allocations: 79.89 kB / 0.5802 GB, free: 13.08 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.01665/0.4982, allocations: 7.466 MB / 0.5875 GB, free: 5.645 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.144e-05/0.4982, allocations: 8 kB / 0.5875 GB, free: 5.637 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005039/0.4987, allocations: 0.5508 MB / 0.5881 GB, free: 5.043 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.4988, allocations: 9.531 kB / 0.5881 GB, free: 5.035 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.006e-05/0.4989, allocations: 43.44 kB / 0.5881 GB, free: 4.992 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004376/0.4993, allocations: 323.3 kB / 0.5884 GB, free: 4.637 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.4993, allocations: 7.984 kB / 0.5884 GB, free: 4.629 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.097e-05/0.4994, allocations: 0 / 0.5884 GB, free: 4.629 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.09e-05/0.4994, allocations: 31.84 kB / 0.5885 GB, free: 4.598 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.989e-05/0.4995, allocations: 49.69 kB / 0.5885 GB, free: 4.543 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.4996, allocations: 0 / 0.5885 GB, free: 4.543 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.4996, allocations: 3.906 kB / 0.5885 GB, free: 4.539 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.4996, allocations: 0 / 0.5885 GB, free: 4.539 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006041/0.5002, allocations: 417.2 kB / 0.5889 GB, free: 4.094 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001544/0.5004, allocations: 37.64 kB / 0.589 GB, free: 4.051 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.635e-05/0.5004, allocations: 12.86 kB / 0.589 GB, free: 4.035 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.5005, allocations: 0 / 0.589 GB, free: 4.035 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.5005, allocations: 42.56 kB / 0.589 GB, free: 3.984 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.5005, allocations: 0 / 0.589 GB, free: 3.984 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004433/0.5009, allocations: 188.2 kB / 0.5892 GB, free: 3.793 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.501, allocations: 55.34 kB / 0.5892 GB, free: 3.727 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/0.5021, allocations: 0.755 MB / 0.59 GB, free: 2.965 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.5021, allocations: 25.7 kB / 0.59 GB, free: 2.934 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.37e-05/0.5022, allocations: 144 kB / 0.5901 GB, free: 2.789 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.121e-05/0.5022, allocations: 11.8 kB / 0.5901 GB, free: 2.777 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.778e-06/0.5022, allocations: 0 / 0.5901 GB, free: 2.777 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.5023, allocations: 362.8 kB / 0.5905 GB, free: 2.414 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.503e-05/0.5024, allocations: 8 kB / 0.5905 GB, free: 2.406 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.126e-05/0.5024, allocations: 12 kB / 0.5905 GB, free: 2.395 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.359e-05/0.5024, allocations: 19.89 kB / 0.5905 GB, free: 2.375 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-07/0.5024, allocations: 0 / 0.5905 GB, free: 2.375 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001298/0.5026, allocations: 97.22 kB / 0.5906 GB, free: 2.273 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.5026, allocations: 4 kB / 0.5906 GB, free: 2.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.5026, allocations: 4 kB / 0.5906 GB, free: 2.266 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.5026, allocations: 3.906 kB / 0.5906 GB, free: 2.262 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.469e-05/0.5027, allocations: 15.98 kB / 0.5907 GB, free: 2.246 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.5027, allocations: 1.484 kB / 0.5907 GB, free: 2.246 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.394e-05/0.5028, allocations: 11.94 kB / 0.5907 GB, free: 2.234 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.5028, allocations: 0 / 0.5907 GB, free: 2.234 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 5.748e-05/0.5029, allocations: 105.9 kB / 0.5908 GB, free: 2.125 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.313e-05/0.5029, allocations: 47.42 kB / 0.5908 GB, free: 2.078 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002026/0.5032, allocations: 122.7 kB / 0.5909 GB, free: 1.953 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.5032, allocations: 0 / 0.5909 GB, free: 1.953 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.5032, allocations: 0 / 0.5909 GB, free: 1.953 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.5032, allocations: 7.875 kB / 0.5909 GB, free: 1.945 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006824/0.5039, allocations: 0.5496 MB / 0.5915 GB, free: 1.352 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.5039, allocations: 4 kB / 0.5915 GB, free: 1.348 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.143e-05/0.504, allocations: 15.98 kB / 0.5915 GB, free: 1.332 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.504, allocations: 0 / 0.5915 GB, free: 1.332 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.504, allocations: 384 / 0.5915 GB, free: 1.332 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.504, allocations: 0 / 0.5915 GB, free: 1.332 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.504, allocations: 4 kB / 0.5915 GB, free: 1.328 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000202/0.5042, allocations: 202.9 kB / 0.5917 GB, free: 1.113 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001903/0.5044, allocations: 156.6 kB / 0.5918 GB, free: 0.9414 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.375e-05/0.5045, allocations: 0 / 0.5918 GB, free: 0.9414 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.5046, allocations: 15.89 kB / 0.5919 GB, free: 0.9258 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.581e-05/0.5046, allocations: 3.938 kB / 0.5919 GB, free: 0.9219 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.697e-06/0.5047, allocations: 8 kB / 0.5919 GB, free: 0.9141 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0006773/0.5053, allocations: 0.6082 MB / 0.5925 GB, free: 316 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003134/0.5057, allocations: 55.94 kB / 0.5925 GB, free: 260 kB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0009017/0.5066, allocations: 301.7 kB / 0.5928 GB, free: 40 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001599/0.5067, allocations: 31.98 kB / 0.5928 GB, free: 8 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.5068, allocations: 0 / 0.5928 GB, free: 8 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.221e-05/0.5068, allocations: 24.17 kB / 0.5929 GB, free: 15.98 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003685/0.5072, allocations: 22.97 kB / 0.5929 GB, free: 15.96 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/0.5085, allocations: 0.7036 MB / 0.5936 GB, free: 15.23 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005878/0.5091, allocations: 0.8549 MB / 0.5944 GB, free: 14.35 MB / 426.7 MB Notification: Performance of SimCode: time 6.01e-07/0.5091, allocations: 0 / 0.5944 GB, free: 14.35 MB / 426.7 MB Notification: Performance of Templates: time 0.006349/0.5155, allocations: 2.217 MB / 0.5966 GB, free: 12.13 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches