Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.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.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 182.6 kB / 18.09 MB, free: 3.73 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.215/1.215, allocations: 223.3 MB / 242.1 MB, free: 9.945 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006901/0.0006902, allocations: 96.02 kB / 293.3 MB, free: 10.54 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.2782/0.2782, allocations: 44.14 MB / 388.5 MB, free: 38.5 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003259/0.0003259, allocations: 16 kB / 461.1 MB, free: 1.316 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2696/0.2699, allocations: 61.89 MB / 0.5107 GB, free: 37.92 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0993/0.3692, allocations: 88.6 MB / 0.5973 GB, free: 6.461 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000211/0.3695, allocations: 79.94 kB / 0.5973 GB, free: 6.387 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01055/0.3801, allocations: 4.053 MB / 0.6013 GB, free: 2.328 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3801, allocations: 0 / 0.6013 GB, free: 2.328 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.3801, allocations: 4 kB / 0.6013 GB, free: 2.324 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.0005398/0.3807, allocations: 435 kB / 0.6017 GB, free: 1.848 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.3807, allocations: 12.03 kB / 0.6017 GB, free: 1.836 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.181e-05/0.3808, allocations: 8.844 kB / 0.6017 GB, free: 1.828 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002132/0.381, allocations: 192.2 kB / 0.6019 GB, free: 1.602 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.381, allocations: 12.31 kB / 0.6019 GB, free: 1.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.709e-05/0.381, allocations: 384 / 0.6019 GB, free: 1.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002485/0.3813, allocations: 95.92 kB / 0.602 GB, free: 1.484 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.3813, allocations: 4.188 kB / 0.602 GB, free: 1.48 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.3813, allocations: 11.94 kB / 0.602 GB, free: 1.469 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.3813, allocations: 0 / 0.602 GB, free: 1.469 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002892/0.3816, allocations: 91.91 kB / 0.6021 GB, free: 1.379 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004102/0.3821, allocations: 312.7 kB / 0.6024 GB, free: 1.023 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002144/0.3823, allocations: 82.47 kB / 0.6025 GB, free: 0.9336 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001606/0.3825, allocations: 60.94 kB / 0.6026 GB, free: 0.8711 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.3825, allocations: 0 / 0.6026 GB, free: 0.8711 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.3825, allocations: 34.56 kB / 0.6026 GB, free: 0.8281 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.3825, allocations: 0 / 0.6026 GB, free: 0.8281 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.00146/0.384, allocations: 476.8 kB / 0.603 GB, free: 364 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/0.384, allocations: 81.2 kB / 0.6031 GB, free: 264 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.3842, allocations: 162.5 kB / 0.6033 GB, free: 96 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.3842, allocations: 25.7 kB / 0.6033 GB, free: 64 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.715e-05/0.3843, allocations: 103.9 kB / 0.6034 GB, free: 15.96 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.883e-05/0.3843, allocations: 35.48 kB / 0.6034 GB, free: 15.92 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.133e-06/0.3843, allocations: 4 kB / 0.6034 GB, free: 15.92 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.774e-05/0.3844, allocations: 318.8 kB / 0.6037 GB, free: 15.6 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002727/0.3847, allocations: 91.92 kB / 0.6038 GB, free: 15.51 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002616/0.385, allocations: 109.6 kB / 0.6039 GB, free: 15.39 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005026/0.3855, allocations: 196.7 kB / 0.6041 GB, free: 15.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.3855, allocations: 0 / 0.6041 GB, free: 15.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000574/0.3861, allocations: 233.4 kB / 0.6043 GB, free: 14.96 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.3861, allocations: 4 kB / 0.6043 GB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3861, allocations: 0 / 0.6043 GB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.3861, allocations: 4 kB / 0.6044 GB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000204/0.3864, allocations: 47.95 kB / 0.6044 GB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.3864, allocations: 4 kB / 0.6044 GB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000146/0.3865, allocations: 40.28 kB / 0.6044 GB, free: 14.87 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.3865, allocations: 0 / 0.6044 GB, free: 14.87 MB / 426.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 () * Number of clocked 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.405e-05/0.3866, allocations: 118.4 kB / 0.6046 GB, free: 14.74 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.617e-05/0.3867, allocations: 15.89 kB / 0.6046 GB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006404/0.3873, allocations: 246.4 kB / 0.6048 GB, free: 14.48 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.3873, allocations: 4 kB / 0.6048 GB, free: 14.48 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.3874, allocations: 4 kB / 0.6048 GB, free: 14.48 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.3874, allocations: 7.922 kB / 0.6048 GB, free: 14.47 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008488/0.3882, allocations: 0.5256 MB / 0.6053 GB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3882, allocations: 0 / 0.6053 GB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001716/0.3884, allocations: 51.95 kB / 0.6054 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.3884, allocations: 3.938 kB / 0.6054 GB, free: 13.83 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.3884, allocations: 0 / 0.6054 GB, free: 13.83 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3884, allocations: 0 / 0.6054 GB, free: 13.83 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.3885, allocations: 4 kB / 0.6054 GB, free: 13.83 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005759/0.389, allocations: 331.2 kB / 0.6057 GB, free: 13.49 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.654e-05/0.3891, allocations: 84.95 kB / 0.6058 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.3891, allocations: 8 kB / 0.6058 GB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001671/0.3893, allocations: 39.95 kB / 0.6058 GB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.842e-05/0.3893, allocations: 7.984 kB / 0.6058 GB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-06/0.3894, allocations: 4 kB / 0.6058 GB, free: 13.33 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.017e-05/0.3895, allocations: 117.4 kB / 0.606 GB, free: 13.21 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3895, allocations: 4 kB / 0.606 GB, free: 13.21 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002615/0.3897, allocations: 36 kB / 0.606 GB, free: 13.18 MB / 426.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.0009121/0.3907, allocations: 465.1 kB / 0.6064 GB, free: 12.89 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006036/0.3913, allocations: 207.7 kB / 0.6066 GB, free: 12.69 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3913, allocations: 0 / 0.6066 GB, free: 12.69 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002728/0.3916, allocations: 103.9 kB / 0.6067 GB, free: 12.59 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003007/0.3919, allocations: 29.75 kB / 0.6068 GB, free: 12.56 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004489/0.3923, allocations: 221.2 kB / 0.607 GB, free: 12.31 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/0.3926, allocations: 0.7042 MB / 0.6077 GB, free: 11.58 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.868e-05/0.3927, allocations: 12.42 kB / 0.6077 GB, free: 11.57 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.914e-05/0.3927, allocations: 15.44 kB / 0.6077 GB, free: 11.55 MB / 426.7 MB Notification: Performance of SimCode: time 2.8e-07/0.3928, allocations: 4 kB / 0.6077 GB, free: 11.55 MB / 426.7 MB Notification: Performance of Templates: time 0.00433/0.3971, allocations: 1.886 MB / 0.6095 GB, free: 9.68 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches