Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,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.Test57") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002891/0.002897, allocations: 355 kB / 15.95 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.727/3.727, allocations: 341.5 MB / 358.2 MB, free: 28.75 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003467/0.003466, allocations: 220.7 kB / 397.9 MB, free: 6.164 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5349/0.5349, allocations: 76.1 MB / 0.5014 GB, free: 0.8242 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008805/0.0008807, allocations: 16 kB / 0.5592 GB, free: 60.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1158, allocations: 48.71 MB / 0.6068 GB, free: 11.53 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.001894/0.1178, allocations: 1.296 MB / 0.608 GB, free: 10.23 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001585/0.1194, allocations: 1.011 MB / 0.609 GB, free: 9.207 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.426e-05/0.1194, allocations: 0 / 0.609 GB, free: 9.207 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002639/0.1197, allocations: 27.91 kB / 0.609 GB, free: 9.18 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001748/0.1199, allocations: 27.91 kB / 0.6091 GB, free: 9.152 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002176/0.1201, allocations: 63.8 kB / 0.6091 GB, free: 9.09 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001274/0.1203, allocations: 67.78 kB / 0.6092 GB, free: 9.023 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.822e-05/0.1204, allocations: 11.97 kB / 0.6092 GB, free: 9.012 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.572e-05/0.1205, allocations: 23.91 kB / 0.6092 GB, free: 8.988 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000138/0.1206, allocations: 27.86 kB / 0.6092 GB, free: 8.961 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.017e-05/0.1207, allocations: 4 kB / 0.6093 GB, free: 8.957 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001588/0.1208, allocations: 55.97 kB / 0.6093 GB, free: 8.902 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.7e-05/0.1209, allocations: 15.92 kB / 0.6093 GB, free: 8.887 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.329e-05/0.1209, allocations: 29.7 kB / 0.6093 GB, free: 8.852 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001935/0.1211, allocations: 88.09 kB / 0.6094 GB, free: 8.766 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1212, allocations: 4 kB / 0.6094 GB, free: 8.762 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1212, allocations: 0 / 0.6094 GB, free: 8.762 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.1212, allocations: 4 kB / 0.6094 GB, free: 8.758 MB / 282.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.0004837/0.1217, allocations: 412.7 kB / 0.6098 GB, free: 8.301 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.1217, allocations: 8.031 kB / 0.6098 GB, free: 8.293 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.513e-05/0.1218, allocations: 4 kB / 0.6098 GB, free: 8.289 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002013/0.122, allocations: 198.8 kB / 0.61 GB, free: 8.055 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.122, allocations: 0 / 0.61 GB, free: 8.055 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.651e-05/0.1221, allocations: 4 kB / 0.61 GB, free: 8.051 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.1222, allocations: 67.39 kB / 0.6101 GB, free: 7.973 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.1222, allocations: 0 / 0.6101 GB, free: 7.973 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.1223, allocations: 0 / 0.6101 GB, free: 7.973 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.1223, allocations: 0 / 0.6101 GB, free: 7.973 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.975e-05/0.1223, allocations: 15.98 kB / 0.6101 GB, free: 7.957 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000338/0.1227, allocations: 276.8 kB / 0.6104 GB, free: 7.637 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002103/0.1229, allocations: 42.56 kB / 0.6104 GB, free: 7.586 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.267e-05/0.123, allocations: 12.86 kB / 0.6104 GB, free: 7.57 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.123, allocations: 12.02 kB / 0.6104 GB, free: 7.559 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000158/0.1232, allocations: 51.41 kB / 0.6105 GB, free: 7.496 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 3.136e-06/0.1232, allocations: 0 / 0.6105 GB, free: 7.496 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004567/0.1236, allocations: 109.4 kB / 0.6106 GB, free: 7.383 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.1237, allocations: 89.09 kB / 0.6107 GB, free: 7.277 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.1238, allocations: 141.5 kB / 0.6108 GB, free: 7.133 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.1239, allocations: 25.7 kB / 0.6108 GB, free: 7.102 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.448e-05/0.1239, allocations: 92.08 kB / 0.6109 GB, free: 7.008 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.471e-05/0.1239, allocations: 15.81 kB / 0.6109 GB, free: 6.992 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.114e-06/0.124, allocations: 3.938 kB / 0.611 GB, free: 6.988 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.214e-05/0.124, allocations: 322.8 kB / 0.6113 GB, free: 6.664 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.604e-05/0.1241, allocations: 19.98 kB / 0.6113 GB, free: 6.645 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.817e-05/0.1242, allocations: 33.72 kB / 0.6113 GB, free: 6.605 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.424e-05/0.1243, allocations: 53.69 kB / 0.6114 GB, free: 6.547 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.1243, allocations: 0 / 0.6114 GB, free: 6.547 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002149/0.1245, allocations: 119.2 kB / 0.6115 GB, free: 6.418 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.423e-05/0.1246, allocations: 37.7 kB / 0.6115 GB, free: 6.375 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.1246, allocations: 0 / 0.6115 GB, free: 6.375 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.1246, allocations: 0 / 0.6115 GB, free: 6.375 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.824e-05/0.1247, allocations: 11.98 kB / 0.6115 GB, free: 6.363 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.1247, allocations: 0 / 0.6115 GB, free: 6.363 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.671e-05/0.1248, allocations: 4 kB / 0.6115 GB, free: 6.359 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.1248, allocations: 8.312 kB / 0.6115 GB, free: 6.352 MB / 282.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 9.155e-05/0.1249, allocations: 119.1 kB / 0.6116 GB, free: 6.227 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.102e-05/0.1249, allocations: 11.97 kB / 0.6117 GB, free: 6.215 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.106e-05/0.125, allocations: 12.06 kB / 0.6117 GB, free: 6.203 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.125, allocations: 3.938 kB / 0.6117 GB, free: 6.199 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.125, allocations: 0 / 0.6117 GB, free: 6.199 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.81e-05/0.1251, allocations: 81.02 kB / 0.6118 GB, free: 6.102 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.971e-05/0.1251, allocations: 7.984 kB / 0.6118 GB, free: 6.094 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.761e-05/0.1251, allocations: 4 kB / 0.6118 GB, free: 6.09 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.579e-05/0.1252, allocations: 15.89 kB / 0.6118 GB, free: 6.074 MB / 282.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001719/0.1254, allocations: 141 kB / 0.6119 GB, free: 5.93 MB / 282.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001838/0.1256, allocations: 238.9 kB / 0.6121 GB, free: 5.68 MB / 282.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.961e-05/0.1256, allocations: 27.98 kB / 0.6122 GB, free: 5.652 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.009e-05/0.1257, allocations: 103.2 kB / 0.6123 GB, free: 5.551 MB / 282.7 MB Notification: Performance of Backend: time 7.12e-07/0.1257, allocations: 4 kB / 0.6123 GB, free: 5.547 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001592/0.1273, allocations: 500 kB / 0.6127 GB, free: 5.195 MB / 282.7 MB Notification: Performance of SimCode: time 0.0005573/0.1279, allocations: 0.6114 MB / 0.6133 GB, free: 4.531 MB / 282.7 MB Notification: Performance of Templates: time 0.00564/0.1336, allocations: 1.776 MB / 0.6151 GB, free: 2.77 MB / 282.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.verboseRead,t_new.y[1],time