Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002632/0.002637, allocations: 364.4 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.013/4.013, allocations: 388.9 MB / 405.6 MB, free: 9.59 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.003639/0.003638, allocations: 231.1 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.6206/0.6206, allocations: 80.03 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004803/0.0004809, allocations: 16.95 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09682/0.09734, allocations: 54.88 MB / 0.6801 GB, free: 41.65 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.002024/0.09941, allocations: 1.367 MB / 0.6814 GB, free: 40.26 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001438/0.1009, allocations: 0.7306 MB / 0.6822 GB, free: 39.52 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.562e-05/0.101, allocations: 0 / 0.6822 GB, free: 39.52 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003043/0.1014, allocations: 31.91 kB / 0.6822 GB, free: 39.49 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001831/0.1016, allocations: 27.84 kB / 0.6822 GB, free: 39.46 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002155/0.1018, allocations: 55.88 kB / 0.6823 GB, free: 39.41 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000151/0.102, allocations: 87.7 kB / 0.6824 GB, free: 39.32 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.964e-05/0.1021, allocations: 12.23 kB / 0.6824 GB, free: 39.31 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.06e-05/0.1022, allocations: 39.83 kB / 0.6824 GB, free: 39.27 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.495e-05/0.1023, allocations: 31.84 kB / 0.6824 GB, free: 39.24 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.437e-05/0.1023, allocations: 0 / 0.6824 GB, free: 39.24 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001836/0.1025, allocations: 63.91 kB / 0.6825 GB, free: 39.18 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.428e-05/0.1026, allocations: 15.92 kB / 0.6825 GB, free: 39.16 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.541e-05/0.1026, allocations: 37.64 kB / 0.6825 GB, free: 39.12 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002167/0.1029, allocations: 100.1 kB / 0.6826 GB, free: 39.02 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.922e-06/0.1029, allocations: 4 kB / 0.6826 GB, free: 39.02 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.494e-06/0.1029, allocations: 0 / 0.6826 GB, free: 39.02 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.1029, allocations: 0 / 0.6826 GB, free: 39.02 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005342/0.1034, allocations: 450.3 kB / 0.6831 GB, free: 38.52 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.1035, allocations: 8.031 kB / 0.6831 GB, free: 38.51 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.726e-05/0.1036, allocations: 11.89 kB / 0.6831 GB, free: 38.5 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.1038, allocations: 202.9 kB / 0.6833 GB, free: 38.26 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.453e-05/0.1038, allocations: 0 / 0.6833 GB, free: 38.26 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.127e-05/0.1039, allocations: 8 kB / 0.6833 GB, free: 38.25 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002148/0.1041, allocations: 83.3 kB / 0.6834 GB, free: 38.16 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.1041, allocations: 0 / 0.6834 GB, free: 38.16 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.1041, allocations: 4 kB / 0.6834 GB, free: 38.16 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.1042, allocations: 3.953 kB / 0.6834 GB, free: 38.15 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001152/0.1043, allocations: 27.98 kB / 0.6834 GB, free: 38.12 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003898/0.1047, allocations: 296.8 kB / 0.6837 GB, free: 37.79 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002015/0.1049, allocations: 70.47 kB / 0.6838 GB, free: 37.71 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.119e-05/0.105, allocations: 20.98 kB / 0.6838 GB, free: 37.68 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.308e-05/0.1051, allocations: 0 / 0.6838 GB, free: 37.68 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002258/0.1053, allocations: 79.39 kB / 0.6839 GB, free: 37.59 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 2.385e-06/0.1053, allocations: 0 / 0.6839 GB, free: 37.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0007162/0.1061, allocations: 181.3 kB / 0.684 GB, free: 37.41 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/0.1061, allocations: 77.11 kB / 0.6841 GB, free: 37.32 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.1063, allocations: 160.2 kB / 0.6843 GB, free: 37.15 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.1063, allocations: 33.69 kB / 0.6843 GB, free: 37.11 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.656e-05/0.1063, allocations: 88.23 kB / 0.6844 GB, free: 37.02 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.1064, allocations: 27.64 kB / 0.6844 GB, free: 36.99 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.115e-05/0.1064, allocations: 8 kB / 0.6844 GB, free: 36.98 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.341e-05/0.1065, allocations: 314.8 kB / 0.6847 GB, free: 36.67 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.1066, allocations: 35.97 kB / 0.6847 GB, free: 36.63 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.1067, allocations: 66.44 kB / 0.6848 GB, free: 36.56 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.1069, allocations: 65.69 kB / 0.6849 GB, free: 36.49 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1069, allocations: 0 / 0.6849 GB, free: 36.49 MB / 346.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003536/0.1073, allocations: 167.2 kB / 0.685 GB, free: 36.31 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.809e-05/0.1073, allocations: 37.69 kB / 0.6851 GB, free: 36.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.1074, allocations: 4.062 kB / 0.6851 GB, free: 36.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.1074, allocations: 0 / 0.6851 GB, free: 36.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.1075, allocations: 16 kB / 0.6851 GB, free: 36.25 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.1076, allocations: 0 / 0.6851 GB, free: 36.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.137e-05/0.1077, allocations: 15.89 kB / 0.6851 GB, free: 36.23 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.56e-05/0.1077, allocations: 4 kB / 0.6851 GB, free: 36.23 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 (12): * Single equations (assignments): 11 * 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.000101/0.1078, allocations: 122.6 kB / 0.6852 GB, free: 36.1 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.526e-05/0.1078, allocations: 11.86 kB / 0.6852 GB, free: 36.09 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003292/0.1082, allocations: 122.3 kB / 0.6853 GB, free: 35.96 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.1082, allocations: 0 / 0.6853 GB, free: 35.96 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1082, allocations: 0 / 0.6853 GB, free: 35.96 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.756e-05/0.1083, allocations: 93 kB / 0.6854 GB, free: 35.86 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.519e-05/0.1083, allocations: 7.984 kB / 0.6854 GB, free: 35.85 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.586e-05/0.1084, allocations: 4 kB / 0.6854 GB, free: 35.84 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.961e-05/0.1085, allocations: 7.984 kB / 0.6855 GB, free: 35.84 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000291/0.1088, allocations: 184.9 kB / 0.6856 GB, free: 35.65 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003582/0.1091, allocations: 290.8 kB / 0.6859 GB, free: 35.35 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.851e-05/0.1092, allocations: 23.98 kB / 0.6859 GB, free: 35.32 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.391e-05/0.1094, allocations: 115.9 kB / 0.686 GB, free: 35.21 MB / 346.7 MB Notification: Performance of Backend: time 1.012e-06/0.1094, allocations: 0 / 0.686 GB, free: 35.21 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001997/0.1114, allocations: 0.6314 MB / 0.6867 GB, free: 34.75 MB / 346.7 MB Notification: Performance of SimCode: time 0.0006065/0.112, allocations: 0.6428 MB / 0.6873 GB, free: 34.06 MB / 346.7 MB Notification: Performance of Templates: time 0.006723/0.1188, allocations: 2.102 MB / 0.6893 GB, free: 31.97 MB / 346.7 MB "" Variables in the reference:time,t_new.nextTimeEvent,t_new.y[1],d_t_new.y,realExpression.y Variables in the result:d_t_new.u,d_t_new.y,realExpression.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.timeScale,t_new.verboseRead,t_new.y[1],time