Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,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.Test23") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004045/0.004049, allocations: 368.3 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 3.774/3.774, allocations: 388.9 MB / 405.6 MB, free: 48.56 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.004255/0.004254, allocations: 228.8 kB / 451 MB, free: 3.031 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.7736/0.7736, allocations: 80.01 MB / 0.5627 GB, free: 6.266 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006325/0.0006328, allocations: 12 kB / 0.6265 GB, free: 4.836 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1246, allocations: 54.89 MB / 0.6801 GB, free: 13.81 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.002572/0.1273, allocations: 1.35 MB / 0.6814 GB, free: 12.45 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001791/0.1291, allocations: 0.7189 MB / 0.6821 GB, free: 11.73 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.628e-05/0.1292, allocations: 0 / 0.6821 GB, free: 11.73 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002965/0.1296, allocations: 31.89 kB / 0.6822 GB, free: 11.7 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002061/0.1298, allocations: 39.84 kB / 0.6822 GB, free: 11.66 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002432/0.13, allocations: 51.89 kB / 0.6823 GB, free: 11.61 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001772/0.1302, allocations: 83.73 kB / 0.6823 GB, free: 11.52 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.1303, allocations: 12 kB / 0.6824 GB, free: 11.51 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001011/0.1305, allocations: 39.78 kB / 0.6824 GB, free: 11.47 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.337e-05/0.1306, allocations: 27.86 kB / 0.6824 GB, free: 11.45 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.778e-05/0.1306, allocations: 7.984 kB / 0.6824 GB, free: 11.44 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001393/0.1308, allocations: 31.98 kB / 0.6825 GB, free: 11.41 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.578e-05/0.1308, allocations: 19.92 kB / 0.6825 GB, free: 11.39 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 5.892e-05/0.1309, allocations: 37.64 kB / 0.6825 GB, free: 11.34 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002117/0.1311, allocations: 88.03 kB / 0.6826 GB, free: 11.26 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.1311, allocations: 3.984 kB / 0.6826 GB, free: 11.25 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1311, allocations: 3.938 kB / 0.6826 GB, free: 11.25 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.1312, allocations: 0 / 0.6826 GB, free: 11.25 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.000641/0.1318, allocations: 454.3 kB / 0.683 GB, free: 10.75 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.1319, allocations: 8.031 kB / 0.683 GB, free: 10.74 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.613e-05/0.1319, allocations: 15.81 kB / 0.6831 GB, free: 10.72 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002689/0.1322, allocations: 194.9 kB / 0.6832 GB, free: 10.49 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.809e-05/0.1323, allocations: 3.953 kB / 0.6832 GB, free: 10.49 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.808e-05/0.1323, allocations: 4 kB / 0.6833 GB, free: 10.48 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002096/0.1325, allocations: 57.67 kB / 0.6833 GB, free: 10.42 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/0.1325, allocations: 11.91 kB / 0.6833 GB, free: 10.41 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.1326, allocations: 0 / 0.6833 GB, free: 10.41 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.1326, allocations: 4 kB / 0.6833 GB, free: 10.41 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001198/0.1327, allocations: 23.98 kB / 0.6833 GB, free: 10.38 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004981/0.1332, allocations: 292.9 kB / 0.6836 GB, free: 10.05 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000262/0.1335, allocations: 54.69 kB / 0.6837 GB, free: 9.984 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.385e-05/0.1336, allocations: 32.72 kB / 0.6837 GB, free: 9.949 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.999e-05/0.1337, allocations: 0 / 0.6837 GB, free: 9.949 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002956/0.134, allocations: 71.39 kB / 0.6838 GB, free: 9.867 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.735e-06/0.134, allocations: 0 / 0.6838 GB, free: 9.867 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008415/0.1348, allocations: 181.1 kB / 0.6839 GB, free: 9.684 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/0.1349, allocations: 51.41 kB / 0.684 GB, free: 9.621 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003108/0.1352, allocations: 191.2 kB / 0.6842 GB, free: 9.422 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.219e-05/0.1353, allocations: 37.7 kB / 0.6842 GB, free: 9.379 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.301e-05/0.1354, allocations: 100.1 kB / 0.6843 GB, free: 9.277 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.357e-05/0.1354, allocations: 23.66 kB / 0.6843 GB, free: 9.254 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.576e-06/0.1354, allocations: 0 / 0.6843 GB, free: 9.254 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.1356, allocations: 326.8 kB / 0.6846 GB, free: 8.926 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.1358, allocations: 31.98 kB / 0.6847 GB, free: 8.895 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001447/0.1359, allocations: 49.69 kB / 0.6847 GB, free: 8.84 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.1361, allocations: 65.7 kB / 0.6848 GB, free: 8.77 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.1361, allocations: 0 / 0.6848 GB, free: 8.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004084/0.1365, allocations: 155.2 kB / 0.6849 GB, free: 8.605 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.58e-05/0.1366, allocations: 41.59 kB / 0.685 GB, free: 8.559 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.1366, allocations: 0 / 0.685 GB, free: 8.559 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.1366, allocations: 0 / 0.685 GB, free: 8.559 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/0.1368, allocations: 19.94 kB / 0.685 GB, free: 8.539 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.1368, allocations: 7.984 kB / 0.685 GB, free: 8.531 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.177e-05/0.1369, allocations: 4 kB / 0.685 GB, free: 8.527 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.876e-05/0.137, allocations: 8.031 kB / 0.685 GB, free: 8.52 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.0001516/0.1371, allocations: 133.9 kB / 0.6851 GB, free: 8.379 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.941e-05/0.1372, allocations: 11.81 kB / 0.6851 GB, free: 8.367 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.921e-05/0.1372, allocations: 17.44 kB / 0.6852 GB, free: 8.344 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.1373, allocations: 0 / 0.6852 GB, free: 8.344 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.1373, allocations: 0 / 0.6852 GB, free: 8.344 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.409e-05/0.1374, allocations: 93 kB / 0.6853 GB, free: 8.234 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.614e-05/0.1374, allocations: 4 kB / 0.6853 GB, free: 8.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.589e-05/0.1375, allocations: 3.984 kB / 0.6853 GB, free: 8.227 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.784e-05/0.1376, allocations: 11.95 kB / 0.6853 GB, free: 8.215 MB / 394.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003592/0.1379, allocations: 188.8 kB / 0.6855 GB, free: 8.023 MB / 394.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000384/0.1383, allocations: 274.6 kB / 0.6857 GB, free: 7.738 MB / 394.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000107/0.1384, allocations: 27.98 kB / 0.6857 GB, free: 7.711 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001728/0.1386, allocations: 148.9 kB / 0.6859 GB, free: 7.566 MB / 394.7 MB Notification: Performance of Backend: time 6.21e-07/0.1386, allocations: 0 / 0.6859 GB, free: 7.566 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001855/0.1405, allocations: 0.5303 MB / 0.6864 GB, free: 7.016 MB / 394.7 MB Notification: Performance of SimCode: time 0.0008226/0.1414, allocations: 0.6859 MB / 0.6871 GB, free: 6.285 MB / 394.7 MB Notification: Performance of Templates: time 0.006435/0.1478, allocations: 1.642 MB / 0.6887 GB, free: 4.641 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.table[4,1],t_new.table[4,2],t_new.timeScale,t_new.verboseRead,t_new.y[1],time