Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,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.Test35") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004058/0.004058, allocations: 366.6 kB / 15.96 MB, free: 6.203 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.309/4.309, allocations: 388.9 MB / 405.6 MB, free: 9.672 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.003584/0.003583, allocations: 229.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.6612/0.6612, allocations: 80.03 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000491/0.0004912, allocations: 16 kB / 0.6265 GB, free: 96.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1035, allocations: 54.87 MB / 0.6801 GB, free: 41.64 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.002122/0.1057, allocations: 1.351 MB / 0.6814 GB, free: 40.27 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001388/0.1071, allocations: 0.719 MB / 0.6821 GB, free: 39.54 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.306e-05/0.1072, allocations: 0 / 0.6821 GB, free: 39.54 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003217/0.1076, allocations: 75.83 kB / 0.6822 GB, free: 39.46 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002086/0.1078, allocations: 59.8 kB / 0.6823 GB, free: 39.41 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002081/0.108, allocations: 55.88 kB / 0.6823 GB, free: 39.35 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001627/0.1082, allocations: 95.69 kB / 0.6824 GB, free: 39.26 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.1083, allocations: 11.98 kB / 0.6824 GB, free: 39.25 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.607e-05/0.1084, allocations: 43.83 kB / 0.6825 GB, free: 39.2 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.1085, allocations: 55.81 kB / 0.6825 GB, free: 39.15 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.1086, allocations: 0 / 0.6825 GB, free: 39.15 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000126/0.1087, allocations: 35.92 kB / 0.6825 GB, free: 39.11 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.871e-05/0.1088, allocations: 23.92 kB / 0.6826 GB, free: 39.09 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.965e-05/0.1089, allocations: 37.64 kB / 0.6826 GB, free: 39.05 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001919/0.1091, allocations: 104 kB / 0.6827 GB, free: 38.95 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.1091, allocations: 4 kB / 0.6827 GB, free: 38.94 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1091, allocations: 0 / 0.6827 GB, free: 38.94 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.189e-06/0.1091, allocations: 0 / 0.6827 GB, free: 38.94 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.0005565/0.1097, allocations: 454.2 kB / 0.6831 GB, free: 38.44 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.1097, allocations: 8.828 kB / 0.6831 GB, free: 38.43 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.954e-05/0.1098, allocations: 15.81 kB / 0.6832 GB, free: 38.41 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002484/0.11, allocations: 206.8 kB / 0.6834 GB, free: 38.17 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.656e-05/0.1101, allocations: 4 kB / 0.6834 GB, free: 38.17 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.134e-05/0.1101, allocations: 4 kB / 0.6834 GB, free: 38.16 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001962/0.1103, allocations: 57.67 kB / 0.6834 GB, free: 38.1 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.1104, allocations: 0 / 0.6834 GB, free: 38.1 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.1104, allocations: 0 / 0.6834 GB, free: 38.1 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.1104, allocations: 7.891 kB / 0.6834 GB, free: 38.09 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.1105, allocations: 19.98 kB / 0.6834 GB, free: 38.07 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003769/0.1109, allocations: 296.9 kB / 0.6837 GB, free: 37.73 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002243/0.1111, allocations: 66.61 kB / 0.6838 GB, free: 37.66 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.779e-05/0.1112, allocations: 20.84 kB / 0.6838 GB, free: 37.64 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.1113, allocations: 0 / 0.6838 GB, free: 37.64 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002085/0.1115, allocations: 75.34 kB / 0.6839 GB, free: 37.55 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.913e-06/0.1115, allocations: 0 / 0.6839 GB, free: 37.55 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006965/0.1122, allocations: 189.1 kB / 0.6841 GB, free: 37.36 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.261e-05/0.1123, allocations: 51.41 kB / 0.6841 GB, free: 37.3 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002276/0.1125, allocations: 223.6 kB / 0.6843 GB, free: 37.07 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.1125, allocations: 29.7 kB / 0.6844 GB, free: 37.04 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.025e-05/0.1126, allocations: 108 kB / 0.6845 GB, free: 36.93 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.845e-05/0.1126, allocations: 27.64 kB / 0.6845 GB, free: 36.9 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.127e-06/0.1127, allocations: 0 / 0.6845 GB, free: 36.9 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.885e-05/0.1127, allocations: 326.8 kB / 0.6848 GB, free: 36.57 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.1129, allocations: 31.98 kB / 0.6848 GB, free: 36.54 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/0.113, allocations: 57.56 kB / 0.6849 GB, free: 36.48 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/0.1132, allocations: 61.7 kB / 0.6849 GB, free: 36.41 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1132, allocations: 0 / 0.6849 GB, free: 36.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003405/0.1135, allocations: 164.6 kB / 0.6851 GB, free: 36.24 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.431e-05/0.1136, allocations: 45.64 kB / 0.6851 GB, free: 36.19 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.1136, allocations: 0 / 0.6851 GB, free: 36.19 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.1136, allocations: 0 / 0.6851 GB, free: 36.19 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.1138, allocations: 20.03 kB / 0.6852 GB, free: 36.17 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.1138, allocations: 96 / 0.6852 GB, free: 36.17 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.909e-05/0.1139, allocations: 11.92 kB / 0.6852 GB, free: 36.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.746e-05/0.1139, allocations: 4 kB / 0.6852 GB, free: 36.15 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.0001223/0.1141, allocations: 133.8 kB / 0.6853 GB, free: 36.01 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.674e-05/0.1141, allocations: 15.81 kB / 0.6853 GB, free: 36 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.683e-05/0.1142, allocations: 17.36 kB / 0.6853 GB, free: 35.98 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.1142, allocations: 3.984 kB / 0.6853 GB, free: 35.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1142, allocations: 4 kB / 0.6853 GB, free: 35.98 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.287e-05/0.1143, allocations: 100.9 kB / 0.6854 GB, free: 35.86 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.306e-05/0.1143, allocations: 3.984 kB / 0.6854 GB, free: 35.86 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.459e-05/0.1144, allocations: 8 kB / 0.6855 GB, free: 35.85 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.322e-05/0.1144, allocations: 0 / 0.6855 GB, free: 35.85 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002846/0.1147, allocations: 176.9 kB / 0.6856 GB, free: 35.67 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002982/0.1151, allocations: 286.5 kB / 0.6859 GB, free: 35.37 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.35e-05/0.1152, allocations: 23.98 kB / 0.6859 GB, free: 35.35 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000157/0.1153, allocations: 171.2 kB / 0.6861 GB, free: 35.18 MB / 346.7 MB Notification: Performance of Backend: time 7.81e-07/0.1153, allocations: 0 / 0.6861 GB, free: 35.18 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001778/0.1171, allocations: 0.5215 MB / 0.6866 GB, free: 34.8 MB / 346.7 MB Notification: Performance of SimCode: time 0.000725/0.1179, allocations: 0.694 MB / 0.6873 GB, free: 34.06 MB / 346.7 MB Notification: Performance of Templates: time 0.00594/0.1238, allocations: 1.654 MB / 0.6889 GB, free: 32.43 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