Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,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.Test34") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.005605/0.005612, allocations: 353.5 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.797/3.797, 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.003585/0.003584, allocations: 225.2 kB / 397.9 MB, free: 4.988 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.4885/0.4885, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006473/0.0006476, allocations: 19.98 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09057/0.09125, allocations: 48.71 MB / 0.6068 GB, free: 4.641 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.002556/0.09387, allocations: 1.299 MB / 0.608 GB, free: 3.328 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001176/0.0951, allocations: 423.5 kB / 0.6084 GB, free: 2.91 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.646e-05/0.09519, allocations: 0 / 0.6084 GB, free: 2.91 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003026/0.09551, allocations: 31.89 kB / 0.6085 GB, free: 2.879 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001952/0.09573, allocations: 23.92 kB / 0.6085 GB, free: 2.855 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002642/0.09601, allocations: 63.81 kB / 0.6085 GB, free: 2.793 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001592/0.09619, allocations: 59.83 kB / 0.6086 GB, free: 2.734 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.09631, allocations: 7.984 kB / 0.6086 GB, free: 2.727 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.196e-05/0.09641, allocations: 27.86 kB / 0.6086 GB, free: 2.699 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.74e-05/0.09651, allocations: 27.8 kB / 0.6087 GB, free: 2.672 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.053e-05/0.09654, allocations: 4 kB / 0.6087 GB, free: 2.668 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001574/0.09671, allocations: 39.97 kB / 0.6087 GB, free: 2.629 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.918e-05/0.09678, allocations: 15.98 kB / 0.6087 GB, free: 2.613 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.643e-05/0.09684, allocations: 41.58 kB / 0.6088 GB, free: 2.566 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002115/0.09707, allocations: 72.12 kB / 0.6088 GB, free: 2.496 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.09709, allocations: 4 kB / 0.6088 GB, free: 2.492 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.0971, allocations: 0 / 0.6088 GB, free: 2.492 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.09712, allocations: 0 / 0.6088 GB, free: 2.492 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.0006063/0.09774, allocations: 408.6 kB / 0.6092 GB, free: 2.039 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.0978, allocations: 8.031 kB / 0.6092 GB, free: 2.031 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.035e-05/0.09786, allocations: 11.86 kB / 0.6092 GB, free: 2.02 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/0.09811, allocations: 202.8 kB / 0.6094 GB, free: 1.781 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.09814, allocations: 0 / 0.6094 GB, free: 1.781 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.15e-05/0.09819, allocations: 8 kB / 0.6094 GB, free: 1.773 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.09834, allocations: 45.67 kB / 0.6095 GB, free: 1.723 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.09837, allocations: 3.938 kB / 0.6095 GB, free: 1.719 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.0984, allocations: 7.953 kB / 0.6095 GB, free: 1.711 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.09842, allocations: 0 / 0.6095 GB, free: 1.711 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.344e-05/0.09851, allocations: 11.98 kB / 0.6095 GB, free: 1.699 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004051/0.09893, allocations: 280.9 kB / 0.6098 GB, free: 1.375 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002501/0.0992, allocations: 42.5 kB / 0.6098 GB, free: 1.324 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.949e-05/0.09926, allocations: 8.859 kB / 0.6098 GB, free: 1.312 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.09929, allocations: 4 kB / 0.6098 GB, free: 1.309 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001779/0.09948, allocations: 63.44 kB / 0.6099 GB, free: 1.234 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 2.305e-06/0.0995, allocations: 0 / 0.6099 GB, free: 1.234 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005272/0.1, allocations: 117.3 kB / 0.61 GB, free: 1.113 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.1001, allocations: 51.41 kB / 0.61 GB, free: 1.051 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002165/0.1003, allocations: 171.9 kB / 0.6102 GB, free: 0.875 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.1004, allocations: 25.7 kB / 0.6102 GB, free: 0.8438 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.284e-05/0.1004, allocations: 104 kB / 0.6103 GB, free: 0.7383 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.196e-05/0.1005, allocations: 11.91 kB / 0.6103 GB, free: 0.7266 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.598e-06/0.1005, allocations: 0 / 0.6103 GB, free: 0.7266 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.356e-05/0.1006, allocations: 322.8 kB / 0.6107 GB, free: 412 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.952e-05/0.1008, allocations: 23.98 kB / 0.6107 GB, free: 388 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001144/0.1009, allocations: 15.94 kB / 0.6107 GB, free: 372 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.1011, allocations: 61.7 kB / 0.6107 GB, free: 304 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1011, allocations: 0 / 0.6107 GB, free: 304 kB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003521/0.1015, allocations: 115.3 kB / 0.6109 GB, free: 176 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.36e-05/0.1015, allocations: 37.66 kB / 0.6109 GB, free: 132 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.1015, allocations: 0 / 0.6109 GB, free: 132 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.1016, allocations: 3.938 kB / 0.6109 GB, free: 128 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.469e-05/0.1017, allocations: 11.98 kB / 0.6109 GB, free: 116 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.1017, allocations: 160 / 0.6109 GB, free: 116 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.135e-05/0.1018, allocations: 8 kB / 0.6109 GB, free: 108 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.1018, 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.2666/0.3685, allocations: 122.8 kB / 0.611 GB, free: 90.21 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.494e-05/0.3685, allocations: 15.52 kB / 0.6111 GB, free: 90.21 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.324e-05/0.3686, allocations: 15.61 kB / 0.6111 GB, free: 90.21 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.3686, allocations: 0 / 0.6111 GB, free: 90.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.3686, allocations: 0 / 0.6111 GB, free: 90.21 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.749e-05/0.3687, allocations: 84.8 kB / 0.6111 GB, free: 90.12 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.359e-05/0.3687, allocations: 6.656 kB / 0.6112 GB, free: 90.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.861e-05/0.3688, allocations: 4.219 kB / 0.6112 GB, free: 90.12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/0.3689, allocations: 6.594 kB / 0.6112 GB, free: 90.12 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002168/0.3691, allocations: 144.7 kB / 0.6113 GB, free: 90.02 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001925/0.3693, allocations: 245.1 kB / 0.6115 GB, free: 89.81 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.328e-05/0.3694, allocations: 15.78 kB / 0.6116 GB, free: 89.81 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001301/0.3695, allocations: 135.6 kB / 0.6117 GB, free: 89.73 MB / 362.7 MB Notification: Performance of Backend: time 8.12e-07/0.3695, allocations: 1.562 kB / 0.6117 GB, free: 89.73 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001417/0.371, allocations: 432.6 kB / 0.6121 GB, free: 89.61 MB / 362.7 MB Notification: Performance of SimCode: time 0.0006657/0.3717, allocations: 0.639 MB / 0.6127 GB, free: 89 MB / 362.7 MB Notification: Performance of Templates: time 0.006959/0.3787, allocations: 1.413 MB / 0.6141 GB, free: 88.99 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