Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,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.Test19") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00256/0.002565, allocations: 352.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 3.679/3.679, allocations: 341.5 MB / 358.2 MB, free: 12.65 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.003566/0.003566, allocations: 225.1 kB / 397.9 MB, free: 4.984 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.5176/0.5176, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004765/0.0004767, allocations: 16 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09136/0.09187, allocations: 48.7 MB / 0.6068 GB, free: 4.648 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.001983/0.09391, allocations: 1.295 MB / 0.608 GB, free: 3.34 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009089/0.09486, allocations: 423.5 kB / 0.6084 GB, free: 2.922 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.302e-05/0.09494, allocations: 0 / 0.6084 GB, free: 2.922 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002755/0.09523, allocations: 31.89 kB / 0.6085 GB, free: 2.891 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001619/0.09541, allocations: 31.91 kB / 0.6085 GB, free: 2.859 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000209/0.09563, allocations: 59.8 kB / 0.6085 GB, free: 2.801 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001267/0.09578, allocations: 59.84 kB / 0.6086 GB, free: 2.742 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.12e-05/0.09588, allocations: 11.98 kB / 0.6086 GB, free: 2.73 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.725e-05/0.09596, allocations: 27.86 kB / 0.6086 GB, free: 2.703 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.44e-05/0.09603, allocations: 23.91 kB / 0.6087 GB, free: 2.68 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.09606, allocations: 0 / 0.6087 GB, free: 2.68 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001221/0.0962, allocations: 39.94 kB / 0.6087 GB, free: 2.641 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.998e-05/0.09625, allocations: 7.984 kB / 0.6087 GB, free: 2.633 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.813e-05/0.0963, allocations: 45.52 kB / 0.6087 GB, free: 2.582 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000171/0.09648, allocations: 84.09 kB / 0.6088 GB, free: 2.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.09649, allocations: 0 / 0.6088 GB, free: 2.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.0965, allocations: 0 / 0.6088 GB, free: 2.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.09652, allocations: 4 kB / 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.0004696/0.097, allocations: 408.6 kB / 0.6092 GB, free: 2.043 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.09705, allocations: 8.031 kB / 0.6092 GB, free: 2.035 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.358e-05/0.0971, allocations: 15.84 kB / 0.6092 GB, free: 2.02 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.09729, allocations: 190.9 kB / 0.6094 GB, free: 1.793 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.09732, allocations: 3.938 kB / 0.6094 GB, free: 1.789 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.683e-05/0.09736, allocations: 4 kB / 0.6094 GB, free: 1.785 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.0975, allocations: 45.69 kB / 0.6095 GB, free: 1.734 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.09753, allocations: 7.938 kB / 0.6095 GB, free: 1.727 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.09755, allocations: 3.953 kB / 0.6095 GB, free: 1.723 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.09757, allocations: 0 / 0.6095 GB, free: 1.723 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.011e-05/0.09763, allocations: 11.98 kB / 0.6095 GB, free: 1.711 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003313/0.09798, allocations: 284.9 kB / 0.6098 GB, free: 1.383 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002062/0.0982, allocations: 38.52 kB / 0.6098 GB, free: 1.336 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.419e-05/0.09825, allocations: 20.94 kB / 0.6098 GB, free: 1.312 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.09828, allocations: 0 / 0.6098 GB, free: 1.312 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001522/0.09844, allocations: 55.36 kB / 0.6099 GB, free: 1.246 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 3.457e-06/0.09845, allocations: 3.984 kB / 0.6099 GB, free: 1.242 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004205/0.09888, allocations: 121.3 kB / 0.61 GB, free: 1.117 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.609e-05/0.09892, allocations: 51.41 kB / 0.61 GB, free: 1.055 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.0991, allocations: 167.9 kB / 0.6102 GB, free: 0.8828 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.09913, allocations: 25.7 kB / 0.6102 GB, free: 0.8516 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.289e-05/0.09919, allocations: 112 kB / 0.6103 GB, free: 0.7383 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.017e-05/0.09922, allocations: 7.906 kB / 0.6103 GB, free: 0.7305 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.802e-06/0.09924, allocations: 0 / 0.6103 GB, free: 0.7305 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.832e-05/0.09931, allocations: 322.8 kB / 0.6107 GB, free: 416 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.436e-05/0.09938, allocations: 16 kB / 0.6107 GB, free: 400 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.965e-05/0.09944, allocations: 23.92 kB / 0.6107 GB, free: 376 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.218e-05/0.09952, allocations: 49.7 kB / 0.6107 GB, free: 320 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.09953, allocations: 96 / 0.6107 GB, free: 320 kB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001936/0.09974, allocations: 119.2 kB / 0.6109 GB, free: 188 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.337e-05/0.09978, allocations: 41.64 kB / 0.6109 GB, free: 140 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.0998, allocations: 0 / 0.6109 GB, free: 140 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.09982, allocations: 4 kB / 0.6109 GB, free: 136 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.124e-05/0.0999, allocations: 11.94 kB / 0.6109 GB, free: 124 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.09993, allocations: 0 / 0.6109 GB, free: 124 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.289e-05/0.1, allocations: 4 kB / 0.6109 GB, free: 120 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.1, allocations: 4 kB / 0.6109 GB, free: 116 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.2881/0.3881, allocations: 122.5 kB / 0.611 GB, free: 90.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.725e-05/0.3882, allocations: 11.62 kB / 0.611 GB, free: 90.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.681e-05/0.3883, allocations: 15.19 kB / 0.6111 GB, free: 90.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.3883, allocations: 0.7031 kB / 0.6111 GB, free: 90.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.3883, allocations: 0 / 0.6111 GB, free: 90.27 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.637e-05/0.3884, allocations: 88.08 kB / 0.6111 GB, free: 90.17 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.463e-05/0.3884, allocations: 5.859 kB / 0.6111 GB, free: 90.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.289e-05/0.3885, allocations: 2.031 kB / 0.6112 GB, free: 90.17 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.856e-05/0.3885, allocations: 3.125 kB / 0.6112 GB, free: 90.17 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000229/0.3888, allocations: 148.4 kB / 0.6113 GB, free: 90.07 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001933/0.389, allocations: 244.4 kB / 0.6115 GB, free: 89.86 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.499e-05/0.3891, allocations: 13.95 kB / 0.6115 GB, free: 89.86 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001348/0.3892, allocations: 132.7 kB / 0.6117 GB, free: 89.79 MB / 362.7 MB Notification: Performance of Backend: time 6.31e-07/0.3892, allocations: 1.438 kB / 0.6117 GB, free: 89.79 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001416/0.3907, allocations: 441.5 kB / 0.6121 GB, free: 89.66 MB / 362.7 MB Notification: Performance of SimCode: time 0.0006243/0.3913, allocations: 0.6332 MB / 0.6127 GB, free: 89.05 MB / 362.7 MB Notification: Performance of Templates: time 0.006151/0.3975, allocations: 1.42 MB / 0.6141 GB, free: 89.04 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