Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test63") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002683/0.002688, allocations: 369.2 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.165/4.165, allocations: 388.9 MB / 405.6 MB, free: 10.25 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.003521/0.00352, allocations: 219.7 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.5184/0.5184, allocations: 80.02 MB / 0.5627 GB, free: 19.85 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006285/0.0006288, allocations: 12 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1385, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.002443/0.141, allocations: 1.327 MB / 0.6814 GB, free: 40.31 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001803/0.1428, allocations: 0.6956 MB / 0.6821 GB, free: 39.61 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.143, allocations: 7.938 kB / 0.6821 GB, free: 39.6 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003607/0.1434, allocations: 47.86 kB / 0.6821 GB, free: 39.55 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002442/0.1436, allocations: 39.88 kB / 0.6822 GB, free: 39.51 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002488/0.1439, allocations: 51.89 kB / 0.6822 GB, free: 39.46 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001865/0.1441, allocations: 83.69 kB / 0.6823 GB, free: 39.38 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.237e-05/0.1442, allocations: 7.859 kB / 0.6823 GB, free: 39.37 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.1443, allocations: 39.84 kB / 0.6823 GB, free: 39.33 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.1444, allocations: 31.86 kB / 0.6824 GB, free: 39.3 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.527e-05/0.1445, allocations: 0 / 0.6824 GB, free: 39.3 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001255/0.1446, allocations: 31.97 kB / 0.6824 GB, free: 39.27 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.058e-05/0.1447, allocations: 19.92 kB / 0.6824 GB, free: 39.25 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.547e-05/0.1448, allocations: 41.64 kB / 0.6825 GB, free: 39.2 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000218/0.145, allocations: 92.03 kB / 0.6826 GB, free: 39.11 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.145, allocations: 0 / 0.6826 GB, free: 39.11 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.145, allocations: 0 / 0.6826 GB, free: 39.11 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.1451, allocations: 0 / 0.6826 GB, free: 39.11 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006266/0.1457, allocations: 478 kB / 0.683 GB, free: 38.59 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.1458, allocations: 12.77 kB / 0.683 GB, free: 38.57 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.165e-05/0.1458, allocations: 15.81 kB / 0.683 GB, free: 38.56 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002807/0.1461, allocations: 195.5 kB / 0.6832 GB, free: 38.33 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.96e-05/0.1462, allocations: 8 kB / 0.6832 GB, free: 38.32 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.802e-05/0.1462, allocations: 4 kB / 0.6832 GB, free: 38.32 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002248/0.1465, allocations: 49.61 kB / 0.6833 GB, free: 38.26 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.1465, allocations: 0 / 0.6833 GB, free: 38.26 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.1465, allocations: 4 kB / 0.6833 GB, free: 38.26 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.874e-06/0.1465, allocations: 7.953 kB / 0.6833 GB, free: 38.25 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/0.1467, allocations: 15.98 kB / 0.6833 GB, free: 38.23 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002594/0.147, allocations: 193.7 kB / 0.6835 GB, free: 38 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002716/0.1472, allocations: 54.61 kB / 0.6835 GB, free: 37.93 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.1474, allocations: 20.8 kB / 0.6836 GB, free: 37.91 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.942e-05/0.1474, allocations: 4 kB / 0.6836 GB, free: 37.91 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002532/0.1477, allocations: 67.39 kB / 0.6836 GB, free: 37.83 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 2.595e-06/0.1477, allocations: 0 / 0.6836 GB, free: 37.83 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004691/0.1482, allocations: 101.5 kB / 0.6837 GB, free: 37.72 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.1482, allocations: 59.3 kB / 0.6838 GB, free: 37.65 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000381/0.1486, allocations: 256.6 kB / 0.684 GB, free: 37.39 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.1487, allocations: 29.7 kB / 0.6841 GB, free: 37.36 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.983e-05/0.1488, allocations: 116.1 kB / 0.6842 GB, free: 37.24 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.435e-05/0.1488, allocations: 11.75 kB / 0.6842 GB, free: 37.23 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.939e-06/0.1489, allocations: 4 kB / 0.6842 GB, free: 37.22 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.793e-05/0.149, allocations: 326.8 kB / 0.6845 GB, free: 36.89 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.1491, allocations: 23.98 kB / 0.6845 GB, free: 36.87 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001462/0.1493, allocations: 37.7 kB / 0.6846 GB, free: 36.83 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001637/0.1494, allocations: 61.69 kB / 0.6846 GB, free: 36.76 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.1495, allocations: 0 / 0.6846 GB, free: 36.76 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004285/0.1499, allocations: 139.1 kB / 0.6847 GB, free: 36.61 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.912e-05/0.15, allocations: 33.7 kB / 0.6848 GB, free: 36.57 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.15, allocations: 0 / 0.6848 GB, free: 36.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.15, allocations: 7.938 kB / 0.6848 GB, free: 36.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.1502, allocations: 11.98 kB / 0.6848 GB, free: 36.55 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/0.1502, allocations: 0 / 0.6848 GB, free: 36.55 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001541/0.1504, allocations: 7.953 kB / 0.6848 GB, free: 36.55 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.297e-05/0.1504, allocations: 16.28 kB / 0.6848 GB, free: 36.53 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 (8): * Single equations (assignments): 7 * 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.0001554/0.1506, allocations: 129.8 kB / 0.6849 GB, free: 36.39 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.85e-05/0.1507, allocations: 19.8 kB / 0.685 GB, free: 36.38 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.504e-05/0.1507, allocations: 16.98 kB / 0.685 GB, free: 36.36 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.1508, allocations: 0 / 0.685 GB, free: 36.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.1508, allocations: 8 kB / 0.685 GB, free: 36.36 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.134e-05/0.1509, allocations: 100.8 kB / 0.6851 GB, free: 36.24 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.576e-05/0.1509, allocations: 3.953 kB / 0.6851 GB, free: 36.23 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.077e-05/0.151, allocations: 4 kB / 0.6851 GB, free: 36.23 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.1511, allocations: 7.984 kB / 0.6851 GB, free: 36.22 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003241/0.1514, allocations: 149 kB / 0.6852 GB, free: 36.07 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000362/0.1518, allocations: 262.6 kB / 0.6855 GB, free: 35.8 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001091/0.152, allocations: 15.98 kB / 0.6855 GB, free: 35.78 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002796/0.1523, allocations: 202 kB / 0.6857 GB, free: 35.59 MB / 346.7 MB Notification: Performance of Backend: time 1.994e-06/0.1523, allocations: 4 kB / 0.6857 GB, free: 35.58 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002324/0.1546, allocations: 494.4 kB / 0.6862 GB, free: 35.23 MB / 346.7 MB Notification: Performance of SimCode: time 0.0008632/0.1555, allocations: 0.7013 MB / 0.6869 GB, free: 34.48 MB / 346.7 MB Notification: Performance of Templates: time 0.006949/0.1625, allocations: 1.415 MB / 0.6882 GB, free: 33.08 MB / 346.7 MB "" Variables in the reference:time,t_new.nextTimeEvent,t_new.y[1] Variables in the result: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.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],time