Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,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.Test30") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002718/0.002718, allocations: 360.3 kB / 15.96 MB, free: 6.207 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.174/4.174, allocations: 388.9 MB / 405.6 MB, free: 10.24 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.003476/0.003475, allocations: 237.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.5811/0.5811, allocations: 80.02 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004572/0.0004575, allocations: 19.81 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1109, allocations: 54.87 MB / 0.6801 GB, free: 41.64 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.003/0.114, allocations: 1.355 MB / 0.6814 GB, free: 40.27 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002258/0.1163, allocations: 0.7151 MB / 0.6821 GB, free: 39.54 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.967e-05/0.1164, allocations: 0 / 0.6821 GB, free: 39.54 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003536/0.1168, allocations: 39.83 kB / 0.6822 GB, free: 39.5 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003692/0.1172, allocations: 23.91 kB / 0.6822 GB, free: 39.48 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002597/0.1175, allocations: 55.88 kB / 0.6822 GB, free: 39.43 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001986/0.1177, allocations: 87.7 kB / 0.6823 GB, free: 39.34 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.1178, allocations: 4 kB / 0.6823 GB, free: 39.34 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/0.118, allocations: 39.83 kB / 0.6824 GB, free: 39.3 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.1181, allocations: 31.86 kB / 0.6824 GB, free: 39.27 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.858e-05/0.1181, allocations: 0 / 0.6824 GB, free: 39.27 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001721/0.1183, allocations: 35.98 kB / 0.6824 GB, free: 39.23 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.102e-05/0.1184, allocations: 23.91 kB / 0.6825 GB, free: 39.21 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.921e-05/0.1185, allocations: 41.64 kB / 0.6825 GB, free: 39.16 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00023/0.1187, allocations: 84.05 kB / 0.6826 GB, free: 39.08 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.1188, allocations: 0 / 0.6826 GB, free: 39.08 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1188, allocations: 0 / 0.6826 GB, free: 39.08 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.229e-05/0.1188, allocations: 0 / 0.6826 GB, free: 39.08 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.0006884/0.1195, allocations: 458.2 kB / 0.683 GB, free: 38.57 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.731e-05/0.1196, allocations: 16.75 kB / 0.683 GB, free: 38.55 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.507e-05/0.1197, allocations: 7.906 kB / 0.683 GB, free: 38.55 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002953/0.12, allocations: 202.4 kB / 0.6832 GB, free: 38.31 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.385e-05/0.12, allocations: 4 kB / 0.6832 GB, free: 38.31 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.751e-05/0.1201, allocations: 8 kB / 0.6832 GB, free: 38.3 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002536/0.1204, allocations: 57.61 kB / 0.6833 GB, free: 38.24 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.1204, allocations: 0 / 0.6833 GB, free: 38.24 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.1204, allocations: 0 / 0.6833 GB, free: 38.24 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.1205, allocations: 3.953 kB / 0.6833 GB, free: 38.23 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000152/0.1206, allocations: 27.92 kB / 0.6833 GB, free: 38.21 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005318/0.1212, allocations: 288.9 kB / 0.6836 GB, free: 37.88 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000344/0.1216, allocations: 58.61 kB / 0.6837 GB, free: 37.81 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001214/0.1217, allocations: 24.84 kB / 0.6837 GB, free: 37.78 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.227e-05/0.1218, allocations: 8 kB / 0.6837 GB, free: 37.77 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002679/0.122, allocations: 67.34 kB / 0.6838 GB, free: 37.7 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 4.058e-06/0.1221, allocations: 3.984 kB / 0.6838 GB, free: 37.69 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.000963/0.123, allocations: 177.1 kB / 0.6839 GB, free: 37.51 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.721e-05/0.1231, allocations: 51.41 kB / 0.684 GB, free: 37.45 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002643/0.1234, allocations: 182.2 kB / 0.6842 GB, free: 37.26 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.1234, allocations: 29.7 kB / 0.6842 GB, free: 37.23 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.693e-05/0.1235, allocations: 108 kB / 0.6843 GB, free: 37.12 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.505e-05/0.1236, allocations: 23.73 kB / 0.6843 GB, free: 37.09 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.322e-05/0.1236, allocations: 4 kB / 0.6843 GB, free: 37.09 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.65e-05/0.1237, allocations: 318.8 kB / 0.6846 GB, free: 36.77 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001627/0.1239, allocations: 31.98 kB / 0.6846 GB, free: 36.74 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001757/0.1241, allocations: 49.64 kB / 0.6847 GB, free: 36.68 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001977/0.1243, allocations: 65.7 kB / 0.6848 GB, free: 36.61 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1243, allocations: 0 / 0.6848 GB, free: 36.61 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000517/0.1249, allocations: 161 kB / 0.6849 GB, free: 36.45 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.01e-05/0.1249, allocations: 41.64 kB / 0.6849 GB, free: 36.4 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.125, allocations: 0 / 0.6849 GB, free: 36.4 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.125, allocations: 0 / 0.6849 GB, free: 36.4 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001855/0.1252, allocations: 23.98 kB / 0.685 GB, free: 36.38 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.1252, allocations: 0 / 0.685 GB, free: 36.38 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001232/0.1253, allocations: 4 kB / 0.685 GB, free: 36.37 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.353e-05/0.1254, allocations: 8.031 kB / 0.685 GB, free: 36.36 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.0001396/0.1255, allocations: 125.8 kB / 0.6851 GB, free: 36.23 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.323e-05/0.1256, allocations: 12.28 kB / 0.6851 GB, free: 36.22 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.7e-05/0.1257, allocations: 16.67 kB / 0.6851 GB, free: 36.2 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.1257, allocations: 0 / 0.6851 GB, free: 36.2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.1257, allocations: 96 / 0.6851 GB, free: 36.2 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.801e-05/0.1258, allocations: 104.8 kB / 0.6852 GB, free: 36.08 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.593e-05/0.1259, allocations: 11.86 kB / 0.6852 GB, free: 36.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.198e-05/0.126, allocations: 4 kB / 0.6852 GB, free: 36.07 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.706e-05/0.1261, allocations: 8 kB / 0.6853 GB, free: 36.06 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004055/0.1265, allocations: 176.9 kB / 0.6854 GB, free: 35.88 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004262/0.1269, allocations: 270.7 kB / 0.6857 GB, free: 35.6 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001408/0.1271, allocations: 35.92 kB / 0.6857 GB, free: 35.56 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001704/0.1273, allocations: 138.1 kB / 0.6858 GB, free: 35.43 MB / 346.7 MB Notification: Performance of Backend: time 1.353e-06/0.1273, allocations: 0 / 0.6858 GB, free: 35.43 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002614/0.1299, allocations: 0.5289 MB / 0.6864 GB, free: 35.05 MB / 346.7 MB Notification: Performance of SimCode: time 0.0008394/0.1308, allocations: 0.6704 MB / 0.687 GB, free: 34.34 MB / 346.7 MB Notification: Performance of Templates: time 0.008495/0.1393, allocations: 1.622 MB / 0.6886 GB, free: 32.73 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.timeScale,t_new.verboseRead,t_new.y[1],time