Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,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.Test27") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003948/0.003948, allocations: 354.8 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.404/3.404, allocations: 341.5 MB / 358.2 MB, free: 28.64 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.005139/0.005139, allocations: 211.7 kB / 397.9 MB, free: 6.023 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.5105/0.5105, allocations: 76.09 MB / 0.5014 GB, free: 0.7891 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004777/0.0004779, allocations: 16 kB / 0.5592 GB, free: 60.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0915/0.09201, allocations: 48.71 MB / 0.6068 GB, free: 11.52 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.001921/0.09399, allocations: 1.296 MB / 0.608 GB, free: 10.21 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009317/0.09497, allocations: 431.4 kB / 0.6084 GB, free: 9.785 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.855e-05/0.09507, allocations: 0 / 0.6084 GB, free: 9.785 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002729/0.09536, allocations: 27.91 kB / 0.6085 GB, free: 9.758 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001722/0.09555, allocations: 35.83 kB / 0.6085 GB, free: 9.723 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000253/0.09582, allocations: 59.81 kB / 0.6085 GB, free: 9.664 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001289/0.09596, allocations: 63.77 kB / 0.6086 GB, free: 9.602 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.09608, allocations: 15.97 kB / 0.6086 GB, free: 9.586 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.88e-05/0.09616, allocations: 23.92 kB / 0.6086 GB, free: 9.562 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.874e-05/0.09624, allocations: 23.84 kB / 0.6087 GB, free: 9.539 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.01e-05/0.09627, allocations: 4 kB / 0.6087 GB, free: 9.535 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/0.09641, allocations: 35.98 kB / 0.6087 GB, free: 9.5 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.112e-05/0.09646, allocations: 15.98 kB / 0.6087 GB, free: 9.484 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.883e-05/0.09651, allocations: 37.64 kB / 0.6088 GB, free: 9.441 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001751/0.0967, allocations: 76.11 kB / 0.6088 GB, free: 9.367 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.09671, allocations: 0 / 0.6088 GB, free: 9.367 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.09673, allocations: 8 kB / 0.6088 GB, free: 9.359 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.287e-06/0.09675, allocations: 0 / 0.6088 GB, free: 9.359 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.0004526/0.09721, allocations: 412.7 kB / 0.6092 GB, free: 8.902 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.09726, allocations: 8.031 kB / 0.6092 GB, free: 8.895 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.388e-05/0.09732, allocations: 7.906 kB / 0.6092 GB, free: 8.887 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001929/0.09752, allocations: 198.8 kB / 0.6094 GB, free: 8.652 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.09755, allocations: 0 / 0.6094 GB, free: 8.652 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.525e-05/0.09759, allocations: 4 kB / 0.6094 GB, free: 8.648 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.09773, allocations: 45.69 kB / 0.6095 GB, free: 8.598 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.09775, allocations: 3.938 kB / 0.6095 GB, free: 8.594 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.09778, allocations: 3.984 kB / 0.6095 GB, free: 8.59 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.09779, allocations: 0 / 0.6095 GB, free: 8.59 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.457e-05/0.09786, allocations: 12 kB / 0.6095 GB, free: 8.578 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003456/0.09822, allocations: 284.9 kB / 0.6098 GB, free: 8.25 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002228/0.09846, allocations: 42.5 kB / 0.6098 GB, free: 8.199 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.168e-05/0.09851, allocations: 12.86 kB / 0.6098 GB, free: 8.184 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.09854, allocations: 0 / 0.6098 GB, free: 8.184 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002002/0.09875, allocations: 63.48 kB / 0.6099 GB, free: 8.109 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 2.264e-06/0.09877, allocations: 0 / 0.6099 GB, free: 8.109 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004415/0.09922, allocations: 113.3 kB / 0.61 GB, free: 7.992 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.16e-05/0.09926, allocations: 51.41 kB / 0.61 GB, free: 7.93 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001723/0.09944, allocations: 178.2 kB / 0.6102 GB, free: 7.746 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.09947, allocations: 33.7 kB / 0.6102 GB, free: 7.707 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.975e-05/0.09953, allocations: 100.1 kB / 0.6103 GB, free: 7.605 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.253e-05/0.09956, allocations: 15.81 kB / 0.6104 GB, free: 7.59 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.312e-06/0.09958, allocations: 0 / 0.6104 GB, free: 7.59 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.872e-05/0.09964, allocations: 318.8 kB / 0.6107 GB, free: 7.27 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.72e-05/0.09971, allocations: 20 kB / 0.6107 GB, free: 7.25 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.976e-05/0.09977, allocations: 19.92 kB / 0.6107 GB, free: 7.23 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.145e-05/0.09985, allocations: 45.7 kB / 0.6107 GB, free: 7.18 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.09986, allocations: 0 / 0.6107 GB, free: 7.18 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001998/0.1001, allocations: 127.3 kB / 0.6109 GB, free: 7.043 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.361e-05/0.1001, allocations: 37.64 kB / 0.6109 GB, free: 7 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.1001, allocations: 0 / 0.6109 GB, free: 7 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.1002, allocations: 0 / 0.6109 GB, free: 7 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.269e-05/0.1002, allocations: 8 kB / 0.6109 GB, free: 6.992 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.1003, allocations: 4 kB / 0.6109 GB, free: 6.988 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.32e-05/0.1003, allocations: 12.08 kB / 0.6109 GB, free: 6.977 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.1004, allocations: 7.891 kB / 0.6109 GB, free: 6.969 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 8.664e-05/0.1004, allocations: 123.2 kB / 0.611 GB, free: 6.84 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.863e-05/0.1005, allocations: 11.91 kB / 0.6111 GB, free: 6.828 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.086e-05/0.1005, allocations: 16.58 kB / 0.6111 GB, free: 6.809 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.1006, allocations: 0 / 0.6111 GB, free: 6.809 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1006, allocations: 3.984 kB / 0.6111 GB, free: 6.805 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.461e-05/0.1006, allocations: 85.02 kB / 0.6112 GB, free: 6.703 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.868e-05/0.1006, allocations: 7.953 kB / 0.6112 GB, free: 6.695 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.306e-05/0.1007, allocations: 0 / 0.6112 GB, free: 6.695 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.647e-05/0.1007, allocations: 7.984 kB / 0.6112 GB, free: 6.688 MB / 282.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001662/0.1009, allocations: 148.9 kB / 0.6113 GB, free: 6.535 MB / 282.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001777/0.1011, allocations: 242.7 kB / 0.6115 GB, free: 6.281 MB / 282.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.604e-05/0.1012, allocations: 12 kB / 0.6116 GB, free: 6.27 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000108/0.1013, allocations: 127.8 kB / 0.6117 GB, free: 6.145 MB / 282.7 MB Notification: Performance of Backend: time 7.52e-07/0.1013, allocations: 0 / 0.6117 GB, free: 6.145 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001335/0.1027, allocations: 433 kB / 0.6121 GB, free: 5.828 MB / 282.7 MB Notification: Performance of SimCode: time 0.0005742/0.1033, allocations: 0.6469 MB / 0.6127 GB, free: 5.133 MB / 282.7 MB Notification: Performance of Templates: time 0.005309/0.1086, allocations: 1.423 MB / 0.6141 GB, free: 3.723 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.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