Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004206/0.004211, allocations: 348.4 kB / 15.94 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.841/3.841, allocations: 341.5 MB / 358.2 MB, free: 12.64 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003507/0.003507, allocations: 229.1 kB / 397.9 MB, free: 4.988 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5312/0.5312, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006032/0.0006034, allocations: 12 kB / 0.5592 GB, free: 53.47 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09083/0.09147, allocations: 48.71 MB / 0.6068 GB, free: 4.645 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.002046/0.09358, allocations: 1.299 MB / 0.608 GB, free: 3.332 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009412/0.09458, allocations: 419.5 kB / 0.6084 GB, free: 2.918 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.566e-05/0.09468, allocations: 0 / 0.6084 GB, free: 2.918 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002941/0.09499, allocations: 31.89 kB / 0.6085 GB, free: 2.887 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002105/0.09522, allocations: 27.91 kB / 0.6085 GB, free: 2.859 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002686/0.0955, allocations: 63.8 kB / 0.6085 GB, free: 2.797 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001323/0.09565, allocations: 55.84 kB / 0.6086 GB, free: 2.742 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.09577, allocations: 8 kB / 0.6086 GB, free: 2.734 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.218e-05/0.09585, allocations: 35.83 kB / 0.6086 GB, free: 2.699 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.877e-05/0.09593, allocations: 23.86 kB / 0.6087 GB, free: 2.676 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/0.09596, allocations: 4 kB / 0.6087 GB, free: 2.672 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001477/0.09612, allocations: 32 kB / 0.6087 GB, free: 2.641 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.483e-05/0.09617, allocations: 19.91 kB / 0.6087 GB, free: 2.621 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.165e-05/0.09623, allocations: 37.64 kB / 0.6087 GB, free: 2.578 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000185/0.09642, allocations: 80.11 kB / 0.6088 GB, free: 2.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.09644, allocations: 0 / 0.6088 GB, free: 2.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.09645, allocations: 11.94 kB / 0.6088 GB, free: 2.488 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.169e-06/0.09647, allocations: 0 / 0.6088 GB, free: 2.488 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004826/0.09696, allocations: 400.6 kB / 0.6092 GB, free: 2.043 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.09702, allocations: 8.031 kB / 0.6092 GB, free: 2.035 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.939e-05/0.09708, allocations: 11.86 kB / 0.6092 GB, free: 2.023 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002103/0.0973, allocations: 198.8 kB / 0.6094 GB, free: 1.789 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.09733, allocations: 0 / 0.6094 GB, free: 1.789 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.619e-05/0.09737, allocations: 8 kB / 0.6094 GB, free: 1.781 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.09751, allocations: 45.62 kB / 0.6095 GB, free: 1.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.09753, allocations: 4 kB / 0.6095 GB, free: 1.727 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.09756, allocations: 3.953 kB / 0.6095 GB, free: 1.723 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.09757, allocations: 0 / 0.6095 GB, free: 1.723 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.345e-05/0.09764, allocations: 15.98 kB / 0.6095 GB, free: 1.707 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003645/0.09802, allocations: 272.9 kB / 0.6098 GB, free: 1.391 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002297/0.09826, allocations: 42.5 kB / 0.6098 GB, free: 1.34 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.42e-05/0.09832, allocations: 16.95 kB / 0.6098 GB, free: 1.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.822e-05/0.09835, allocations: 3.984 kB / 0.6098 GB, free: 1.316 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001692/0.09853, allocations: 59.36 kB / 0.6099 GB, free: 1.246 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 2.705e-06/0.09855, allocations: 0 / 0.6099 GB, free: 1.246 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004842/0.09904, allocations: 113.3 kB / 0.61 GB, free: 1.129 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.406e-05/0.09908, allocations: 55.39 kB / 0.61 GB, free: 1.062 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002026/0.0993, allocations: 167.9 kB / 0.6102 GB, free: 0.8906 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.09933, allocations: 33.7 kB / 0.6102 GB, free: 0.8516 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.606e-05/0.09939, allocations: 104 kB / 0.6103 GB, free: 0.7461 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.564e-05/0.09943, allocations: 11.89 kB / 0.6103 GB, free: 0.7344 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.526e-06/0.09945, allocations: 4 kB / 0.6103 GB, free: 0.7305 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.134e-05/0.09953, allocations: 318.8 kB / 0.6106 GB, free: 420 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.721e-05/0.0996, allocations: 16 kB / 0.6107 GB, free: 404 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.489e-05/0.09966, allocations: 23.92 kB / 0.6107 GB, free: 380 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.364e-05/0.09976, allocations: 45.7 kB / 0.6107 GB, free: 328 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.09977, allocations: 0 / 0.6107 GB, free: 328 kB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002241/0.1, allocations: 123.3 kB / 0.6108 GB, free: 192 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.024e-05/0.1001, allocations: 37.66 kB / 0.6109 GB, free: 148 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.1001, allocations: 4.141 kB / 0.6109 GB, free: 144 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.1001, allocations: 3.938 kB / 0.6109 GB, free: 140 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.59e-05/0.1002, allocations: 8 kB / 0.6109 GB, free: 132 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.1002, allocations: 3.984 kB / 0.6109 GB, free: 128 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.472e-05/0.1003, allocations: 8 kB / 0.6109 GB, free: 120 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.1003, allocations: 0 / 0.6109 GB, free: 120 kB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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.2675/0.3678, allocations: 123.9 kB / 0.611 GB, free: 90.32 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.784e-05/0.3679, allocations: 16.58 kB / 0.611 GB, free: 90.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.96e-05/0.368, allocations: 13.25 kB / 0.6111 GB, free: 90.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.368, allocations: 0 / 0.6111 GB, free: 90.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.368, allocations: 0 / 0.6111 GB, free: 90.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.715e-05/0.3681, allocations: 86.39 kB / 0.6111 GB, free: 90.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.498e-05/0.3681, allocations: 6.531 kB / 0.6111 GB, free: 90.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.514e-05/0.3682, allocations: 7.047 kB / 0.6112 GB, free: 90.23 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.008e-05/0.3683, allocations: 6.375 kB / 0.6112 GB, free: 90.23 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002332/0.3685, allocations: 146.6 kB / 0.6113 GB, free: 90.12 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002086/0.3687, allocations: 238.2 kB / 0.6115 GB, free: 89.92 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.436e-05/0.3688, allocations: 16.86 kB / 0.6115 GB, free: 89.92 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000131/0.3689, allocations: 132.6 kB / 0.6117 GB, free: 89.84 MB / 362.7 MB Notification: Performance of Backend: time 8.21e-07/0.3689, allocations: 0 / 0.6117 GB, free: 89.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00147/0.3704, allocations: 443.1 kB / 0.6121 GB, free: 89.72 MB / 362.7 MB Notification: Performance of SimCode: time 0.0006811/0.3711, allocations: 0.6386 MB / 0.6127 GB, free: 89.11 MB / 362.7 MB Notification: Performance of Templates: time 0.006295/0.3775, allocations: 1.419 MB / 0.6141 GB, free: 89.1 MB / 362.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_min,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.verboseRead,t_new.y[1],time