Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,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.Test53") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004273/0.004277, allocations: 371.4 kB / 15.97 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.933/3.933, allocations: 388.9 MB / 405.6 MB, free: 9.645 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.005523/0.005523, allocations: 222.3 kB / 451 MB, free: 145 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.5421/0.5421, allocations: 80.03 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006428/0.0006431, allocations: 12 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1051, allocations: 54.88 MB / 0.6801 GB, free: 41.64 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.001949/0.1071, allocations: 1.359 MB / 0.6814 GB, free: 40.26 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00135/0.1085, allocations: 0.7112 MB / 0.6821 GB, free: 39.54 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.256e-05/0.1086, allocations: 4 kB / 0.6821 GB, free: 39.54 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002671/0.1089, allocations: 39.83 kB / 0.6822 GB, free: 39.5 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001765/0.1091, allocations: 35.89 kB / 0.6822 GB, free: 39.46 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001975/0.1093, allocations: 51.89 kB / 0.6823 GB, free: 39.41 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001536/0.1095, allocations: 95.67 kB / 0.6824 GB, free: 39.32 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.158e-05/0.1096, allocations: 8 kB / 0.6824 GB, free: 39.31 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.349e-05/0.1097, allocations: 31.86 kB / 0.6824 GB, free: 39.28 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.361e-05/0.1097, allocations: 39.83 kB / 0.6824 GB, free: 39.24 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.1098, allocations: 0 / 0.6824 GB, free: 39.24 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.1099, allocations: 39.92 kB / 0.6825 GB, free: 39.2 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.683e-05/0.11, allocations: 19.92 kB / 0.6825 GB, free: 39.18 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.151e-05/0.11, allocations: 41.64 kB / 0.6825 GB, free: 39.14 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000169/0.1102, allocations: 96.02 kB / 0.6826 GB, free: 39.04 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1102, allocations: 0 / 0.6826 GB, free: 39.04 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1102, allocations: 0 / 0.6826 GB, free: 39.04 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.1102, allocations: 4 kB / 0.6826 GB, free: 39.04 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.0004797/0.1107, allocations: 462.2 kB / 0.6831 GB, free: 38.53 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.1108, allocations: 8.828 kB / 0.6831 GB, free: 38.52 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.687e-05/0.1108, allocations: 11.81 kB / 0.6831 GB, free: 38.51 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.1111, allocations: 206.8 kB / 0.6833 GB, free: 38.27 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.515e-05/0.1111, allocations: 8 kB / 0.6833 GB, free: 38.26 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.302e-05/0.1111, allocations: 0 / 0.6833 GB, free: 38.26 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.1113, allocations: 57.67 kB / 0.6833 GB, free: 38.2 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.1113, allocations: 4 kB / 0.6833 GB, free: 38.19 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.1114, allocations: 0 / 0.6833 GB, free: 38.19 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.1114, allocations: 3.953 kB / 0.6834 GB, free: 38.19 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.925e-05/0.1115, allocations: 23.92 kB / 0.6834 GB, free: 38.16 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003479/0.1118, allocations: 296.8 kB / 0.6837 GB, free: 37.82 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000214/0.1121, allocations: 58.67 kB / 0.6837 GB, free: 37.76 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.496e-05/0.1122, allocations: 28.84 kB / 0.6837 GB, free: 37.73 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.1122, allocations: 0 / 0.6837 GB, free: 37.73 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002122/0.1124, allocations: 67.34 kB / 0.6838 GB, free: 37.65 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.854e-06/0.1124, allocations: 0 / 0.6838 GB, free: 37.65 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006759/0.1131, allocations: 185.1 kB / 0.684 GB, free: 37.46 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.421e-05/0.1132, allocations: 51.41 kB / 0.684 GB, free: 37.4 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002147/0.1134, allocations: 227.6 kB / 0.6842 GB, free: 37.17 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.1134, allocations: 25.7 kB / 0.6843 GB, free: 37.14 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.672e-05/0.1135, allocations: 111.9 kB / 0.6844 GB, free: 37.02 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.871e-05/0.1135, allocations: 27.69 kB / 0.6844 GB, free: 37 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.854e-06/0.1135, allocations: 0 / 0.6844 GB, free: 37 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.091e-05/0.1136, allocations: 322.8 kB / 0.6847 GB, free: 36.67 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.1137, allocations: 31.98 kB / 0.6847 GB, free: 36.64 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.1139, allocations: 53.64 kB / 0.6848 GB, free: 36.58 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001247/0.114, allocations: 65.69 kB / 0.6849 GB, free: 36.51 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.114, allocations: 0 / 0.6849 GB, free: 36.51 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003199/0.1143, allocations: 159.1 kB / 0.685 GB, free: 36.34 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.579e-05/0.1144, allocations: 41.64 kB / 0.685 GB, free: 36.3 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/0.1144, allocations: 0 / 0.685 GB, free: 36.3 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.1144, allocations: 0 / 0.685 GB, free: 36.3 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.1146, allocations: 16 kB / 0.6851 GB, free: 36.28 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.1146, allocations: 4.094 kB / 0.6851 GB, free: 36.28 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.154e-05/0.1147, allocations: 15.95 kB / 0.6851 GB, free: 36.26 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.1147, allocations: 4.375 kB / 0.6851 GB, free: 36.26 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.0001042/0.1148, allocations: 133.6 kB / 0.6852 GB, free: 36.12 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.462e-05/0.1148, allocations: 15.8 kB / 0.6852 GB, free: 36.11 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.941e-05/0.1149, allocations: 21.36 kB / 0.6852 GB, free: 36.09 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.1149, allocations: 3.984 kB / 0.6853 GB, free: 36.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.1149, allocations: 4 kB / 0.6853 GB, free: 36.08 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.11e-05/0.115, allocations: 93 kB / 0.6853 GB, free: 35.97 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.205e-05/0.115, allocations: 11.94 kB / 0.6854 GB, free: 35.96 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.231e-05/0.1151, allocations: 3.984 kB / 0.6854 GB, free: 35.96 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.729e-05/0.1152, allocations: 8 kB / 0.6854 GB, free: 35.95 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002693/0.1154, allocations: 168.9 kB / 0.6855 GB, free: 35.78 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002877/0.1157, allocations: 294.5 kB / 0.6858 GB, free: 35.47 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.978e-05/0.1159, allocations: 23.98 kB / 0.6858 GB, free: 35.45 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001444/0.116, allocations: 163.2 kB / 0.686 GB, free: 35.29 MB / 346.7 MB Notification: Performance of Backend: time 6.91e-07/0.116, allocations: 0 / 0.686 GB, free: 35.29 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001665/0.1177, allocations: 0.5337 MB / 0.6865 GB, free: 34.9 MB / 346.7 MB Notification: Performance of SimCode: time 0.0006584/0.1184, allocations: 0.6941 MB / 0.6872 GB, free: 34.16 MB / 346.7 MB Notification: Performance of Templates: time 0.005634/0.124, allocations: 1.641 MB / 0.6888 GB, free: 32.53 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.table[6,1],t_new.table[6,2],t_new.timeScale,t_new.verboseRead,t_new.y[1],time