Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,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.Test28") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003938/0.003945, allocations: 352.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.779/3.779, allocations: 341.5 MB / 358.2 MB, free: 12.63 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.00471/0.00471, allocations: 229.1 kB / 397.9 MB, free: 4.98 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.4872/0.4872, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007672/0.0007676, allocations: 16 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1196, allocations: 48.7 MB / 0.6068 GB, free: 4.641 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.002958/0.1226, allocations: 1.299 MB / 0.608 GB, free: 3.328 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001472/0.1242, allocations: 423.5 kB / 0.6084 GB, free: 2.91 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.879e-05/0.1243, allocations: 0 / 0.6084 GB, free: 2.91 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003568/0.1247, allocations: 31.89 kB / 0.6085 GB, free: 2.879 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002499/0.125, allocations: 31.91 kB / 0.6085 GB, free: 2.848 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003711/0.1254, allocations: 59.8 kB / 0.6085 GB, free: 2.789 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001986/0.1256, allocations: 55.84 kB / 0.6086 GB, free: 2.734 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.1258, allocations: 11.98 kB / 0.6086 GB, free: 2.723 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.75e-05/0.1259, allocations: 31.86 kB / 0.6086 GB, free: 2.691 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.267e-05/0.126, allocations: 23.91 kB / 0.6087 GB, free: 2.668 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.333e-05/0.1261, allocations: 0 / 0.6087 GB, free: 2.668 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002001/0.1263, allocations: 39.94 kB / 0.6087 GB, free: 2.629 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.292e-05/0.1264, allocations: 11.92 kB / 0.6087 GB, free: 2.617 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.492e-05/0.1265, allocations: 37.64 kB / 0.6087 GB, free: 2.574 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002511/0.1268, allocations: 88.09 kB / 0.6088 GB, free: 2.488 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.1268, allocations: 0 / 0.6088 GB, free: 2.488 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.1268, allocations: 0 / 0.6088 GB, free: 2.488 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.1269, 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.0006719/0.1275, allocations: 412.6 kB / 0.6092 GB, free: 2.031 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.252e-05/0.1276, allocations: 8.031 kB / 0.6092 GB, free: 2.023 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.793e-05/0.1277, allocations: 15.84 kB / 0.6092 GB, free: 2.008 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002898/0.128, allocations: 186.9 kB / 0.6094 GB, free: 1.785 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.611e-05/0.1281, allocations: 8 kB / 0.6094 GB, free: 1.777 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.659e-05/0.1281, allocations: 7.938 kB / 0.6094 GB, free: 1.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.1283, allocations: 45.62 kB / 0.6095 GB, free: 1.719 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.1284, allocations: 4 kB / 0.6095 GB, free: 1.715 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/0.1284, allocations: 3.953 kB / 0.6095 GB, free: 1.711 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.1284, allocations: 4 kB / 0.6095 GB, free: 1.707 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.617e-05/0.1285, allocations: 15.98 kB / 0.6095 GB, free: 1.691 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003551/0.1289, allocations: 268.9 kB / 0.6098 GB, free: 1.379 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000217/0.1291, allocations: 42.52 kB / 0.6098 GB, free: 1.328 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.395e-05/0.1291, allocations: 20.92 kB / 0.6098 GB, free: 1.305 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/0.1292, allocations: 4 kB / 0.6098 GB, free: 1.301 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000156/0.1293, allocations: 59.34 kB / 0.6099 GB, free: 1.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 2.214e-06/0.1293, allocations: 0 / 0.6099 GB, free: 1.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004378/0.1298, allocations: 121.3 kB / 0.61 GB, free: 1.105 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.375e-05/0.1298, allocations: 51.41 kB / 0.6101 GB, free: 1.043 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/0.13, allocations: 167.9 kB / 0.6102 GB, free: 0.8711 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.13, allocations: 25.7 kB / 0.6102 GB, free: 0.8398 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.158e-05/0.1301, allocations: 108 kB / 0.6103 GB, free: 0.7305 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.035e-05/0.1301, allocations: 11.91 kB / 0.6103 GB, free: 0.7188 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.472e-06/0.1301, allocations: 0 / 0.6103 GB, free: 0.7188 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.383e-05/0.1302, allocations: 322.8 kB / 0.6107 GB, free: 404 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.559e-05/0.1303, allocations: 16 kB / 0.6107 GB, free: 388 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.228e-05/0.1303, allocations: 27.92 kB / 0.6107 GB, free: 360 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.185e-05/0.1304, allocations: 45.7 kB / 0.6107 GB, free: 308 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1304, allocations: 0 / 0.6107 GB, free: 308 kB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002025/0.1307, allocations: 119.3 kB / 0.6109 GB, free: 176 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.425e-05/0.1307, allocations: 37.64 kB / 0.6109 GB, free: 132 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.1307, allocations: 4 kB / 0.6109 GB, free: 128 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.1307, allocations: 0 / 0.6109 GB, free: 128 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.033e-05/0.1308, allocations: 11.94 kB / 0.6109 GB, free: 116 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.1308, allocations: 4 kB / 0.6109 GB, free: 112 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.313e-05/0.1309, allocations: 4 kB / 0.6109 GB, free: 108 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.1309, allocations: 4 kB / 0.6109 GB, free: 104 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.3233/0.4543, allocations: 121.9 kB / 0.611 GB, free: 90.24 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.784e-05/0.4543, allocations: 9.812 kB / 0.611 GB, free: 90.24 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.265e-05/0.4544, allocations: 11.94 kB / 0.6111 GB, free: 90.24 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.4544, allocations: 5.078 kB / 0.6111 GB, free: 90.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.4544, allocations: 0 / 0.6111 GB, free: 90.24 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.572e-05/0.4545, allocations: 89.55 kB / 0.6111 GB, free: 90.15 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.654e-05/0.4545, allocations: 7.156 kB / 0.6112 GB, free: 90.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.336e-05/0.4546, allocations: 2.281 kB / 0.6112 GB, free: 90.15 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.737e-05/0.4547, allocations: 7.031 kB / 0.6112 GB, free: 90.15 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000221/0.4549, allocations: 146.9 kB / 0.6113 GB, free: 90.04 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000189/0.4551, allocations: 247 kB / 0.6115 GB, free: 89.84 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.225e-05/0.4552, allocations: 13.94 kB / 0.6116 GB, free: 89.84 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001274/0.4553, allocations: 132.7 kB / 0.6117 GB, free: 89.76 MB / 362.7 MB Notification: Performance of Backend: time 9.42e-07/0.4553, allocations: 0 / 0.6117 GB, free: 89.76 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001497/0.4568, allocations: 434.1 kB / 0.6121 GB, free: 89.64 MB / 362.7 MB Notification: Performance of SimCode: time 0.0006591/0.4575, allocations: 0.6336 MB / 0.6127 GB, free: 89.03 MB / 362.7 MB Notification: Performance of Templates: time 0.006443/0.464, allocations: 1.423 MB / 0.6141 GB, free: 89.02 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