Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,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.Test30") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004068/0.004074, allocations: 348.3 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 4.005/4.005, 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.003536/0.003536, allocations: 229.1 kB / 397.9 MB, free: 4.977 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.5229/0.5229, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007483/0.0007485, allocations: 16 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09901/0.09979, allocations: 48.7 MB / 0.6067 GB, free: 4.645 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.002068/0.1019, allocations: 1.303 MB / 0.608 GB, free: 3.328 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009474/0.1029, allocations: 427.5 kB / 0.6084 GB, free: 2.906 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.748e-05/0.103, allocations: 0 / 0.6084 GB, free: 2.906 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002737/0.1033, allocations: 27.91 kB / 0.6085 GB, free: 2.879 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001704/0.1035, allocations: 27.91 kB / 0.6085 GB, free: 2.852 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002509/0.1038, allocations: 59.81 kB / 0.6085 GB, free: 2.793 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001337/0.1039, allocations: 63.81 kB / 0.6086 GB, free: 2.73 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.614e-05/0.104, allocations: 11.94 kB / 0.6086 GB, free: 2.719 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.031e-05/0.1041, allocations: 23.92 kB / 0.6086 GB, free: 2.695 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.796e-05/0.1042, allocations: 27.86 kB / 0.6087 GB, free: 2.668 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.9e-05/0.1042, allocations: 0 / 0.6087 GB, free: 2.668 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001477/0.1044, allocations: 39.97 kB / 0.6087 GB, free: 2.629 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.277e-05/0.1044, allocations: 11.98 kB / 0.6087 GB, free: 2.617 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.281e-05/0.1045, allocations: 41.58 kB / 0.6087 GB, free: 2.57 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001938/0.1047, allocations: 76.12 kB / 0.6088 GB, free: 2.496 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.1047, allocations: 0 / 0.6088 GB, free: 2.496 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.1047, allocations: 0 / 0.6088 GB, free: 2.496 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.1047, allocations: 0 / 0.6088 GB, free: 2.496 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.000499/0.1052, allocations: 416.6 kB / 0.6092 GB, free: 2.035 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.1053, allocations: 8.031 kB / 0.6092 GB, free: 2.027 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.604e-05/0.1054, allocations: 11.86 kB / 0.6092 GB, free: 2.016 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002069/0.1056, allocations: 198.8 kB / 0.6094 GB, free: 1.781 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.1056, allocations: 4 kB / 0.6094 GB, free: 1.777 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.652e-05/0.1056, allocations: 0 / 0.6094 GB, free: 1.777 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.1058, allocations: 49.67 kB / 0.6095 GB, free: 1.723 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.1058, allocations: 7.938 kB / 0.6095 GB, free: 1.715 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.1059, allocations: 7.953 kB / 0.6095 GB, free: 1.707 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.1059, allocations: 4 kB / 0.6095 GB, free: 1.703 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.112e-05/0.1059, allocations: 4 kB / 0.6095 GB, free: 1.699 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003507/0.1063, allocations: 276.9 kB / 0.6098 GB, free: 1.379 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002214/0.1065, allocations: 46.48 kB / 0.6098 GB, free: 1.324 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.351e-05/0.1066, allocations: 12.86 kB / 0.6098 GB, free: 1.309 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.1066, allocations: 8 kB / 0.6098 GB, free: 1.301 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001639/0.1068, allocations: 59.44 kB / 0.6099 GB, free: 1.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 3.036e-06/0.1068, allocations: 0 / 0.6099 GB, free: 1.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004624/0.1073, allocations: 113.3 kB / 0.61 GB, free: 1.113 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.791e-05/0.1073, allocations: 55.41 kB / 0.61 GB, free: 1.047 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001718/0.1075, allocations: 167.9 kB / 0.6102 GB, free: 0.875 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.1075, allocations: 25.7 kB / 0.6102 GB, free: 0.8438 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.195e-05/0.1076, allocations: 112 kB / 0.6103 GB, free: 0.7305 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.44e-05/0.1076, allocations: 11.89 kB / 0.6103 GB, free: 0.7188 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.542e-06/0.1077, allocations: 0 / 0.6103 GB, free: 0.7188 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.036e-05/0.1077, allocations: 322.8 kB / 0.6107 GB, free: 404 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.688e-05/0.1078, allocations: 19.98 kB / 0.6107 GB, free: 384 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.159e-05/0.1078, allocations: 19.94 kB / 0.6107 GB, free: 364 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.539e-05/0.1079, allocations: 53.69 kB / 0.6107 GB, free: 304 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1079, allocations: 0 / 0.6107 GB, free: 304 kB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002051/0.1082, allocations: 111.3 kB / 0.6109 GB, free: 180 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.619e-05/0.1082, allocations: 41.66 kB / 0.6109 GB, free: 132 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1082, allocations: 4.031 kB / 0.6109 GB, free: 128 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.1083, allocations: 3.938 kB / 0.6109 GB, free: 124 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.049e-05/0.1083, allocations: 11.98 kB / 0.6109 GB, free: 112 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.1084, allocations: 4.141 kB / 0.6109 GB, free: 108 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.234e-05/0.1084, allocations: 8 kB / 0.6109 GB, free: 100 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.1085, allocations: 4 kB / 0.6109 GB, free: 96 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.2815/0.39, allocations: 114.5 kB / 0.611 GB, free: 90.49 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.802e-05/0.3901, allocations: 13.86 kB / 0.611 GB, free: 90.49 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.071e-05/0.3902, allocations: 16.27 kB / 0.6111 GB, free: 90.49 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.3902, allocations: 1.812 kB / 0.6111 GB, free: 90.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.3902, allocations: 0 / 0.6111 GB, free: 90.49 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.184e-05/0.3902, allocations: 84.52 kB / 0.6111 GB, free: 90.39 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.617e-05/0.3903, allocations: 9.781 kB / 0.6112 GB, free: 90.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.495e-05/0.3904, allocations: 3.281 kB / 0.6112 GB, free: 90.39 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.359e-05/0.3904, allocations: 5.484 kB / 0.6112 GB, free: 90.39 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000232/0.3907, allocations: 150.2 kB / 0.6113 GB, free: 90.29 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000202/0.3909, allocations: 236.5 kB / 0.6115 GB, free: 90.09 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.611e-05/0.391, allocations: 20.41 kB / 0.6116 GB, free: 90.09 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001355/0.3911, allocations: 132.5 kB / 0.6117 GB, free: 90.01 MB / 362.7 MB Notification: Performance of Backend: time 9.22e-07/0.3911, allocations: 0 / 0.6117 GB, free: 90.01 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001448/0.3926, allocations: 425.9 kB / 0.6121 GB, free: 89.88 MB / 362.7 MB Notification: Performance of SimCode: time 0.0006613/0.3933, allocations: 0.6414 MB / 0.6127 GB, free: 89.27 MB / 362.7 MB Notification: Performance of Templates: time 0.006257/0.3996, allocations: 1.419 MB / 0.6141 GB, free: 89.26 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