Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00391/0.003915, allocations: 368.8 kB / 15.96 MB, free: 6.199 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.138/4.138, allocations: 388.9 MB / 405.6 MB, free: 47.96 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003872/0.003872, allocations: 240.6 kB / 451 MB, free: 2.426 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.7741/0.7741, allocations: 80 MB / 0.5627 GB, free: 6.27 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006824/0.0006828, allocations: 19.94 kB / 0.6265 GB, free: 4.828 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1261, allocations: 54.88 MB / 0.6801 GB, free: 13.81 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.00261/0.1288, allocations: 1.346 MB / 0.6814 GB, free: 12.45 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001745/0.1306, allocations: 0.7111 MB / 0.6821 GB, free: 11.73 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.726e-05/0.1307, allocations: 8 kB / 0.6821 GB, free: 11.73 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003622/0.1311, allocations: 79.81 kB / 0.6822 GB, free: 11.65 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000244/0.1313, allocations: 55.8 kB / 0.6823 GB, free: 11.59 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002467/0.1316, allocations: 55.88 kB / 0.6823 GB, free: 11.54 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001999/0.1318, allocations: 91.75 kB / 0.6824 GB, free: 11.45 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.1319, allocations: 15.91 kB / 0.6824 GB, free: 11.43 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000117/0.1321, allocations: 43.78 kB / 0.6825 GB, free: 11.39 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001578/0.1322, allocations: 67.8 kB / 0.6825 GB, free: 11.32 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.201e-05/0.1323, allocations: 0 / 0.6825 GB, free: 11.32 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001881/0.1325, allocations: 32 kB / 0.6826 GB, free: 11.29 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 6.244e-05/0.1325, allocations: 19.92 kB / 0.6826 GB, free: 11.27 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 7.627e-05/0.1326, allocations: 45.62 kB / 0.6826 GB, free: 11.22 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002404/0.1329, allocations: 88.03 kB / 0.6827 GB, free: 11.14 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.226e-06/0.1329, allocations: 4 kB / 0.6827 GB, free: 11.13 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1329, allocations: 0 / 0.6827 GB, free: 11.13 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.1329, allocations: 0 / 0.6827 GB, free: 11.13 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.0007143/0.1337, allocations: 462.2 kB / 0.6832 GB, free: 10.62 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.1337, allocations: 8.031 kB / 0.6832 GB, free: 10.61 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.788e-05/0.1338, allocations: 7.906 kB / 0.6832 GB, free: 10.61 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002969/0.1341, allocations: 206.9 kB / 0.6834 GB, free: 10.36 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.176e-05/0.1341, allocations: 11.94 kB / 0.6834 GB, free: 10.35 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.88e-05/0.1342, allocations: 7.906 kB / 0.6834 GB, free: 10.34 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002127/0.1344, allocations: 57.61 kB / 0.6834 GB, free: 10.28 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.1344, allocations: 0 / 0.6834 GB, free: 10.28 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.1345, allocations: 0 / 0.6834 GB, free: 10.28 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1345, allocations: 0 / 0.6834 GB, free: 10.28 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/0.1346, allocations: 27.98 kB / 0.6835 GB, free: 10.25 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004753/0.1351, allocations: 300.8 kB / 0.6838 GB, free: 9.91 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002516/0.1354, allocations: 58.61 kB / 0.6838 GB, free: 9.844 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.448e-05/0.1355, allocations: 24.8 kB / 0.6838 GB, free: 9.816 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.1355, allocations: 4 kB / 0.6838 GB, free: 9.812 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002458/0.1357, allocations: 71.39 kB / 0.6839 GB, free: 9.73 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 3.456e-06/0.1358, allocations: 0 / 0.6839 GB, free: 9.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007955/0.1366, allocations: 181.1 kB / 0.6841 GB, free: 9.547 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.771e-05/0.1366, allocations: 55.41 kB / 0.6841 GB, free: 9.48 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003102/0.137, allocations: 222.2 kB / 0.6843 GB, free: 9.25 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.829e-05/0.137, allocations: 37.7 kB / 0.6844 GB, free: 9.207 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.82e-05/0.1371, allocations: 100.1 kB / 0.6845 GB, free: 9.105 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.324e-05/0.1372, allocations: 23.7 kB / 0.6845 GB, free: 9.082 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.045e-06/0.1372, allocations: 0 / 0.6845 GB, free: 9.082 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.1373, allocations: 330.8 kB / 0.6848 GB, free: 8.75 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/0.1375, allocations: 27.98 kB / 0.6848 GB, free: 8.723 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001484/0.1376, allocations: 57.58 kB / 0.6849 GB, free: 8.66 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.1378, allocations: 61.7 kB / 0.685 GB, free: 8.594 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1378, allocations: 0 / 0.685 GB, free: 8.594 MB / 394.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004097/0.1382, allocations: 167.1 kB / 0.6851 GB, free: 8.418 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.434e-05/0.1383, allocations: 37.61 kB / 0.6852 GB, free: 8.375 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.1383, allocations: 96 / 0.6852 GB, free: 8.375 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.1383, allocations: 3.938 kB / 0.6852 GB, free: 8.371 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.1385, allocations: 19.98 kB / 0.6852 GB, free: 8.352 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.1385, allocations: 0 / 0.6852 GB, free: 8.352 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.803e-05/0.1386, allocations: 4 kB / 0.6852 GB, free: 8.348 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.2e-05/0.1387, allocations: 12.03 kB / 0.6852 GB, free: 8.336 MB / 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.0001593/0.1388, allocations: 129.8 kB / 0.6853 GB, free: 8.199 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.898e-05/0.1389, allocations: 11.91 kB / 0.6853 GB, free: 8.188 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.726e-05/0.1389, allocations: 21.39 kB / 0.6853 GB, free: 8.16 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.139, allocations: 0 / 0.6853 GB, free: 8.16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.139, allocations: 0 / 0.6853 GB, free: 8.16 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.1391, allocations: 96.91 kB / 0.6854 GB, free: 8.047 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.595e-05/0.1391, allocations: 7.938 kB / 0.6854 GB, free: 8.039 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.116e-05/0.1392, allocations: 0 / 0.6854 GB, free: 8.039 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.404e-05/0.1393, allocations: 19.92 kB / 0.6855 GB, free: 8.02 MB / 394.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003479/0.1396, allocations: 184.9 kB / 0.6856 GB, free: 7.832 MB / 394.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003869/0.14, allocations: 270.7 kB / 0.6859 GB, free: 7.551 MB / 394.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001054/0.1401, allocations: 27.92 kB / 0.6859 GB, free: 7.523 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002385/0.1404, allocations: 168.3 kB / 0.6861 GB, free: 7.359 MB / 394.7 MB Notification: Performance of Backend: time 7.91e-07/0.1404, allocations: 0 / 0.6861 GB, free: 7.359 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001946/0.1424, allocations: 0.5305 MB / 0.6866 GB, free: 6.809 MB / 394.7 MB Notification: Performance of SimCode: time 0.0009447/0.1433, allocations: 0.7018 MB / 0.6873 GB, free: 6.059 MB / 394.7 MB Notification: Performance of Templates: time 0.006774/0.1501, allocations: 1.642 MB / 0.6889 GB, free: 4.414 MB / 394.7 MB "" Variables in the reference:time,t_new.nextTimeEvent,t_new.y[1],d_t_new.y Variables in the result:d_t_new.u,d_t_new.y,t_new.columns[1],t_new.extrapolation,t_new.nextTimeEvent,t_new.nout,t_new.offset[1],t_new.p_offset[1],t_new.smoothness,t_new.startTime,t_new.t_max,t_new.t_maxScaled,t_new.t_min,t_new.t_minScaled,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.table[6,1],t_new.table[6,2],t_new.timeScale,t_new.verboseRead,t_new.y[1],time