Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_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.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 180.5 kB / 14.15 MB, free: 1.176 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.259/1.259, allocations: 221.3 MB / 236 MB, free: 2.973 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.000772/0.0007721, allocations: 91.84 kB / 287 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1778/0.1778, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.206e-05/2.208e-05, allocations: 4.219 kB / 451.8 MB, free: 9.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1168, allocations: 61.92 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3646/0.4815, allocations: 88.04 MB / 0.5877 GB, free: 1.266 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001957/0.4817, allocations: 76.55 kB / 0.5878 GB, free: 1.191 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009205/0.4909, allocations: 3.716 MB / 0.5914 GB, free: 13.49 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.491, allocations: 0 / 0.5914 GB, free: 13.49 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.926e-06/0.491, allocations: 0 / 0.5914 GB, free: 13.49 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003041/0.4913, allocations: 370.3 kB / 0.5917 GB, free: 13.09 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.4913, allocations: 8.031 kB / 0.5917 GB, free: 13.08 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.54e-05/0.4914, allocations: 11.91 kB / 0.5918 GB, free: 13.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002441/0.4916, allocations: 191 kB / 0.5919 GB, free: 12.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.377e-06/0.4916, allocations: 4 kB / 0.5919 GB, free: 12.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.536e-05/0.4917, allocations: 7.938 kB / 0.592 GB, free: 12.83 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.4918, allocations: 59.36 kB / 0.592 GB, free: 12.76 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.4918, allocations: 0 / 0.592 GB, free: 12.76 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.4919, allocations: 0 / 0.592 GB, free: 12.76 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.4919, allocations: 4 kB / 0.592 GB, free: 12.75 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.24e-05/0.4919, allocations: 15.94 kB / 0.592 GB, free: 12.74 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004837/0.4924, allocations: 288.9 kB / 0.5923 GB, free: 12.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.499e-05/0.4925, allocations: 46.56 kB / 0.5923 GB, free: 12.35 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.865e-05/0.4926, allocations: 24.88 kB / 0.5924 GB, free: 12.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.4926, allocations: 3.938 kB / 0.5924 GB, free: 12.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.4926, allocations: 38.56 kB / 0.5924 GB, free: 12.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.4926, allocations: 0 / 0.5924 GB, free: 12.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004768/0.4931, allocations: 145.2 kB / 0.5926 GB, free: 12.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.25e-05/0.4932, allocations: 77.11 kB / 0.5926 GB, free: 12.03 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.4933, allocations: 125.7 kB / 0.5927 GB, free: 11.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.4934, allocations: 25.7 kB / 0.5928 GB, free: 11.87 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.637e-05/0.4934, allocations: 84.14 kB / 0.5928 GB, free: 11.79 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.635e-05/0.4935, allocations: 27.64 kB / 0.5929 GB, free: 11.76 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.928e-06/0.4935, allocations: 4 kB / 0.5929 GB, free: 11.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.4936, allocations: 318.8 kB / 0.5932 GB, free: 11.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.459e-05/0.4937, allocations: 23.98 kB / 0.5932 GB, free: 11.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.08e-05/0.4938, allocations: 33.78 kB / 0.5932 GB, free: 11.37 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.517e-05/0.4938, allocations: 23.94 kB / 0.5933 GB, free: 11.35 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.4938, allocations: 4 kB / 0.5933 GB, free: 11.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001426/0.494, allocations: 93.5 kB / 0.5934 GB, free: 11.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.494, allocations: 4.031 kB / 0.5934 GB, free: 11.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.494, allocations: 8.141 kB / 0.5934 GB, free: 11.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.494, allocations: 0 / 0.5934 GB, free: 11.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.4942, allocations: 23.97 kB / 0.5934 GB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.4942, allocations: 0 / 0.5934 GB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.876e-05/0.4942, allocations: 7.984 kB / 0.5934 GB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/0.4943, allocations: 8 kB / 0.5934 GB, free: 11.2 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 (8): * Single equations (assignments): 8 * 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.617e-05/0.4943, allocations: 104.9 kB / 0.5935 GB, free: 11.09 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.992e-05/0.4944, allocations: 11.91 kB / 0.5935 GB, free: 11.07 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001748/0.4946, allocations: 94.23 kB / 0.5936 GB, free: 10.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.4946, allocations: 0 / 0.5936 GB, free: 10.98 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.4946, allocations: 3.984 kB / 0.5936 GB, free: 10.98 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.4946, allocations: 0 / 0.5936 GB, free: 10.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003997/0.495, allocations: 374.3 kB / 0.594 GB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.495, allocations: 0 / 0.594 GB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.048e-05/0.4951, allocations: 23.98 kB / 0.594 GB, free: 10.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.4951, allocations: 4 kB / 0.594 GB, free: 10.53 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.4951, allocations: 3.938 kB / 0.594 GB, free: 10.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.4951, allocations: 0 / 0.594 GB, free: 10.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.4951, allocations: 0 / 0.594 GB, free: 10.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001591/0.4953, allocations: 187.7 kB / 0.5942 GB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.295e-05/0.4953, allocations: 85.02 kB / 0.5943 GB, free: 10.22 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.4954, allocations: 8 kB / 0.5943 GB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.269e-05/0.4954, allocations: 7.984 kB / 0.5943 GB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.069e-05/0.4955, allocations: 8 kB / 0.5943 GB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.4955, allocations: 0 / 0.5943 GB, free: 10.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001045/0.4956, allocations: 109.7 kB / 0.5944 GB, free: 10.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4956, allocations: 0 / 0.5944 GB, free: 10.09 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002424/0.4959, allocations: 31.92 kB / 0.5944 GB, free: 10.06 MB / 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 (7): * Single equations (assignments): 7 * 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.0008732/0.4967, allocations: 419 kB / 0.5948 GB, free: 9.758 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001436/0.4969, allocations: 55.92 kB / 0.5949 GB, free: 9.703 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.4969, allocations: 0 / 0.5949 GB, free: 9.703 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.27e-05/0.497, allocations: 23.98 kB / 0.5949 GB, free: 9.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002035/0.4972, allocations: 29.94 kB / 0.5949 GB, free: 9.652 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002853/0.4975, allocations: 114 kB / 0.595 GB, free: 9.516 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/0.4978, allocations: 0.7004 MB / 0.5957 GB, free: 8.789 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.356e-05/0.4978, allocations: 24.27 kB / 0.5957 GB, free: 8.766 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.953e-05/0.4979, allocations: 15.44 kB / 0.5957 GB, free: 8.75 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4979, allocations: 4 kB / 0.5958 GB, free: 8.746 MB / 410.7 MB Notification: Performance of Templates: time 0.003703/0.5016, allocations: 1.451 MB / 0.5972 GB, free: 7.293 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches