Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,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.Test40") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004393/0.0044, 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.87/3.87, allocations: 341.5 MB / 358.2 MB, free: 12.55 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.003698/0.003698, allocations: 217.2 kB / 397.9 MB, free: 4.902 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.597/0.597, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004784/0.0004788, allocations: 12 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08531/0.08581, allocations: 48.71 MB / 0.6068 GB, free: 4.625 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.001899/0.08776, allocations: 1.299 MB / 0.608 GB, free: 3.312 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.000888/0.08868, allocations: 427.4 kB / 0.6084 GB, free: 2.891 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.275e-05/0.08875, allocations: 0 / 0.6084 GB, free: 2.891 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003264/0.08909, allocations: 67.84 kB / 0.6085 GB, free: 2.824 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001772/0.08928, allocations: 55.86 kB / 0.6085 GB, free: 2.77 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002007/0.0895, allocations: 55.81 kB / 0.6086 GB, free: 2.715 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001284/0.08964, allocations: 67.77 kB / 0.6087 GB, free: 2.648 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.929e-05/0.08974, allocations: 15.98 kB / 0.6087 GB, free: 2.633 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.735e-05/0.08983, allocations: 35.84 kB / 0.6087 GB, free: 2.598 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.023e-05/0.08993, allocations: 47.81 kB / 0.6088 GB, free: 2.551 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.08996, allocations: 0 / 0.6088 GB, free: 2.551 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001211/0.09009, allocations: 39.98 kB / 0.6088 GB, free: 2.512 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.156e-05/0.09014, allocations: 19.92 kB / 0.6088 GB, free: 2.492 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.667e-05/0.09019, allocations: 37.64 kB / 0.6089 GB, free: 2.449 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.09037, allocations: 80.11 kB / 0.6089 GB, free: 2.371 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.09038, allocations: 0 / 0.6089 GB, free: 2.371 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.09039, allocations: 0 / 0.6089 GB, free: 2.371 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.0904, allocations: 0 / 0.6089 GB, free: 2.371 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.0004707/0.09088, allocations: 416.6 kB / 0.6093 GB, free: 1.91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.09094, allocations: 8.031 kB / 0.6093 GB, free: 1.902 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.41e-05/0.09099, allocations: 19.7 kB / 0.6094 GB, free: 1.883 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001862/0.09119, allocations: 191 kB / 0.6095 GB, free: 1.656 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.09122, allocations: 4 kB / 0.6095 GB, free: 1.652 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.613e-05/0.09125, allocations: 3.906 kB / 0.6095 GB, free: 1.648 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.09138, allocations: 45.62 kB / 0.6096 GB, free: 1.598 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.0914, allocations: 0 / 0.6096 GB, free: 1.598 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.09142, allocations: 8 kB / 0.6096 GB, free: 1.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.09144, allocations: 0 / 0.6096 GB, free: 1.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.14e-05/0.09151, allocations: 23.92 kB / 0.6096 GB, free: 1.566 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003255/0.09185, allocations: 284.9 kB / 0.6099 GB, free: 1.238 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000202/0.09206, allocations: 38.58 kB / 0.6099 GB, free: 1.191 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.393e-05/0.09211, allocations: 16.94 kB / 0.6099 GB, free: 1.172 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.09214, allocations: 4 kB / 0.6099 GB, free: 1.168 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001461/0.0923, allocations: 59.34 kB / 0.61 GB, free: 1.098 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.904e-06/0.09231, allocations: 0 / 0.61 GB, free: 1.098 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004185/0.09274, allocations: 117.3 kB / 0.6101 GB, free: 0.9766 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.173e-05/0.09278, allocations: 51.41 kB / 0.6102 GB, free: 0.9141 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002246/0.09301, allocations: 196.3 kB / 0.6103 GB, free: 0.7148 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.09304, allocations: 33.7 kB / 0.6104 GB, free: 0.6758 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.465e-05/0.09311, allocations: 108.1 kB / 0.6105 GB, free: 0.5664 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.19e-05/0.09314, allocations: 11.81 kB / 0.6105 GB, free: 0.5547 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-06/0.09315, allocations: 0 / 0.6105 GB, free: 0.5547 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.233e-05/0.09322, allocations: 326.8 kB / 0.6108 GB, free: 232 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.306e-05/0.09329, allocations: 12 kB / 0.6108 GB, free: 220 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.983e-05/0.09335, allocations: 23.98 kB / 0.6108 GB, free: 196 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.179e-05/0.09343, allocations: 49.73 kB / 0.6109 GB, free: 140 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.09344, allocations: 0 / 0.6109 GB, free: 140 kB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001958/0.09365, allocations: 115.2 kB / 0.611 GB, free: 12 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.3158/0.4094, allocations: 33.84 kB / 0.611 GB, free: 90.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.4095, allocations: 3.094 kB / 0.611 GB, free: 90.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.837e-05/0.4095, allocations: 2.656 kB / 0.611 GB, free: 90.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.4097, allocations: 12.95 kB / 0.611 GB, free: 90.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.482e-05/0.4097, allocations: 1.406 kB / 0.6111 GB, free: 90.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001255/0.4099, allocations: 1.938 kB / 0.6111 GB, free: 90.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.192e-05/0.4099, allocations: 3.156 kB / 0.6111 GB, free: 90.41 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 (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.0001617/0.4101, allocations: 135.2 kB / 0.6112 GB, free: 90.29 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.114e-05/0.4101, allocations: 7.312 kB / 0.6112 GB, free: 90.29 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.551e-05/0.4102, allocations: 15.02 kB / 0.6112 GB, free: 90.29 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.4102, allocations: 0 / 0.6112 GB, free: 90.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.4103, allocations: 0 / 0.6112 GB, free: 90.29 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.724e-05/0.4103, allocations: 95.06 kB / 0.6113 GB, free: 90.2 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.27e-05/0.4104, allocations: 3.188 kB / 0.6113 GB, free: 90.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.144e-05/0.4105, allocations: 4.266 kB / 0.6113 GB, free: 90.2 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.014e-05/0.4105, allocations: 5.016 kB / 0.6113 GB, free: 90.2 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002891/0.4108, allocations: 149 kB / 0.6114 GB, free: 90.09 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002846/0.4111, allocations: 251.5 kB / 0.6117 GB, free: 89.88 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.29e-05/0.4112, allocations: 15.28 kB / 0.6117 GB, free: 89.88 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002238/0.4115, allocations: 145.6 kB / 0.6118 GB, free: 89.81 MB / 362.7 MB Notification: Performance of Backend: time 1.272e-06/0.4115, allocations: 0 / 0.6118 GB, free: 89.81 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00212/0.4136, allocations: 440.8 kB / 0.6123 GB, free: 89.68 MB / 362.7 MB Notification: Performance of SimCode: time 0.0008023/0.4144, allocations: 0.6501 MB / 0.6129 GB, free: 89.07 MB / 362.7 MB Notification: Performance of Templates: time 0.007785/0.4223, allocations: 1.427 MB / 0.6143 GB, free: 89.06 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.table[4,1],t_new.table[4,2],t_new.table[5,1],t_new.table[5,2],t_new.verboseRead,t_new.y[1],time