Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1D.Test3.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1D.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1D.Test3") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0027/0.002704, allocations: 351.3 kB / 15.95 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.859/3.859, allocations: 341.5 MB / 358.2 MB, free: 12.64 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.005066/0.005066, allocations: 217.1 kB / 397.9 MB, free: 4.977 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5321/0.5321, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007313/0.0007317, allocations: 16 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.1701, allocations: 48.71 MB / 0.6067 GB, free: 4.641 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test3): time 0.002735/0.1729, allocations: 1.212 MB / 0.6079 GB, free: 3.418 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007386/0.1737, allocations: 239.9 kB / 0.6082 GB, free: 3.18 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.843e-05/0.1738, allocations: 4 kB / 0.6082 GB, free: 3.176 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003144/0.1742, allocations: 63.84 kB / 0.6082 GB, free: 3.113 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000183/0.1744, allocations: 39.89 kB / 0.6083 GB, free: 3.074 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001693/0.1745, allocations: 31.91 kB / 0.6083 GB, free: 3.043 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001501/0.1747, allocations: 51.83 kB / 0.6083 GB, free: 2.992 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.1748, allocations: 19.98 kB / 0.6084 GB, free: 2.973 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.76e-05/0.1749, allocations: 19.92 kB / 0.6084 GB, free: 2.953 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/0.1751, allocations: 39.83 kB / 0.6084 GB, free: 2.914 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.1751, allocations: 0 / 0.6084 GB, free: 2.914 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.548e-05/0.1752, allocations: 23.98 kB / 0.6084 GB, free: 2.891 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.883e-05/0.1753, allocations: 15.98 kB / 0.6085 GB, free: 2.875 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.611e-05/0.1753, allocations: 33.64 kB / 0.6085 GB, free: 2.836 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001554/0.1755, allocations: 52.14 kB / 0.6085 GB, free: 2.785 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1755, allocations: 0 / 0.6085 GB, free: 2.785 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1755, allocations: 4 kB / 0.6085 GB, free: 2.781 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.1756, allocations: 4 kB / 0.6085 GB, free: 2.777 MB / 362.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.0005843/0.1762, allocations: 404.6 kB / 0.6089 GB, free: 2.328 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.17e-05/0.1762, allocations: 12.02 kB / 0.6089 GB, free: 2.316 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.546e-05/0.1763, allocations: 7.906 kB / 0.6089 GB, free: 2.309 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002309/0.1766, allocations: 182.8 kB / 0.6091 GB, free: 2.09 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.1766, allocations: 0 / 0.6091 GB, free: 2.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.41e-05/0.1767, allocations: 8 kB / 0.6091 GB, free: 2.082 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002341/0.1769, allocations: 53.69 kB / 0.6092 GB, free: 2.023 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.177, allocations: 3.953 kB / 0.6092 GB, free: 2.02 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.177, allocations: 0 / 0.6092 GB, free: 2.02 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.177, allocations: 0 / 0.6092 GB, free: 2.02 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002331/0.1773, allocations: 35.91 kB / 0.6092 GB, free: 1.984 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000606/0.1779, allocations: 288.9 kB / 0.6095 GB, free: 1.652 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003857/0.1783, allocations: 50.52 kB / 0.6095 GB, free: 1.594 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001237/0.1784, allocations: 20.94 kB / 0.6096 GB, free: 1.57 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.252e-05/0.1785, allocations: 0 / 0.6096 GB, free: 1.57 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.1785, allocations: 34.56 kB / 0.6096 GB, free: 1.527 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 2.896e-06/0.1786, allocations: 0 / 0.6096 GB, free: 1.527 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0013/0.1799, allocations: 173.3 kB / 0.6098 GB, free: 1.352 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.501e-05/0.1799, allocations: 51.41 kB / 0.6098 GB, free: 1.289 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003042/0.1802, allocations: 187.8 kB / 0.61 GB, free: 1.098 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.1803, allocations: 25.7 kB / 0.61 GB, free: 1.066 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.927e-05/0.1804, allocations: 100.1 kB / 0.6101 GB, free: 0.9648 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.367e-05/0.1805, allocations: 11.8 kB / 0.6101 GB, free: 0.9531 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.256e-05/0.1805, allocations: 8 kB / 0.6101 GB, free: 0.9453 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.611e-05/0.1806, allocations: 314.8 kB / 0.6104 GB, free: 0.6289 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002158/0.1808, allocations: 31.97 kB / 0.6105 GB, free: 0.5977 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002091/0.1811, allocations: 31.92 kB / 0.6105 GB, free: 0.5664 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002419/0.1813, allocations: 53.69 kB / 0.6105 GB, free: 0.5078 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.1813, allocations: 0 / 0.6105 GB, free: 0.5078 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005826/0.1819, allocations: 135.2 kB / 0.6107 GB, free: 372 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.47e-05/0.182, allocations: 29.7 kB / 0.6107 GB, free: 336 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.182, allocations: 0 / 0.6107 GB, free: 336 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.1821, allocations: 0 / 0.6107 GB, free: 336 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001845/0.1823, allocations: 15.98 kB / 0.6107 GB, free: 320 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.1823, allocations: 0 / 0.6107 GB, free: 320 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001198/0.1825, allocations: 12 kB / 0.6107 GB, free: 308 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.838e-05/0.1825, allocations: 0 / 0.6107 GB, free: 308 kB / 362.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 (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001432/0.1827, allocations: 132.2 kB / 0.6108 GB, free: 168 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.344e-05/0.1827, allocations: 15.73 kB / 0.6109 GB, free: 152 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006096/0.1834, allocations: 114 kB / 0.611 GB, free: 36 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.425e-06/0.1834, allocations: 3.984 kB / 0.611 GB, free: 32 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.1834, allocations: 0 / 0.611 GB, free: 32 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.2827/0.4661, allocations: 81.3 kB / 0.6111 GB, free: 90.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.259e-05/0.4662, allocations: 0.5312 kB / 0.6111 GB, free: 90.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/0.4664, allocations: 9.562 kB / 0.6111 GB, free: 90.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.176e-05/0.4665, allocations: 4.875 kB / 0.6111 GB, free: 90.48 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004626/0.467, allocations: 179.1 kB / 0.6112 GB, free: 90.38 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003923/0.4674, allocations: 270.7 kB / 0.6115 GB, free: 90.18 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001552/0.4675, allocations: 34.42 kB / 0.6115 GB, free: 90.18 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001684/0.4677, allocations: 146.2 kB / 0.6117 GB, free: 90.1 MB / 362.7 MB Notification: Performance of Backend: time 9.12e-07/0.4677, allocations: 3.969 kB / 0.6117 GB, free: 90.1 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001273/0.469, allocations: 311.8 kB / 0.612 GB, free: 89.97 MB / 362.7 MB Notification: Performance of SimCode: time 0.0006764/0.4697, allocations: 0.6466 MB / 0.6126 GB, free: 89.36 MB / 362.7 MB Notification: Performance of Templates: time 0.004909/0.4747, allocations: 0.9725 MB / 0.6136 GB, free: 89.36 MB / 362.7 MB "" Variables in the reference:time,t_new.y[1],d_t_new.y,clock.y Variables in the result:clock.offset,clock.startTime,clock.y,d_t_new.u,d_t_new.y,t_new.columns[1],t_new.n,t_new.smoothness,t_new.tableOnFile,t_new.tableOnFileRead,t_new.table[1,1],t_new.table[1,2],t_new.table[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.table[4,1],t_new.table[4,2],t_new.table[5,1],t_new.table[5,2],t_new.u[1],t_new.verboseRead,t_new.y[1],time