Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,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.Test59") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00272/0.002726, 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 4.165/4.165, allocations: 388.9 MB / 405.6 MB, free: 10.23 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.003631/0.00363, allocations: 227.5 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.5996/0.5996, allocations: 80.02 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004559/0.0004561, allocations: 16 kB / 0.6265 GB, free: 96.51 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1037, allocations: 54.87 MB / 0.6801 GB, free: 41.64 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.001996/0.1058, allocations: 1.359 MB / 0.6814 GB, free: 40.26 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002053/0.1079, allocations: 1.274 MB / 0.6827 GB, free: 38.98 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.904e-05/0.108, allocations: 0 / 0.6827 GB, free: 38.98 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002753/0.1083, allocations: 39.83 kB / 0.6827 GB, free: 38.94 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001904/0.1085, allocations: 27.91 kB / 0.6827 GB, free: 38.91 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002069/0.1087, allocations: 67.8 kB / 0.6828 GB, free: 38.84 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001439/0.1089, allocations: 79.77 kB / 0.6829 GB, free: 38.77 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.102e-05/0.109, allocations: 8 kB / 0.6829 GB, free: 38.76 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.225e-05/0.1091, allocations: 35.86 kB / 0.6829 GB, free: 38.72 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001488/0.1093, allocations: 35.83 kB / 0.683 GB, free: 38.69 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.195e-05/0.1093, allocations: 4 kB / 0.683 GB, free: 38.68 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001657/0.1095, allocations: 55.97 kB / 0.683 GB, free: 38.63 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.129e-05/0.1095, allocations: 15.92 kB / 0.683 GB, free: 38.61 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.27e-05/0.1096, allocations: 41.58 kB / 0.6831 GB, free: 38.57 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002032/0.1098, allocations: 96.06 kB / 0.6832 GB, free: 38.47 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1098, allocations: 0 / 0.6832 GB, free: 38.47 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1098, allocations: 4 kB / 0.6832 GB, free: 38.47 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.728e-06/0.1098, allocations: 7.938 kB / 0.6832 GB, free: 38.46 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.0005144/0.1104, allocations: 450.3 kB / 0.6836 GB, free: 37.96 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.1104, allocations: 8.828 kB / 0.6836 GB, free: 37.95 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.939e-05/0.1105, allocations: 7.906 kB / 0.6836 GB, free: 37.95 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002281/0.1107, allocations: 190.9 kB / 0.6838 GB, free: 37.72 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/0.1108, allocations: 4 kB / 0.6838 GB, free: 37.71 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.035e-05/0.1108, allocations: 7.984 kB / 0.6838 GB, free: 37.71 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002081/0.111, allocations: 75.33 kB / 0.6839 GB, free: 37.62 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.1111, allocations: 0 / 0.6839 GB, free: 37.62 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.1111, allocations: 0 / 0.6839 GB, free: 37.62 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.1111, allocations: 7.953 kB / 0.6839 GB, free: 37.61 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000105/0.1112, allocations: 19.98 kB / 0.6839 GB, free: 37.59 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000375/0.1116, allocations: 288.9 kB / 0.6842 GB, free: 37.26 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002237/0.1119, allocations: 66.61 kB / 0.6843 GB, free: 37.19 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.517e-05/0.1119, allocations: 16.86 kB / 0.6843 GB, free: 37.17 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.029e-05/0.112, allocations: 3.984 kB / 0.6843 GB, free: 37.16 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002222/0.1122, allocations: 71.34 kB / 0.6843 GB, free: 37.08 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.926e-06/0.1122, allocations: 0 / 0.6843 GB, free: 37.08 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007377/0.113, allocations: 177.3 kB / 0.6845 GB, free: 36.9 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.113, allocations: 77.11 kB / 0.6846 GB, free: 36.81 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.1132, allocations: 148.4 kB / 0.6847 GB, free: 36.65 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.1132, allocations: 29.7 kB / 0.6848 GB, free: 36.62 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.064e-05/0.1133, allocations: 96.05 kB / 0.6848 GB, free: 36.52 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.228e-05/0.1134, allocations: 27.64 kB / 0.6849 GB, free: 36.49 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.847e-06/0.1134, allocations: 0 / 0.6849 GB, free: 36.49 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.293e-05/0.1134, allocations: 322.8 kB / 0.6852 GB, free: 36.17 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.1136, allocations: 35.98 kB / 0.6852 GB, free: 36.13 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001234/0.1137, allocations: 58.48 kB / 0.6853 GB, free: 36.07 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.1139, allocations: 67.56 kB / 0.6853 GB, free: 36 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1139, allocations: 0 / 0.6853 GB, free: 36 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003574/0.1142, allocations: 159.2 kB / 0.6855 GB, free: 35.83 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.155e-05/0.1143, allocations: 41.64 kB / 0.6855 GB, free: 35.78 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.1143, allocations: 4.062 kB / 0.6855 GB, free: 35.78 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.1143, allocations: 3.984 kB / 0.6855 GB, free: 35.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001775/0.1145, allocations: 16.38 kB / 0.6855 GB, free: 35.76 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.288e-05/0.1146, allocations: 0 / 0.6855 GB, free: 35.76 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.844e-05/0.1147, allocations: 8 kB / 0.6856 GB, free: 35.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.877e-05/0.1147, allocations: 8 kB / 0.6856 GB, free: 35.74 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.0001181/0.1148, allocations: 121.8 kB / 0.6857 GB, free: 35.61 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.805e-05/0.1149, allocations: 11.86 kB / 0.6857 GB, free: 35.6 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.277e-05/0.1149, allocations: 16.75 kB / 0.6857 GB, free: 35.59 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1149, allocations: 7.938 kB / 0.6857 GB, free: 35.58 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.1149, allocations: 3.984 kB / 0.6857 GB, free: 35.57 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.236e-05/0.115, allocations: 93 kB / 0.6858 GB, free: 35.46 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.5e-05/0.1151, allocations: 0 / 0.6858 GB, free: 35.46 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.897e-05/0.1152, allocations: 4 kB / 0.6858 GB, free: 35.46 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.669e-05/0.1152, allocations: 11.98 kB / 0.6858 GB, free: 35.45 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003108/0.1155, allocations: 168.9 kB / 0.686 GB, free: 35.28 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002975/0.1158, allocations: 282.6 kB / 0.6863 GB, free: 34.98 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.627e-05/0.116, allocations: 27.98 kB / 0.6863 GB, free: 34.96 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.39e-05/0.1161, allocations: 107.9 kB / 0.6864 GB, free: 34.85 MB / 346.7 MB Notification: Performance of Backend: time 8.41e-07/0.1161, allocations: 0 / 0.6864 GB, free: 34.85 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001989/0.1181, allocations: 0.6248 MB / 0.687 GB, free: 34.39 MB / 346.7 MB Notification: Performance of SimCode: time 0.0006498/0.1188, allocations: 0.6465 MB / 0.6876 GB, free: 33.7 MB / 346.7 MB Notification: Performance of Templates: time 0.007014/0.1258, allocations: 1.98 MB / 0.6896 GB, free: 31.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.timeScale,t_new.verboseRead,t_new.y[1],time