Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,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.Test43") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004334/0.004334, 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.888/3.888, 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.003582/0.003582, allocations: 225.1 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.5217/0.5217, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006389/0.0006391, allocations: 16 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08857/0.08925, allocations: 48.7 MB / 0.6067 GB, free: 4.645 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.002005/0.09132, allocations: 1.303 MB / 0.608 GB, free: 3.328 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009118/0.09229, allocations: 427.4 kB / 0.6084 GB, free: 2.906 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.984e-05/0.09237, allocations: 0 / 0.6084 GB, free: 2.906 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002778/0.09266, allocations: 35.88 kB / 0.6085 GB, free: 2.871 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001518/0.09283, allocations: 27.91 kB / 0.6085 GB, free: 2.844 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002599/0.09311, allocations: 63.8 kB / 0.6085 GB, free: 2.781 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001261/0.09325, allocations: 59.84 kB / 0.6086 GB, free: 2.723 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.09336, allocations: 11.97 kB / 0.6086 GB, free: 2.711 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.913e-05/0.09344, allocations: 35.84 kB / 0.6087 GB, free: 2.676 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.74e-05/0.09352, allocations: 19.92 kB / 0.6087 GB, free: 2.656 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.09355, allocations: 3.938 kB / 0.6087 GB, free: 2.652 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000126/0.09369, allocations: 39.98 kB / 0.6087 GB, free: 2.613 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.424e-05/0.09374, allocations: 11.97 kB / 0.6087 GB, free: 2.602 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.802e-05/0.09379, allocations: 41.58 kB / 0.6088 GB, free: 2.555 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001718/0.09398, allocations: 80.12 kB / 0.6088 GB, free: 2.477 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.84e-06/0.094, allocations: 8 kB / 0.6088 GB, free: 2.469 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.09401, allocations: 0 / 0.6088 GB, free: 2.469 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.09402, 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.0004729/0.09451, allocations: 408.6 kB / 0.6092 GB, free: 2.016 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.09456, allocations: 12.03 kB / 0.6092 GB, free: 2.004 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.715e-05/0.09462, allocations: 11.86 kB / 0.6093 GB, free: 1.992 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002024/0.09483, allocations: 196.9 kB / 0.6094 GB, free: 1.762 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.09486, allocations: 8 kB / 0.6095 GB, free: 1.754 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.0949, allocations: 4 kB / 0.6095 GB, free: 1.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.09504, allocations: 45.67 kB / 0.6095 GB, free: 1.699 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.09507, allocations: 7.938 kB / 0.6095 GB, free: 1.691 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.09509, allocations: 0 / 0.6095 GB, free: 1.691 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.351e-06/0.09511, allocations: 0 / 0.6095 GB, free: 1.691 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.888e-05/0.09518, allocations: 15.95 kB / 0.6095 GB, free: 1.676 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003765/0.09557, allocations: 276.8 kB / 0.6098 GB, free: 1.355 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002461/0.09584, allocations: 46.5 kB / 0.6098 GB, free: 1.301 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.574e-05/0.09589, allocations: 12.86 kB / 0.6098 GB, free: 1.285 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.807e-05/0.09593, allocations: 0 / 0.6098 GB, free: 1.285 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001858/0.09612, allocations: 59.48 kB / 0.6099 GB, free: 1.215 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 2.204e-06/0.09614, allocations: 4 kB / 0.6099 GB, free: 1.211 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004963/0.09665, allocations: 121.3 kB / 0.61 GB, free: 1.086 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.451e-05/0.09669, allocations: 51.41 kB / 0.6101 GB, free: 1.023 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002035/0.09691, allocations: 190.3 kB / 0.6103 GB, free: 0.8281 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.09694, allocations: 29.7 kB / 0.6103 GB, free: 0.793 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.632e-05/0.09702, allocations: 100.1 kB / 0.6104 GB, free: 0.6914 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.495e-05/0.09706, allocations: 7.812 kB / 0.6104 GB, free: 0.6836 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.939e-06/0.09708, allocations: 8 kB / 0.6104 GB, free: 0.6758 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.071e-05/0.09716, allocations: 322.8 kB / 0.6107 GB, free: 360 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.817e-05/0.09723, allocations: 19.94 kB / 0.6107 GB, free: 340 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.258e-05/0.09729, allocations: 19.98 kB / 0.6107 GB, free: 320 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.156e-05/0.09738, allocations: 45.7 kB / 0.6108 GB, free: 268 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.0974, allocations: 4 kB / 0.6108 GB, free: 264 kB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002263/0.09763, allocations: 119.2 kB / 0.6109 GB, free: 132 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.815e-05/0.0977, allocations: 41.69 kB / 0.6109 GB, free: 84 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.09772, allocations: 0 / 0.6109 GB, free: 84 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.421e-05/0.09775, allocations: 3.953 kB / 0.6109 GB, free: 80 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.512e-05/0.09784, allocations: 8 kB / 0.6109 GB, free: 72 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.09786, allocations: 0 / 0.6109 GB, free: 72 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.523e-05/0.09795, allocations: 4 kB / 0.611 GB, free: 68 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.09797, allocations: 0 / 0.611 GB, free: 68 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.328/0.426, allocations: 129.2 kB / 0.6111 GB, free: 90.32 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.519e-05/0.4261, allocations: 10.41 kB / 0.6111 GB, free: 90.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.416e-05/0.4262, allocations: 11.88 kB / 0.6111 GB, free: 90.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.4262, allocations: 5.859 kB / 0.6111 GB, free: 90.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.4262, allocations: 0 / 0.6111 GB, free: 90.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.822e-05/0.4263, allocations: 85.2 kB / 0.6112 GB, free: 90.22 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.245e-05/0.4263, allocations: 4.359 kB / 0.6112 GB, free: 90.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.519e-05/0.4264, allocations: 3.609 kB / 0.6112 GB, free: 90.22 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.83e-05/0.4265, allocations: 5.516 kB / 0.6112 GB, free: 90.22 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002306/0.4267, allocations: 150.5 kB / 0.6113 GB, free: 90.12 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002028/0.4269, allocations: 243 kB / 0.6116 GB, free: 89.91 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.418e-05/0.427, allocations: 19.09 kB / 0.6116 GB, free: 89.91 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001522/0.4272, allocations: 137.2 kB / 0.6117 GB, free: 89.84 MB / 362.7 MB Notification: Performance of Backend: time 8.51e-07/0.4272, allocations: 6.188 kB / 0.6117 GB, free: 89.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001401/0.4286, allocations: 434.3 kB / 0.6121 GB, free: 89.71 MB / 362.7 MB Notification: Performance of SimCode: time 0.0007165/0.4293, allocations: 0.6405 MB / 0.6128 GB, free: 89.1 MB / 362.7 MB Notification: Performance of Templates: time 0.006184/0.4355, allocations: 1.421 MB / 0.6142 GB, free: 89.09 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.verboseRead,t_new.y[1],time