Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,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.Test41") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003905/0.003905, allocations: 365.9 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.068/4.068, allocations: 388.9 MB / 405.6 MB, free: 10.32 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.003587/0.003586, allocations: 240.6 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.5569/0.5569, allocations: 80.03 MB / 0.5627 GB, free: 19.85 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006935/0.0006938, allocations: 16 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1268, allocations: 54.88 MB / 0.6801 GB, free: 41.64 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.002808/0.1297, allocations: 1.355 MB / 0.6814 GB, free: 40.27 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002016/0.1318, allocations: 0.7073 MB / 0.6821 GB, free: 39.55 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.1319, allocations: 0 / 0.6821 GB, free: 39.55 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000407/0.1323, allocations: 79.75 kB / 0.6822 GB, free: 39.48 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002767/0.1326, allocations: 59.86 kB / 0.6823 GB, free: 39.42 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002794/0.1329, allocations: 47.89 kB / 0.6823 GB, free: 39.37 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002204/0.1332, allocations: 95.67 kB / 0.6824 GB, free: 39.28 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.1333, allocations: 8 kB / 0.6824 GB, free: 39.27 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.1334, allocations: 39.84 kB / 0.6824 GB, free: 39.23 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.1336, allocations: 47.81 kB / 0.6825 GB, free: 39.18 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.344e-05/0.1337, allocations: 4 kB / 0.6825 GB, free: 39.18 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001682/0.1339, allocations: 39.98 kB / 0.6825 GB, free: 39.14 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.542e-05/0.1339, allocations: 23.86 kB / 0.6826 GB, free: 39.12 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.723e-05/0.134, allocations: 37.64 kB / 0.6826 GB, free: 39.07 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000244/0.1343, allocations: 96.02 kB / 0.6827 GB, free: 38.98 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.1343, allocations: 4 kB / 0.6827 GB, free: 38.98 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.776e-06/0.1343, allocations: 0 / 0.6827 GB, free: 38.98 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.702e-06/0.1343, allocations: 0 / 0.6827 GB, free: 38.98 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.0006888/0.135, allocations: 458.2 kB / 0.6831 GB, free: 38.47 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.595e-05/0.1351, allocations: 8.828 kB / 0.6831 GB, free: 38.46 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.508e-05/0.1352, allocations: 11.91 kB / 0.6831 GB, free: 38.45 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002866/0.1355, allocations: 214.3 kB / 0.6833 GB, free: 38.2 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.852e-05/0.1355, allocations: 0 / 0.6833 GB, free: 38.2 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.384e-05/0.1356, allocations: 4 kB / 0.6833 GB, free: 38.2 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002418/0.1359, allocations: 57.67 kB / 0.6834 GB, free: 38.14 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.1359, allocations: 0 / 0.6834 GB, free: 38.14 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.1359, allocations: 4 kB / 0.6834 GB, free: 38.13 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.1359, allocations: 3.953 kB / 0.6834 GB, free: 38.13 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001327/0.1361, allocations: 19.92 kB / 0.6834 GB, free: 38.11 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005235/0.1366, allocations: 304.8 kB / 0.6837 GB, free: 37.76 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002909/0.1369, allocations: 62.61 kB / 0.6838 GB, free: 37.69 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.943e-05/0.1371, allocations: 16.86 kB / 0.6838 GB, free: 37.67 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.57e-05/0.1371, allocations: 0 / 0.6838 GB, free: 37.67 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000284/0.1374, allocations: 79.33 kB / 0.6839 GB, free: 37.58 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 3.517e-06/0.1374, allocations: 0 / 0.6839 GB, free: 37.58 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009624/0.1384, allocations: 177.2 kB / 0.684 GB, free: 37.4 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/0.1385, allocations: 51.41 kB / 0.6841 GB, free: 37.34 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003187/0.1388, allocations: 207.5 kB / 0.6843 GB, free: 37.13 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/0.1389, allocations: 29.7 kB / 0.6843 GB, free: 37.09 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.226e-05/0.139, allocations: 111.9 kB / 0.6844 GB, free: 36.98 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.365e-05/0.139, allocations: 23.72 kB / 0.6844 GB, free: 36.96 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.444e-05/0.139, allocations: 4 kB / 0.6844 GB, free: 36.95 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.279e-05/0.1391, allocations: 318.8 kB / 0.6848 GB, free: 36.63 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001655/0.1393, allocations: 35.92 kB / 0.6848 GB, free: 36.6 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001729/0.1395, allocations: 49.69 kB / 0.6848 GB, free: 36.54 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001931/0.1397, allocations: 61.7 kB / 0.6849 GB, free: 36.48 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.1398, allocations: 0 / 0.6849 GB, free: 36.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004984/0.1403, allocations: 159.2 kB / 0.685 GB, free: 36.31 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.349e-05/0.1403, allocations: 41.64 kB / 0.6851 GB, free: 36.26 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.1404, allocations: 80 / 0.6851 GB, free: 36.26 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.1404, allocations: 0 / 0.6851 GB, free: 36.26 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002023/0.1406, allocations: 27.97 kB / 0.6851 GB, free: 36.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.1406, allocations: 3.984 kB / 0.6851 GB, free: 36.23 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/0.1408, allocations: 4.094 kB / 0.6851 GB, free: 36.23 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.488e-05/0.1408, allocations: 7.938 kB / 0.6851 GB, free: 36.22 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.0001579/0.141, allocations: 141.6 kB / 0.6853 GB, free: 36.07 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.467e-05/0.1411, allocations: 11.81 kB / 0.6853 GB, free: 36.06 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.664e-05/0.1412, allocations: 21.36 kB / 0.6853 GB, free: 36.05 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.1412, allocations: 0 / 0.6853 GB, free: 36.05 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.1412, allocations: 0 / 0.6853 GB, free: 36.05 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.983e-05/0.1413, allocations: 93 kB / 0.6854 GB, free: 35.94 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.622e-05/0.1414, allocations: 11.92 kB / 0.6854 GB, free: 35.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.09e-05/0.1415, allocations: 384 / 0.6854 GB, free: 35.93 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.19e-05/0.1415, allocations: 4 kB / 0.6854 GB, free: 35.92 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004269/0.142, allocations: 180.9 kB / 0.6856 GB, free: 35.74 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004482/0.1424, allocations: 282.5 kB / 0.6858 GB, free: 35.45 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001497/0.1426, allocations: 31.98 kB / 0.6859 GB, free: 35.41 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002053/0.1428, allocations: 150.2 kB / 0.686 GB, free: 35.27 MB / 346.7 MB Notification: Performance of Backend: time 8.61e-07/0.1429, allocations: 0 / 0.686 GB, free: 35.27 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002632/0.1455, allocations: 0.5372 MB / 0.6865 GB, free: 34.88 MB / 346.7 MB Notification: Performance of SimCode: time 0.0008848/0.1464, allocations: 0.686 MB / 0.6872 GB, free: 34.15 MB / 346.7 MB Notification: Performance of Templates: time 0.008615/0.1551, allocations: 1.637 MB / 0.6888 GB, free: 32.52 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.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.timeScale,t_new.verboseRead,t_new.y[1],time