Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,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.Test41") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004417/0.004424, allocations: 347 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.902/3.902, 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.003472/0.003472, allocations: 217.2 kB / 397.9 MB, free: 4.98 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.5342/0.5342, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006269/0.0006272, allocations: 12 kB / 0.5592 GB, free: 53.47 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08606/0.08672, allocations: 48.71 MB / 0.6068 GB, free: 4.648 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.00189/0.08867, allocations: 1.303 MB / 0.608 GB, free: 3.332 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.000893/0.08959, allocations: 415.5 kB / 0.6084 GB, free: 2.922 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.332e-05/0.08966, allocations: 0 / 0.6084 GB, free: 2.922 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003402/0.09002, allocations: 83.81 kB / 0.6085 GB, free: 2.84 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001848/0.09023, allocations: 51.81 kB / 0.6085 GB, free: 2.789 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002315/0.09047, allocations: 55.81 kB / 0.6086 GB, free: 2.734 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001372/0.09063, allocations: 71.81 kB / 0.6087 GB, free: 2.664 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.369e-05/0.09073, allocations: 8 kB / 0.6087 GB, free: 2.656 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.937e-05/0.09083, allocations: 35.83 kB / 0.6087 GB, free: 2.621 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.217e-05/0.09094, allocations: 39.89 kB / 0.6088 GB, free: 2.582 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.112e-05/0.09097, allocations: 8 kB / 0.6088 GB, free: 2.574 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001338/0.09112, allocations: 43.86 kB / 0.6088 GB, free: 2.531 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.388e-05/0.09117, allocations: 19.97 kB / 0.6088 GB, free: 2.512 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.097e-05/0.09124, allocations: 37.64 kB / 0.6089 GB, free: 2.469 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001852/0.09143, allocations: 80.11 kB / 0.6089 GB, free: 2.391 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.09145, allocations: 0 / 0.6089 GB, free: 2.391 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.09146, allocations: 0 / 0.6089 GB, free: 2.391 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.09148, allocations: 0 / 0.6089 GB, free: 2.391 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.000499/0.09198, allocations: 412.6 kB / 0.6093 GB, free: 1.934 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.09205, allocations: 16.03 kB / 0.6093 GB, free: 1.918 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.24e-05/0.09213, allocations: 15.77 kB / 0.6094 GB, free: 1.902 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002892/0.09244, allocations: 190.9 kB / 0.6095 GB, free: 1.676 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.09248, allocations: 0 / 0.6095 GB, free: 1.676 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.861e-05/0.09253, allocations: 15.83 kB / 0.6096 GB, free: 1.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.09272, allocations: 41.69 kB / 0.6096 GB, free: 1.613 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.09276, allocations: 0 / 0.6096 GB, free: 1.613 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.09278, allocations: 0 / 0.6096 GB, free: 1.613 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.0928, allocations: 0 / 0.6096 GB, free: 1.613 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.699e-05/0.0929, allocations: 19.94 kB / 0.6096 GB, free: 1.594 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004957/0.09342, allocations: 281 kB / 0.6099 GB, free: 1.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003067/0.09375, allocations: 46.5 kB / 0.6099 GB, free: 1.215 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.755e-05/0.09382, allocations: 16.94 kB / 0.6099 GB, free: 1.195 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.968e-05/0.09387, allocations: 4 kB / 0.6099 GB, free: 1.191 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002239/0.0941, allocations: 59.39 kB / 0.61 GB, free: 1.121 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 4.148e-06/0.09413, allocations: 0 / 0.61 GB, free: 1.121 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006455/0.09478, allocations: 125.2 kB / 0.6101 GB, free: 0.9922 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.09487, allocations: 51.41 kB / 0.6102 GB, free: 0.9297 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002503/0.09514, allocations: 196.3 kB / 0.6104 GB, free: 0.7305 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.09517, allocations: 29.7 kB / 0.6104 GB, free: 0.6953 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.684e-05/0.09524, allocations: 96.14 kB / 0.6105 GB, free: 0.5977 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.773e-05/0.09527, allocations: 19.78 kB / 0.6105 GB, free: 0.5781 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.633e-06/0.09529, allocations: 0 / 0.6105 GB, free: 0.5781 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.58e-05/0.09537, allocations: 330.8 kB / 0.6108 GB, free: 252 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.537e-05/0.09543, allocations: 15.94 kB / 0.6108 GB, free: 236 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.33e-05/0.09549, allocations: 27.92 kB / 0.6109 GB, free: 208 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.915e-05/0.09558, allocations: 45.7 kB / 0.6109 GB, free: 156 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.0956, allocations: 0 / 0.6109 GB, free: 156 kB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002252/0.09583, allocations: 119.2 kB / 0.611 GB, free: 24 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.3309/0.4267, allocations: 30.78 kB / 0.611 GB, free: 90.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.4269, allocations: 0 / 0.611 GB, free: 90.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.426e-05/0.4269, allocations: 2.625 kB / 0.611 GB, free: 90.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.427, allocations: 12.39 kB / 0.6111 GB, free: 90.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.427, allocations: 1.375 kB / 0.6111 GB, free: 90.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.556e-05/0.4271, allocations: 5.75 kB / 0.6111 GB, free: 90.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.721e-05/0.4272, allocations: 1.375 kB / 0.6111 GB, free: 90.31 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.0001272/0.4273, allocations: 129.9 kB / 0.6112 GB, free: 90.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.073e-05/0.4273, allocations: 8.969 kB / 0.6112 GB, free: 90.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.195e-05/0.4274, allocations: 15.83 kB / 0.6112 GB, free: 90.2 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.4274, allocations: 0.7812 kB / 0.6112 GB, free: 90.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.4274, allocations: 3.672 kB / 0.6112 GB, free: 90.2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.256e-05/0.4275, allocations: 92.17 kB / 0.6113 GB, free: 90.1 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.98e-05/0.4275, allocations: 2.406 kB / 0.6113 GB, free: 90.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.826e-05/0.4276, allocations: 2.969 kB / 0.6113 GB, free: 90.1 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.044e-05/0.4276, allocations: 5.484 kB / 0.6113 GB, free: 90.1 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002131/0.4279, allocations: 145 kB / 0.6114 GB, free: 89.99 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001962/0.4281, allocations: 252.2 kB / 0.6117 GB, free: 89.79 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.205e-05/0.4281, allocations: 14.73 kB / 0.6117 GB, free: 89.79 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001491/0.4283, allocations: 154 kB / 0.6119 GB, free: 89.71 MB / 362.7 MB Notification: Performance of Backend: time 9.31e-07/0.4283, allocations: 0 / 0.6119 GB, free: 89.71 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001397/0.4297, allocations: 433.6 kB / 0.6123 GB, free: 89.59 MB / 362.7 MB Notification: Performance of SimCode: time 0.0006556/0.4304, allocations: 0.6511 MB / 0.6129 GB, free: 88.98 MB / 362.7 MB Notification: Performance of Templates: time 0.006023/0.4364, allocations: 1.427 MB / 0.6143 GB, free: 88.96 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