Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002699/0.002704, allocations: 363.5 kB / 15.96 MB, free: 6.203 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.152/4.152, allocations: 388.9 MB / 405.6 MB, free: 10.24 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003523/0.003522, allocations: 233.5 kB / 451 MB, free: 145.1 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.505/0.505, allocations: 80.03 MB / 0.5627 GB, free: 19.83 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004505/0.0004507, allocations: 12 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1242, allocations: 54.88 MB / 0.6801 GB, free: 41.64 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.00205/0.1264, allocations: 1.359 MB / 0.6814 GB, free: 40.26 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001361/0.1277, allocations: 0.719 MB / 0.6821 GB, free: 39.54 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.162e-05/0.1278, allocations: 0 / 0.6821 GB, free: 39.54 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003293/0.1282, allocations: 95.73 kB / 0.6822 GB, free: 39.44 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002026/0.1284, allocations: 63.84 kB / 0.6823 GB, free: 39.38 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001957/0.1286, allocations: 47.89 kB / 0.6823 GB, free: 39.33 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001595/0.1288, allocations: 111.7 kB / 0.6824 GB, free: 39.22 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.3e-05/0.1289, allocations: 7.938 kB / 0.6824 GB, free: 39.21 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.058e-05/0.129, allocations: 47.83 kB / 0.6825 GB, free: 39.17 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.1291, allocations: 59.81 kB / 0.6826 GB, free: 39.11 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.224e-05/0.1292, allocations: 0 / 0.6826 GB, free: 39.11 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001446/0.1293, allocations: 43.97 kB / 0.6826 GB, free: 39.07 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.016e-05/0.1294, allocations: 23.92 kB / 0.6826 GB, free: 39.04 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.108e-05/0.1294, allocations: 37.64 kB / 0.6827 GB, free: 39 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001813/0.1296, allocations: 112 kB / 0.6828 GB, free: 38.89 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1296, allocations: 0 / 0.6828 GB, free: 38.89 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1296, allocations: 4 kB / 0.6828 GB, free: 38.89 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.1297, allocations: 0 / 0.6828 GB, free: 38.89 MB / 346.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.0005211/0.1302, allocations: 478 kB / 0.6832 GB, free: 38.36 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.1302, allocations: 8.828 kB / 0.6832 GB, free: 38.35 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.002e-05/0.1303, allocations: 11.81 kB / 0.6832 GB, free: 38.34 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002296/0.1305, allocations: 211.5 kB / 0.6834 GB, free: 38.09 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/0.1306, allocations: 4 kB / 0.6834 GB, free: 38.09 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.59e-05/0.1306, allocations: 11.94 kB / 0.6835 GB, free: 38.08 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.1308, allocations: 61.66 kB / 0.6835 GB, free: 38.01 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.1308, allocations: 0 / 0.6835 GB, free: 38.01 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.1309, allocations: 4 kB / 0.6835 GB, free: 38.01 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.1309, allocations: 3.953 kB / 0.6835 GB, free: 38 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001303/0.131, allocations: 31.92 kB / 0.6836 GB, free: 37.97 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003904/0.1314, allocations: 312.8 kB / 0.6839 GB, free: 37.62 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002511/0.1317, allocations: 70.69 kB / 0.6839 GB, free: 37.54 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.993e-05/0.1318, allocations: 28.84 kB / 0.6839 GB, free: 37.51 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.1318, allocations: 0 / 0.6839 GB, free: 37.51 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002157/0.1321, allocations: 79.34 kB / 0.684 GB, free: 37.42 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 2.044e-06/0.1321, allocations: 4 kB / 0.684 GB, free: 37.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0007549/0.1328, allocations: 213 kB / 0.6842 GB, free: 37.2 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.607e-05/0.1329, allocations: 55.41 kB / 0.6843 GB, free: 37.13 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002581/0.1332, allocations: 243.1 kB / 0.6845 GB, free: 36.89 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.781e-05/0.1332, allocations: 29.7 kB / 0.6845 GB, free: 36.85 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.763e-05/0.1333, allocations: 112.1 kB / 0.6846 GB, free: 36.74 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.532e-05/0.1333, allocations: 27.56 kB / 0.6847 GB, free: 36.71 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.023e-05/0.1334, allocations: 4 kB / 0.6847 GB, free: 36.71 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.199e-05/0.1334, allocations: 330.8 kB / 0.685 GB, free: 36.38 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/0.1336, allocations: 35.98 kB / 0.685 GB, free: 36.34 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001318/0.1337, allocations: 49.7 kB / 0.6851 GB, free: 36.29 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001491/0.1339, allocations: 80.47 kB / 0.6852 GB, free: 36.2 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1339, allocations: 3.938 kB / 0.6852 GB, free: 36.2 MB / 346.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003676/0.1343, allocations: 163.3 kB / 0.6853 GB, free: 36.03 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.015e-05/0.1343, allocations: 41.64 kB / 0.6854 GB, free: 35.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.1343, allocations: 4.031 kB / 0.6854 GB, free: 35.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.1344, allocations: 7.938 kB / 0.6854 GB, free: 35.97 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/0.1345, allocations: 12 kB / 0.6854 GB, free: 35.96 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.1345, allocations: 7.984 kB / 0.6854 GB, free: 35.95 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.385e-05/0.1346, allocations: 11.91 kB / 0.6854 GB, free: 35.94 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.711e-05/0.1347, allocations: 4 kB / 0.6854 GB, free: 35.93 MB / 346.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 (12): * Single equations (assignments): 11 * 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.000113/0.1348, allocations: 137.8 kB / 0.6855 GB, free: 35.79 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.427e-05/0.1348, allocations: 11.84 kB / 0.6855 GB, free: 35.78 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.82e-05/0.1349, allocations: 29.34 kB / 0.6856 GB, free: 35.75 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1349, allocations: 0 / 0.6856 GB, free: 35.75 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1349, allocations: 0 / 0.6856 GB, free: 35.75 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.655e-05/0.135, allocations: 100.9 kB / 0.6857 GB, free: 35.64 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.542e-05/0.135, allocations: 4 kB / 0.6857 GB, free: 35.63 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.673e-05/0.1351, allocations: 4 kB / 0.6857 GB, free: 35.63 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.276e-05/0.1352, allocations: 11.92 kB / 0.6857 GB, free: 35.62 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003136/0.1355, allocations: 192.9 kB / 0.6859 GB, free: 35.42 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003238/0.1358, allocations: 290.5 kB / 0.6861 GB, free: 35.12 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001079/0.136, allocations: 39.91 kB / 0.6862 GB, free: 35.08 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000168/0.1361, allocations: 176.4 kB / 0.6864 GB, free: 34.91 MB / 346.7 MB Notification: Performance of Backend: time 9.02e-07/0.1361, allocations: 4.281 kB / 0.6864 GB, free: 34.91 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00173/0.1379, allocations: 0.5437 MB / 0.6869 GB, free: 34.51 MB / 346.7 MB Notification: Performance of SimCode: time 0.000698/0.1386, allocations: 0.7256 MB / 0.6876 GB, free: 33.74 MB / 346.7 MB Notification: Performance of Templates: time 0.00589/0.1445, allocations: 1.746 MB / 0.6893 GB, free: 32.01 MB / 346.7 MB "" Variables in the reference:time,t_new.nextTimeEvent,t_new.y[1],t_new.y[2],d_t_new.y Variables in the result:d_t_new.u,d_t_new.y,t_new.columns[1],t_new.columns[2],t_new.extrapolation,t_new.nextTimeEvent,t_new.nout,t_new.offset[1],t_new.p_offset[1],t_new.p_offset[2],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[1,3],t_new.table[2,1],t_new.table[2,2],t_new.table[2,3],t_new.table[3,1],t_new.table[3,2],t_new.table[3,3],t_new.table[4,1],t_new.table[4,2],t_new.table[4,3],t_new.table[5,1],t_new.table[5,2],t_new.table[5,3],t_new.timeScale,t_new.verboseRead,t_new.y[1],t_new.y[2],time