Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test78") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00284/0.002844, 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.046/4.046, allocations: 388.9 MB / 405.6 MB, free: 10.33 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.003588/0.003588, allocations: 226.3 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.5098/0.5098, allocations: 80.03 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004463/0.0004464, allocations: 12 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.11, allocations: 54.86 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003496/0.1136, allocations: 1.491 MB / 0.6816 GB, free: 40.15 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003185/0.1168, allocations: 0.9525 MB / 0.6825 GB, free: 39.19 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001907/0.1171, allocations: 0 / 0.6825 GB, free: 39.19 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007054/0.1178, allocations: 251.4 kB / 0.6827 GB, free: 38.95 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005417/0.1184, allocations: 143.6 kB / 0.6829 GB, free: 38.8 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006916/0.1191, allocations: 115.7 kB / 0.683 GB, free: 38.69 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004646/0.1196, allocations: 199.5 kB / 0.6832 GB, free: 38.5 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001633/0.1198, allocations: 21.55 kB / 0.6832 GB, free: 38.48 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002596/0.1201, allocations: 111.6 kB / 0.6833 GB, free: 38.37 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003316/0.1204, allocations: 151.6 kB / 0.6834 GB, free: 38.22 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.721e-05/0.1205, allocations: 4 kB / 0.6834 GB, free: 38.21 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003705/0.1209, allocations: 55.98 kB / 0.6835 GB, free: 38.16 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001232/0.121, allocations: 63.8 kB / 0.6836 GB, free: 38.1 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001022/0.1211, allocations: 57.58 kB / 0.6836 GB, free: 38.04 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004599/0.1216, allocations: 184 kB / 0.6838 GB, free: 37.86 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.1217, allocations: 0 / 0.6838 GB, free: 37.86 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.766e-06/0.1217, allocations: 0 / 0.6838 GB, free: 37.86 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.173e-06/0.1217, allocations: 0 / 0.6838 GB, free: 37.86 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.001093/0.1228, allocations: 0.6489 MB / 0.6844 GB, free: 37.13 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.912e-05/0.1229, allocations: 8.828 kB / 0.6844 GB, free: 37.12 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/0.123, allocations: 27.62 kB / 0.6845 GB, free: 37.1 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004864/0.1235, allocations: 263.1 kB / 0.6847 GB, free: 36.8 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.838e-05/0.1236, allocations: 4 kB / 0.6847 GB, free: 36.8 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.418e-05/0.1237, allocations: 4 kB / 0.6847 GB, free: 36.8 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000436/0.1241, allocations: 111.2 kB / 0.6848 GB, free: 36.68 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/0.1242, allocations: 0 / 0.6848 GB, free: 36.68 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.8e-05/0.1242, allocations: 11.95 kB / 0.6848 GB, free: 36.66 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.1243, allocations: 0 / 0.6848 GB, free: 36.66 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002627/0.1245, allocations: 35.97 kB / 0.6849 GB, free: 36.63 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008967/0.1255, allocations: 476.9 kB / 0.6853 GB, free: 36.11 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006461/0.1261, allocations: 121.3 kB / 0.6854 GB, free: 35.97 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002295/0.1264, allocations: 41.69 kB / 0.6855 GB, free: 35.93 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.994e-05/0.1265, allocations: 7.953 kB / 0.6855 GB, free: 35.92 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004527/0.1269, allocations: 113.1 kB / 0.6856 GB, free: 35.79 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 6.062e-06/0.127, allocations: 3.984 kB / 0.6856 GB, free: 35.79 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.001966/0.1289, allocations: 387.6 kB / 0.686 GB, free: 35.4 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/0.129, allocations: 81.11 kB / 0.686 GB, free: 35.3 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008381/0.1299, allocations: 468.5 kB / 0.6865 GB, free: 34.84 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.456e-05/0.13, allocations: 33.69 kB / 0.6865 GB, free: 34.8 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001722/0.1302, allocations: 164.4 kB / 0.6867 GB, free: 34.64 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.208e-05/0.1303, allocations: 51.3 kB / 0.6867 GB, free: 34.59 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.058e-05/0.1303, allocations: 0 / 0.6867 GB, free: 34.59 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.1305, allocations: 346.8 kB / 0.6871 GB, free: 34.24 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003405/0.1308, allocations: 60.09 kB / 0.6871 GB, free: 34.18 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003542/0.1312, allocations: 103.7 kB / 0.6872 GB, free: 34.07 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003972/0.1316, allocations: 123.4 kB / 0.6873 GB, free: 33.93 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.1317, allocations: 4 kB / 0.6873 GB, free: 33.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00107/0.1328, allocations: 298.3 kB / 0.6876 GB, free: 33.62 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.084e-05/0.1329, allocations: 71.33 kB / 0.6877 GB, free: 33.54 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.1329, allocations: 7.938 kB / 0.6877 GB, free: 33.53 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.506e-05/0.133, allocations: 4.062 kB / 0.6877 GB, free: 33.53 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003556/0.1333, allocations: 31.98 kB / 0.6877 GB, free: 33.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.1334, allocations: 0 / 0.6877 GB, free: 33.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002786/0.1337, allocations: 12 kB / 0.6877 GB, free: 33.48 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-05/0.1337, allocations: 11.98 kB / 0.6877 GB, free: 33.47 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 2 * 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.0003029/0.1341, allocations: 171.1 kB / 0.6879 GB, free: 33.3 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.53e-05/0.1341, allocations: 35.58 kB / 0.6879 GB, free: 33.26 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001322/0.1343, allocations: 38.81 kB / 0.688 GB, free: 33.22 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.1343, allocations: 4 kB / 0.688 GB, free: 33.22 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.1344, allocations: 0 / 0.688 GB, free: 33.22 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001583/0.1345, allocations: 116.7 kB / 0.6881 GB, free: 33.09 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.264e-05/0.1346, allocations: 4 kB / 0.6881 GB, free: 33.08 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001925/0.1348, allocations: 7.984 kB / 0.6881 GB, free: 33.07 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.669e-05/0.1349, allocations: 15.98 kB / 0.6881 GB, free: 33.06 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008731/0.1358, allocations: 340 kB / 0.6884 GB, free: 32.72 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0008613/0.1367, allocations: 433.6 kB / 0.6889 GB, free: 32.28 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002725/0.137, allocations: 51.97 kB / 0.6889 GB, free: 32.23 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006442/0.1377, allocations: 347 kB / 0.6892 GB, free: 31.89 MB / 346.7 MB Notification: Performance of Backend: time 1.282e-06/0.1377, allocations: 4 kB / 0.6892 GB, free: 31.89 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004445/0.1422, allocations: 0.9266 MB / 0.6902 GB, free: 31.15 MB / 346.7 MB Notification: Performance of SimCode: time 0.001873/0.1441, allocations: 0.9479 MB / 0.6911 GB, free: 30.16 MB / 346.7 MB Notification: Performance of Templates: time 0.01448/0.1587, allocations: 3.02 MB / 0.694 GB, free: 27.16 MB / 346.7 MB "" Variables in the reference:time,t_new.y[1],d_t_new.y,t_new_2.y[1],d_t_new_2.y Variables in the result:d_t_new.u,d_t_new.y,d_t_new_2.u,d_t_new_2.y,t_new.columns[1],t_new.extrapolation,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[10,1],t_new.table[10,2],t_new.table[11,1],t_new.table[11,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.table[7,1],t_new.table[7,2],t_new.table[8,1],t_new.table[8,2],t_new.table[9,1],t_new.table[9,2],t_new.timeScale,t_new.verboseRead,t_new.y[1],t_new_2.columns[1],t_new_2.extrapolation,t_new_2.nout,t_new_2.offset[1],t_new_2.p_offset[1],t_new_2.smoothness,t_new_2.startTime,t_new_2.t_max,t_new_2.t_maxScaled,t_new_2.t_min,t_new_2.t_minScaled,t_new_2.tableOnFile,t_new_2.tableOnFileRead,t_new_2.table[1,1],t_new_2.table[1,2],t_new_2.table[10,1],t_new_2.table[10,2],t_new_2.table[11,1],t_new_2.table[11,2],t_new_2.table[2,1],t_new_2.table[2,2],t_new_2.table[3,1],t_new_2.table[3,2],t_new_2.table[4,1],t_new_2.table[4,2],t_new_2.table[5,1],t_new_2.table[5,2],t_new_2.table[6,1],t_new_2.table[6,2],t_new_2.table[7,1],t_new_2.table[7,2],t_new_2.table[8,1],t_new_2.table[8,2],t_new_2.table[9,1],t_new_2.table[9,2],t_new_2.timeScale,t_new_2.verboseRead,t_new_2.y[1],time