Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002579/0.002584, 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.678/3.678, allocations: 341.5 MB / 358.2 MB, free: 12.56 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.003789/0.00379, allocations: 225.2 kB / 397.9 MB, free: 4.898 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.4926/0.4926, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004844/0.0004848, allocations: 12 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1023, allocations: 48.7 MB / 0.6067 GB, free: 4.637 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.002036/0.1044, allocations: 1.303 MB / 0.608 GB, free: 3.32 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.000959/0.1054, allocations: 427.5 kB / 0.6084 GB, free: 2.898 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.058e-05/0.1055, allocations: 4 kB / 0.6084 GB, free: 2.895 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003544/0.1059, allocations: 91.78 kB / 0.6085 GB, free: 2.805 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002176/0.1061, allocations: 59.86 kB / 0.6086 GB, free: 2.746 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002747/0.1064, allocations: 63.8 kB / 0.6086 GB, free: 2.684 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001647/0.1066, allocations: 79.81 kB / 0.6087 GB, free: 2.605 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.1067, allocations: 8 kB / 0.6087 GB, free: 2.598 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.364e-05/0.1068, allocations: 39.83 kB / 0.6088 GB, free: 2.559 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.1069, allocations: 51.88 kB / 0.6088 GB, free: 2.508 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.341e-05/0.107, allocations: 0 / 0.6088 GB, free: 2.508 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001563/0.1071, allocations: 43.92 kB / 0.6089 GB, free: 2.465 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.405e-05/0.1072, allocations: 19.92 kB / 0.6089 GB, free: 2.445 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.393e-05/0.1073, allocations: 41.64 kB / 0.6089 GB, free: 2.398 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002085/0.1075, allocations: 100 kB / 0.609 GB, free: 2.301 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.1075, allocations: 0 / 0.609 GB, free: 2.301 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1075, allocations: 0 / 0.609 GB, free: 2.301 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.1075, allocations: 0 / 0.609 GB, free: 2.301 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005881/0.1081, allocations: 428.5 kB / 0.6094 GB, free: 1.828 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.1082, allocations: 15.97 kB / 0.6094 GB, free: 1.812 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.849e-05/0.1082, allocations: 15.77 kB / 0.6094 GB, free: 1.797 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002497/0.1085, allocations: 210.8 kB / 0.6096 GB, free: 1.551 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.1085, allocations: 0 / 0.6096 GB, free: 1.551 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.048e-05/0.1086, allocations: 8 kB / 0.6097 GB, free: 1.543 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.1087, allocations: 53.67 kB / 0.6097 GB, free: 1.484 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.1088, allocations: 0 / 0.6097 GB, free: 1.484 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.1088, allocations: 0 / 0.6097 GB, free: 1.484 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.1088, allocations: 0 / 0.6097 GB, free: 1.484 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.804e-05/0.1089, allocations: 27.88 kB / 0.6097 GB, free: 1.457 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004244/0.1093, allocations: 292.9 kB / 0.61 GB, free: 1.121 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/0.1095, allocations: 54.55 kB / 0.6101 GB, free: 1.059 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.171e-05/0.1095, allocations: 12.86 kB / 0.6101 GB, free: 1.043 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.773e-05/0.1096, allocations: 4 kB / 0.6101 GB, free: 1.039 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001937/0.1098, allocations: 71.33 kB / 0.6101 GB, free: 0.957 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 2.796e-06/0.1098, allocations: 0 / 0.6101 GB, free: 0.957 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005645/0.1104, allocations: 141.1 kB / 0.6103 GB, free: 0.8125 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.454e-05/0.1104, allocations: 51.41 kB / 0.6103 GB, free: 0.75 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002522/0.1107, allocations: 238.6 kB / 0.6106 GB, free: 0.5039 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.1107, allocations: 29.7 kB / 0.6106 GB, free: 480 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.338e-05/0.1108, allocations: 104.1 kB / 0.6107 GB, free: 372 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.128e-05/0.1108, allocations: 23.7 kB / 0.6107 GB, free: 348 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.213e-06/0.1109, allocations: 0 / 0.6107 GB, free: 348 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.82e-05/0.1109, allocations: 326.8 kB / 0.611 GB, free: 12 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3115/0.4224, allocations: 19.84 kB / 0.611 GB, free: 90.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.4226, allocations: 21.28 kB / 0.6111 GB, free: 90.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/0.4228, allocations: 52.06 kB / 0.6111 GB, free: 90.42 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.4228, allocations: 3.094 kB / 0.6111 GB, free: 90.42 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000443/0.4233, allocations: 135.8 kB / 0.6112 GB, free: 90.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.153e-05/0.4233, allocations: 33.66 kB / 0.6113 GB, free: 90.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.4234, allocations: 1.594 kB / 0.6113 GB, free: 90.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.5e-05/0.4234, allocations: 1.719 kB / 0.6113 GB, free: 90.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/0.4236, allocations: 12.48 kB / 0.6113 GB, free: 90.33 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.4236, allocations: 0.6562 kB / 0.6113 GB, free: 90.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.4237, allocations: 7.141 kB / 0.6113 GB, free: 90.33 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/0.4238, allocations: 4.312 kB / 0.6113 GB, free: 90.33 MB / 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 (8): * Single equations (assignments): 7 * 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.0002041/0.424, allocations: 141.3 kB / 0.6114 GB, free: 90.21 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.095e-05/0.424, allocations: 11.73 kB / 0.6114 GB, free: 90.21 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.389e-05/0.4241, allocations: 25.72 kB / 0.6115 GB, free: 90.21 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.365e-06/0.4242, allocations: 1.312 kB / 0.6115 GB, free: 90.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.4242, allocations: 0 / 0.6115 GB, free: 90.21 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.091e-05/0.4243, allocations: 87.78 kB / 0.6116 GB, free: 90.12 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.77e-05/0.4243, allocations: 4.5 kB / 0.6116 GB, free: 90.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.972e-05/0.4244, allocations: 13.33 kB / 0.6116 GB, free: 90.12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.579e-05/0.4245, allocations: 2.312 kB / 0.6116 GB, free: 90.12 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003348/0.4248, allocations: 156.7 kB / 0.6117 GB, free: 90.01 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003302/0.4252, allocations: 259.5 kB / 0.612 GB, free: 89.8 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.839e-05/0.4253, allocations: 15.62 kB / 0.612 GB, free: 89.8 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002986/0.4256, allocations: 176.9 kB / 0.6122 GB, free: 89.73 MB / 362.7 MB Notification: Performance of Backend: time 1.092e-06/0.4256, allocations: 3.969 kB / 0.6122 GB, free: 89.73 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002356/0.428, allocations: 444.2 kB / 0.6126 GB, free: 89.61 MB / 362.7 MB Notification: Performance of SimCode: time 0.001055/0.4291, allocations: 0.6884 MB / 0.6133 GB, free: 88.98 MB / 362.7 MB Notification: Performance of Templates: time 0.008881/0.4381, allocations: 1.529 MB / 0.6147 GB, free: 88.97 MB / 362.7 MB "" Variables in the reference:time,t_new.nextTimeEvent,t_new.y[1],t_new.y[2],d_t_new.y Variables in the result:d_t_new.u,d_t_new.y,t_new.columns[1],t_new.columns[2],t_new.extrapolation,t_new.nextTimeEvent,t_new.nout,t_new.offset[1],t_new.p_offset[1],t_new.p_offset[2],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[1,3],t_new.table[2,1],t_new.table[2,2],t_new.table[2,3],t_new.table[3,1],t_new.table[3,2],t_new.table[3,3],t_new.table[4,1],t_new.table[4,2],t_new.table[4,3],t_new.table[5,1],t_new.table[5,2],t_new.table[5,3],t_new.verboseRead,t_new.y[1],t_new.y[2],time