Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,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.Test56") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003757/0.003762, allocations: 366.1 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.159/4.159, allocations: 388.9 MB / 405.6 MB, free: 9.641 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.00348/0.00348, allocations: 228.5 kB / 451 MB, free: 145 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.5839/0.5839, allocations: 80.03 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006218/0.0006223, allocations: 12 kB / 0.6265 GB, free: 96.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1281, allocations: 54.88 MB / 0.6801 GB, free: 41.64 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.002958/0.1312, allocations: 1.359 MB / 0.6814 GB, free: 40.26 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003242/0.1345, allocations: 1.282 MB / 0.6827 GB, free: 38.97 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.1347, allocations: 4 kB / 0.6827 GB, free: 38.96 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003502/0.135, allocations: 31.86 kB / 0.6827 GB, free: 38.93 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002973/0.1354, allocations: 39.89 kB / 0.6828 GB, free: 38.89 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003145/0.1357, allocations: 55.81 kB / 0.6828 GB, free: 38.84 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001991/0.1359, allocations: 79.77 kB / 0.6829 GB, free: 38.76 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.1361, allocations: 4 kB / 0.6829 GB, free: 38.76 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.1362, allocations: 39.84 kB / 0.6829 GB, free: 38.72 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002071/0.1364, allocations: 31.84 kB / 0.683 GB, free: 38.69 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.752e-05/0.1365, allocations: 8 kB / 0.683 GB, free: 38.68 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002352/0.1367, allocations: 59.95 kB / 0.683 GB, free: 38.62 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.509e-05/0.1368, allocations: 15.92 kB / 0.683 GB, free: 38.61 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.764e-05/0.1369, allocations: 41.58 kB / 0.6831 GB, free: 38.56 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002798/0.1372, allocations: 92.08 kB / 0.6832 GB, free: 38.47 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.1372, allocations: 4 kB / 0.6832 GB, free: 38.46 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.1372, allocations: 0 / 0.6832 GB, free: 38.46 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.1373, allocations: 0 / 0.6832 GB, free: 38.46 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007613/0.138, allocations: 450.3 kB / 0.6836 GB, free: 37.96 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.574e-05/0.1381, allocations: 12.83 kB / 0.6836 GB, free: 37.95 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.718e-05/0.1382, allocations: 7.906 kB / 0.6836 GB, free: 37.95 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002977/0.1385, allocations: 198.9 kB / 0.6838 GB, free: 37.71 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.387e-05/0.1386, allocations: 4 kB / 0.6838 GB, free: 37.71 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.488e-05/0.1386, allocations: 4 kB / 0.6838 GB, free: 37.7 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002761/0.1389, allocations: 71.27 kB / 0.6839 GB, free: 37.62 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.139, allocations: 0 / 0.6839 GB, free: 37.62 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.033e-05/0.139, allocations: 0 / 0.6839 GB, free: 37.62 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.228e-06/0.139, allocations: 7.953 kB / 0.6839 GB, free: 37.61 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001563/0.1392, allocations: 23.98 kB / 0.6839 GB, free: 37.59 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00051/0.1397, allocations: 292.9 kB / 0.6842 GB, free: 37.25 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003098/0.1401, allocations: 62.61 kB / 0.6843 GB, free: 37.18 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.1402, allocations: 16.86 kB / 0.6843 GB, free: 37.16 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.756e-05/0.1403, allocations: 11.98 kB / 0.6843 GB, free: 37.15 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002955/0.1406, allocations: 71.33 kB / 0.6844 GB, free: 37.07 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 3.646e-06/0.1406, allocations: 0 / 0.6844 GB, free: 37.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.001046/0.1417, allocations: 169.3 kB / 0.6845 GB, free: 36.9 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.1417, allocations: 77.11 kB / 0.6846 GB, free: 36.8 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002201/0.142, allocations: 150 kB / 0.6847 GB, free: 36.64 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.142, allocations: 29.7 kB / 0.6848 GB, free: 36.61 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.863e-05/0.1421, allocations: 100 kB / 0.6849 GB, free: 36.51 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.358e-05/0.1422, allocations: 23.66 kB / 0.6849 GB, free: 36.48 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.194e-05/0.1422, allocations: 0 / 0.6849 GB, free: 36.48 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.884e-05/0.1423, allocations: 322.8 kB / 0.6852 GB, free: 36.16 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000162/0.1425, allocations: 31.98 kB / 0.6852 GB, free: 36.13 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001875/0.1427, allocations: 57.73 kB / 0.6853 GB, free: 36.07 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000203/0.1429, allocations: 70.72 kB / 0.6853 GB, free: 35.99 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.1429, allocations: 0 / 0.6853 GB, free: 35.99 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005472/0.1435, allocations: 165.2 kB / 0.6855 GB, free: 35.82 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.452e-05/0.1436, allocations: 41.62 kB / 0.6855 GB, free: 35.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.1436, allocations: 0 / 0.6855 GB, free: 35.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.333e-05/0.1437, allocations: 0 / 0.6855 GB, free: 35.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001912/0.1439, allocations: 16 kB / 0.6856 GB, free: 35.76 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.1439, allocations: 0 / 0.6856 GB, free: 35.76 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/0.144, allocations: 7.984 kB / 0.6856 GB, free: 35.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.795e-05/0.1441, allocations: 12.03 kB / 0.6856 GB, free: 35.74 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 (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.000152/0.1443, allocations: 121.8 kB / 0.6857 GB, free: 35.61 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.224e-05/0.1443, allocations: 12.23 kB / 0.6857 GB, free: 35.6 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.014e-05/0.1444, allocations: 16.7 kB / 0.6857 GB, free: 35.58 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.1444, allocations: 0 / 0.6857 GB, free: 35.58 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.1445, allocations: 0 / 0.6857 GB, free: 35.58 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.1446, allocations: 97 kB / 0.6858 GB, free: 35.47 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.862e-05/0.1446, allocations: 0 / 0.6858 GB, free: 35.47 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.1448, allocations: 12 kB / 0.6858 GB, free: 35.46 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.303e-05/0.1448, allocations: 7.984 kB / 0.6858 GB, free: 35.45 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004417/0.1453, allocations: 173 kB / 0.686 GB, free: 35.27 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004532/0.1458, allocations: 282.5 kB / 0.6863 GB, free: 34.98 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001385/0.1459, allocations: 27.98 kB / 0.6863 GB, free: 34.95 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001371/0.1461, allocations: 110.9 kB / 0.6864 GB, free: 34.85 MB / 346.7 MB Notification: Performance of Backend: time 1.373e-06/0.1461, allocations: 0 / 0.6864 GB, free: 34.85 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004843/0.151, allocations: 0.6146 MB / 0.687 GB, free: 34.4 MB / 346.7 MB Notification: Performance of SimCode: time 0.000659/0.1517, allocations: 0.647 MB / 0.6876 GB, free: 33.71 MB / 346.7 MB Notification: Performance of Templates: time 0.006362/0.1581, allocations: 1.972 MB / 0.6896 GB, free: 31.75 MB / 346.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.timeScale,t_new.verboseRead,t_new.y[1],time