Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,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.Test21") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002883/0.002882, allocations: 350.1 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.754/3.754, 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.003752/0.003752, allocations: 225.2 kB / 397.9 MB, free: 4.898 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.52/0.52, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004968/0.000497, allocations: 16 kB / 0.5592 GB, free: 53.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09465/0.09518, allocations: 48.7 MB / 0.6067 GB, free: 4.625 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.002127/0.09737, allocations: 1.307 MB / 0.608 GB, free: 3.305 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009629/0.09839, allocations: 423.5 kB / 0.6084 GB, free: 2.887 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001172/0.09854, allocations: 0 / 0.6084 GB, free: 2.887 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003032/0.09887, allocations: 31.89 kB / 0.6085 GB, free: 2.855 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001819/0.09906, allocations: 27.91 kB / 0.6085 GB, free: 2.828 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002779/0.09936, allocations: 59.81 kB / 0.6085 GB, free: 2.77 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001356/0.09951, allocations: 59.83 kB / 0.6086 GB, free: 2.711 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.09963, allocations: 8 kB / 0.6086 GB, free: 2.703 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.256e-05/0.09972, allocations: 27.86 kB / 0.6086 GB, free: 2.676 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.159e-05/0.0998, allocations: 27.91 kB / 0.6087 GB, free: 2.648 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.128e-05/0.09983, allocations: 0 / 0.6087 GB, free: 2.648 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001508/0.09999, allocations: 43.86 kB / 0.6087 GB, free: 2.605 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.261e-05/0.1, allocations: 11.98 kB / 0.6087 GB, free: 2.594 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.196e-05/0.1001, allocations: 37.64 kB / 0.6088 GB, free: 2.551 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001868/0.1003, allocations: 80.11 kB / 0.6088 GB, free: 2.473 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.1003, allocations: 0 / 0.6088 GB, free: 2.473 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1003, allocations: 4 kB / 0.6088 GB, free: 2.469 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.1003, allocations: 0 / 0.6088 GB, free: 2.469 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.000486/0.1008, allocations: 412.6 kB / 0.6092 GB, free: 2.012 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.1009, allocations: 8.031 kB / 0.6092 GB, free: 2.004 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.939e-05/0.101, allocations: 11.86 kB / 0.6092 GB, free: 1.992 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001976/0.1012, allocations: 190.9 kB / 0.6094 GB, free: 1.766 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.1012, allocations: 0 / 0.6094 GB, free: 1.766 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.682e-05/0.1012, allocations: 11.88 kB / 0.6094 GB, free: 1.754 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.1014, allocations: 53.67 kB / 0.6095 GB, free: 1.695 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.1014, allocations: 0 / 0.6095 GB, free: 1.695 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.1014, allocations: 3.953 kB / 0.6095 GB, free: 1.691 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.1014, allocations: 4 kB / 0.6095 GB, free: 1.688 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.908e-05/0.1015, allocations: 7.984 kB / 0.6095 GB, free: 1.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003657/0.1019, allocations: 280.9 kB / 0.6098 GB, free: 1.355 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002257/0.1021, allocations: 42.5 kB / 0.6098 GB, free: 1.305 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.478e-05/0.1022, allocations: 16.86 kB / 0.6098 GB, free: 1.285 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.1022, allocations: 0 / 0.6098 GB, free: 1.285 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001674/0.1024, allocations: 63.44 kB / 0.6099 GB, free: 1.211 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 2.335e-06/0.1024, allocations: 0 / 0.6099 GB, free: 1.211 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004899/0.1029, allocations: 113.6 kB / 0.61 GB, free: 1.094 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.361e-05/0.103, allocations: 51.41 kB / 0.61 GB, free: 1.031 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/0.1031, allocations: 175.9 kB / 0.6102 GB, free: 0.8516 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.1032, allocations: 29.7 kB / 0.6102 GB, free: 0.8164 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.422e-05/0.1032, allocations: 104 kB / 0.6103 GB, free: 0.7109 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.526e-05/0.1033, allocations: 11.89 kB / 0.6104 GB, free: 0.6992 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.243e-06/0.1033, allocations: 0 / 0.6104 GB, free: 0.6992 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.357e-05/0.1034, allocations: 318.8 kB / 0.6107 GB, free: 388 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.692e-05/0.1034, allocations: 19.98 kB / 0.6107 GB, free: 368 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.114e-05/0.1035, allocations: 19.94 kB / 0.6107 GB, free: 348 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.774e-05/0.1036, allocations: 53.69 kB / 0.6107 GB, free: 288 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1036, allocations: 0 / 0.6107 GB, free: 288 kB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002189/0.1038, allocations: 119.3 kB / 0.6109 GB, free: 156 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.781e-05/0.1039, allocations: 37.66 kB / 0.6109 GB, free: 112 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.1039, allocations: 0 / 0.6109 GB, free: 112 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.1039, allocations: 4.031 kB / 0.6109 GB, free: 108 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.686e-05/0.104, allocations: 15.92 kB / 0.6109 GB, free: 92 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.104, allocations: 0 / 0.6109 GB, free: 92 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.281e-05/0.1041, allocations: 8 kB / 0.6109 GB, free: 84 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.1041, allocations: 4 kB / 0.6109 GB, free: 80 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.2671/0.3713, allocations: 115.6 kB / 0.611 GB, free: 90.37 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.719e-05/0.3714, allocations: 12.09 kB / 0.611 GB, free: 90.37 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.718e-05/0.3714, allocations: 19.44 kB / 0.6111 GB, free: 90.37 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.3715, allocations: 0 / 0.6111 GB, free: 90.37 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.3715, allocations: 2.734 kB / 0.6111 GB, free: 90.37 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.687e-05/0.3715, allocations: 85.53 kB / 0.6112 GB, free: 90.28 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.679e-05/0.3716, allocations: 6.156 kB / 0.6112 GB, free: 90.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.366e-05/0.3717, allocations: 2.531 kB / 0.6112 GB, free: 90.28 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.833e-05/0.3718, allocations: 5.297 kB / 0.6112 GB, free: 90.28 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002463/0.372, allocations: 145.5 kB / 0.6113 GB, free: 90.17 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002056/0.3722, allocations: 242.4 kB / 0.6115 GB, free: 89.97 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.533e-05/0.3723, allocations: 17.69 kB / 0.6116 GB, free: 89.97 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001225/0.3724, allocations: 136.1 kB / 0.6117 GB, free: 89.89 MB / 362.7 MB Notification: Performance of Backend: time 7.62e-07/0.3725, allocations: 0 / 0.6117 GB, free: 89.89 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001396/0.3739, allocations: 431 kB / 0.6121 GB, free: 89.77 MB / 362.7 MB Notification: Performance of SimCode: time 0.0007066/0.3746, allocations: 0.6355 MB / 0.6127 GB, free: 89.16 MB / 362.7 MB Notification: Performance of Templates: time 0.006282/0.3809, allocations: 1.415 MB / 0.6141 GB, free: 89.14 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