Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,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.Test35") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002714/0.002713, allocations: 351.4 kB / 15.95 MB, free: 6.219 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.699/3.699, allocations: 341.5 MB / 358.2 MB, free: 12.62 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.0035/0.0035, allocations: 220.5 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.4754/0.4754, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004664/0.0004666, allocations: 12 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08647/0.08696, allocations: 48.72 MB / 0.6068 GB, free: 4.629 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.002038/0.08906, allocations: 1.296 MB / 0.608 GB, free: 3.32 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009744/0.09009, allocations: 423.4 kB / 0.6084 GB, free: 2.902 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.814e-05/0.09019, allocations: 0 / 0.6084 GB, free: 2.902 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003316/0.09054, allocations: 83.81 kB / 0.6085 GB, free: 2.82 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002179/0.09078, allocations: 51.88 kB / 0.6085 GB, free: 2.77 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002721/0.09107, allocations: 63.8 kB / 0.6086 GB, free: 2.707 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001517/0.09123, allocations: 67.81 kB / 0.6087 GB, free: 2.641 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.09135, allocations: 8 kB / 0.6087 GB, free: 2.633 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.949e-05/0.09144, allocations: 35.84 kB / 0.6087 GB, free: 2.598 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.09155, allocations: 47.88 kB / 0.6088 GB, free: 2.551 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.062e-05/0.09159, allocations: 0 / 0.6088 GB, free: 2.551 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000147/0.09175, allocations: 39.92 kB / 0.6088 GB, free: 2.512 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.891e-05/0.09181, allocations: 23.97 kB / 0.6088 GB, free: 2.488 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.556e-05/0.09186, allocations: 45.58 kB / 0.6089 GB, free: 2.438 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001914/0.09207, allocations: 80.11 kB / 0.6089 GB, free: 2.359 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.09208, allocations: 0 / 0.6089 GB, free: 2.359 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.0921, allocations: 0 / 0.6089 GB, free: 2.359 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.09211, allocations: 0 / 0.6089 GB, free: 2.359 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.0005206/0.09264, allocations: 420.5 kB / 0.6093 GB, free: 1.895 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.09269, allocations: 12.03 kB / 0.6094 GB, free: 1.883 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.637e-05/0.09275, allocations: 15.8 kB / 0.6094 GB, free: 1.867 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002081/0.09297, allocations: 198.9 kB / 0.6096 GB, free: 1.633 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.093, allocations: 0 / 0.6096 GB, free: 1.633 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.73e-05/0.09304, allocations: 4 kB / 0.6096 GB, free: 1.629 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.09318, allocations: 49.67 kB / 0.6096 GB, free: 1.574 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.09321, allocations: 3.938 kB / 0.6096 GB, free: 1.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.09323, allocations: 0 / 0.6096 GB, free: 1.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.09324, allocations: 0 / 0.6096 GB, free: 1.57 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.174e-05/0.09332, allocations: 11.95 kB / 0.6096 GB, free: 1.559 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003623/0.09369, allocations: 292.8 kB / 0.6099 GB, free: 1.223 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002698/0.09398, allocations: 46.55 kB / 0.61 GB, free: 1.168 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.695e-05/0.09403, allocations: 12.86 kB / 0.61 GB, free: 1.152 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.09407, allocations: 0 / 0.61 GB, free: 1.152 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001659/0.09424, allocations: 59.42 kB / 0.61 GB, free: 1.082 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 2.304e-06/0.09426, allocations: 0 / 0.61 GB, free: 1.082 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004886/0.09475, allocations: 125.2 kB / 0.6101 GB, free: 0.9531 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.046e-05/0.0948, allocations: 55.34 kB / 0.6102 GB, free: 0.8867 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002354/0.09505, allocations: 211.3 kB / 0.6104 GB, free: 0.668 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.09508, allocations: 29.7 kB / 0.6104 GB, free: 0.6328 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.742e-05/0.09515, allocations: 104.1 kB / 0.6105 GB, free: 0.5273 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.617e-05/0.09518, allocations: 19.75 kB / 0.6105 GB, free: 0.5078 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.232e-06/0.0952, allocations: 0 / 0.6105 GB, free: 0.5078 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.51e-05/0.09527, allocations: 322.8 kB / 0.6108 GB, free: 188 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.534e-05/0.09534, allocations: 20 kB / 0.6109 GB, free: 168 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.182e-05/0.0954, allocations: 19.98 kB / 0.6109 GB, free: 148 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.574e-05/0.09549, allocations: 49.7 kB / 0.6109 GB, free: 92 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.0955, allocations: 0 / 0.6109 GB, free: 92 kB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.3023/0.3978, allocations: 121.1 kB / 0.611 GB, free: 90.38 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.548e-05/0.398, allocations: 34.48 kB / 0.6111 GB, free: 90.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.398, allocations: 3.875 kB / 0.6111 GB, free: 90.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.398, allocations: 2.844 kB / 0.6111 GB, free: 90.35 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.354e-05/0.3981, allocations: 8.609 kB / 0.6111 GB, free: 90.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.331e-05/0.3982, allocations: 4.344 kB / 0.6111 GB, free: 90.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.525e-05/0.3983, allocations: 5.172 kB / 0.6111 GB, free: 90.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.845e-05/0.3983, allocations: 4.641 kB / 0.6111 GB, free: 90.35 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.0001284/0.3984, allocations: 132.5 kB / 0.6112 GB, free: 90.24 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.021e-05/0.3985, allocations: 7.031 kB / 0.6112 GB, free: 90.24 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.174e-05/0.3985, allocations: 16.2 kB / 0.6113 GB, free: 90.24 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.3986, allocations: 0 / 0.6113 GB, free: 90.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3986, allocations: 0 / 0.6113 GB, free: 90.24 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.631e-05/0.3986, allocations: 97.92 kB / 0.6114 GB, free: 90.14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.986e-05/0.3987, allocations: 3.875 kB / 0.6114 GB, free: 90.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.199e-05/0.3987, allocations: 5.578 kB / 0.6114 GB, free: 90.14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.17e-05/0.3988, allocations: 7.703 kB / 0.6114 GB, free: 90.14 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002068/0.399, allocations: 141.8 kB / 0.6115 GB, free: 90.04 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001985/0.3992, allocations: 246.6 kB / 0.6117 GB, free: 89.83 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.494e-05/0.3993, allocations: 18.03 kB / 0.6118 GB, free: 89.83 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001628/0.3994, allocations: 161.5 kB / 0.6119 GB, free: 89.75 MB / 362.7 MB Notification: Performance of Backend: time 1.042e-06/0.3995, allocations: 0 / 0.6119 GB, free: 89.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001376/0.4008, allocations: 432.6 kB / 0.6123 GB, free: 89.62 MB / 362.7 MB Notification: Performance of SimCode: time 0.0006377/0.4015, allocations: 0.6572 MB / 0.613 GB, free: 89.01 MB / 362.7 MB Notification: Performance of Templates: time 0.00607/0.4076, allocations: 1.435 MB / 0.6144 GB, free: 89 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.table[6,1],t_new.table[6,2],t_new.verboseRead,t_new.y[1],time