Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,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.Test19") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002747/0.002753, allocations: 367.3 kB / 15.97 MB, free: 6.18 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 3.788/3.788, allocations: 388.9 MB / 405.6 MB, free: 48.54 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.003787/0.003786, allocations: 236.7 kB / 451 MB, free: 3.004 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.859/0.859, allocations: 80.01 MB / 0.5627 GB, free: 5.957 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006797/0.00068, allocations: 19.94 kB / 0.6265 GB, free: 4.52 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1228, allocations: 54.89 MB / 0.6801 GB, free: 13.5 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.004047/0.1269, allocations: 1.342 MB / 0.6814 GB, free: 12.14 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.002674/0.1296, allocations: 0.7306 MB / 0.6822 GB, free: 11.41 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001208/0.1298, allocations: 0 / 0.6822 GB, free: 11.41 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00035/0.1302, allocations: 31.89 kB / 0.6822 GB, free: 11.38 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002729/0.1305, allocations: 35.84 kB / 0.6822 GB, free: 11.34 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003294/0.1308, allocations: 51.89 kB / 0.6823 GB, free: 11.29 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002497/0.1311, allocations: 87.75 kB / 0.6823 GB, free: 11.2 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.1313, allocations: 7.984 kB / 0.6824 GB, free: 11.2 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.1314, allocations: 35.8 kB / 0.6824 GB, free: 11.16 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.1316, allocations: 35.83 kB / 0.6824 GB, free: 11.12 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.885e-05/0.1316, allocations: 4 kB / 0.6824 GB, free: 11.12 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000189/0.1318, allocations: 28 kB / 0.6825 GB, free: 11.09 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 6.428e-05/0.1319, allocations: 15.92 kB / 0.6825 GB, free: 11.08 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 6.22e-05/0.132, allocations: 37.7 kB / 0.6825 GB, free: 11.04 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002476/0.1322, allocations: 92.02 kB / 0.6826 GB, free: 10.95 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1323, allocations: 4 kB / 0.6826 GB, free: 10.94 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.997e-06/0.1323, allocations: 0 / 0.6826 GB, free: 10.94 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.1323, allocations: 7.938 kB / 0.6826 GB, free: 10.93 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.0006479/0.133, allocations: 442.3 kB / 0.683 GB, free: 10.44 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.133, allocations: 8.031 kB / 0.683 GB, free: 10.43 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.233e-05/0.1331, allocations: 7.906 kB / 0.683 GB, free: 10.43 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002826/0.1334, allocations: 198.9 kB / 0.6832 GB, free: 10.19 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.1334, allocations: 3.953 kB / 0.6832 GB, free: 10.19 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.188e-05/0.1334, allocations: 12 kB / 0.6832 GB, free: 10.18 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/0.1337, allocations: 53.67 kB / 0.6833 GB, free: 10.12 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.1337, allocations: 3.984 kB / 0.6833 GB, free: 10.11 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.1337, allocations: 4 kB / 0.6833 GB, free: 10.11 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.1337, allocations: 0 / 0.6833 GB, free: 10.11 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001131/0.1338, allocations: 23.92 kB / 0.6833 GB, free: 10.09 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004694/0.1343, allocations: 304.8 kB / 0.6836 GB, free: 9.738 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002522/0.1346, allocations: 50.69 kB / 0.6837 GB, free: 9.68 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.894e-05/0.1347, allocations: 32.78 kB / 0.6837 GB, free: 9.645 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.1347, allocations: 0 / 0.6837 GB, free: 9.645 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002452/0.135, allocations: 67.33 kB / 0.6838 GB, free: 9.566 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.325e-06/0.135, allocations: 4 kB / 0.6838 GB, free: 9.562 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007902/0.1358, allocations: 177.1 kB / 0.6839 GB, free: 9.383 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.1359, allocations: 55.41 kB / 0.684 GB, free: 9.316 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002706/0.1362, allocations: 178.2 kB / 0.6842 GB, free: 9.133 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.326e-05/0.1362, allocations: 25.7 kB / 0.6842 GB, free: 9.102 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.785e-05/0.1363, allocations: 104.1 kB / 0.6843 GB, free: 8.996 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.779e-05/0.1364, allocations: 23.66 kB / 0.6843 GB, free: 8.973 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.915e-06/0.1364, allocations: 0 / 0.6843 GB, free: 8.973 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.1365, allocations: 326.8 kB / 0.6846 GB, free: 8.645 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.1367, allocations: 39.92 kB / 0.6847 GB, free: 8.605 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001344/0.1368, allocations: 41.7 kB / 0.6847 GB, free: 8.559 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/0.137, allocations: 69.69 kB / 0.6848 GB, free: 8.484 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.137, allocations: 0 / 0.6848 GB, free: 8.484 MB / 394.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004044/0.1374, allocations: 159.1 kB / 0.6849 GB, free: 8.316 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.797e-05/0.1375, allocations: 41.59 kB / 0.685 GB, free: 8.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.1375, allocations: 0 / 0.685 GB, free: 8.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.1376, allocations: 4.031 kB / 0.685 GB, free: 8.266 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.1377, allocations: 23.94 kB / 0.685 GB, free: 8.242 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.1377, allocations: 0 / 0.685 GB, free: 8.242 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.871e-05/0.1378, allocations: 4 kB / 0.685 GB, free: 8.238 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.119e-05/0.1379, allocations: 7.984 kB / 0.685 GB, free: 8.23 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.0001529/0.138, allocations: 129.8 kB / 0.6851 GB, free: 8.094 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.566e-05/0.1381, allocations: 7.906 kB / 0.6851 GB, free: 8.086 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.942e-05/0.1381, allocations: 16.7 kB / 0.6851 GB, free: 8.059 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.1382, allocations: 0 / 0.6851 GB, free: 8.059 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1382, allocations: 4 kB / 0.6851 GB, free: 8.055 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.494e-05/0.1383, allocations: 93 kB / 0.6852 GB, free: 7.945 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.339e-05/0.1383, allocations: 4 kB / 0.6852 GB, free: 7.941 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.026e-05/0.1384, allocations: 0 / 0.6852 GB, free: 7.941 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.439e-05/0.1384, allocations: 11.94 kB / 0.6852 GB, free: 7.93 MB / 394.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003451/0.1388, allocations: 180.8 kB / 0.6854 GB, free: 7.746 MB / 394.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003796/0.1392, allocations: 278.6 kB / 0.6857 GB, free: 7.457 MB / 394.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001107/0.1393, allocations: 35.97 kB / 0.6857 GB, free: 7.422 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001654/0.1395, allocations: 132.1 kB / 0.6858 GB, free: 7.293 MB / 394.7 MB Notification: Performance of Backend: time 6.21e-07/0.1395, allocations: 0 / 0.6858 GB, free: 7.293 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001891/0.1414, allocations: 0.5384 MB / 0.6864 GB, free: 6.734 MB / 394.7 MB Notification: Performance of SimCode: time 0.000851/0.1423, allocations: 0.6701 MB / 0.687 GB, free: 6.016 MB / 394.7 MB Notification: Performance of Templates: time 0.006614/0.1489, allocations: 1.626 MB / 0.6886 GB, free: 4.387 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.timeScale,t_new.verboseRead,t_new.y[1],time