Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,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.Test3") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004166/0.004171, allocations: 351.5 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 4.101/4.101, 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.003514/0.003514, allocations: 229.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.5298/0.5298, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004754/0.0004756, allocations: 19.98 kB / 0.5592 GB, free: 53.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09279/0.09329, allocations: 48.7 MB / 0.6068 GB, free: 4.629 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.002025/0.09537, allocations: 1.303 MB / 0.608 GB, free: 3.312 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008952/0.09631, allocations: 415.5 kB / 0.6084 GB, free: 2.902 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.429e-05/0.09638, allocations: 0 / 0.6084 GB, free: 2.902 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000281/0.09668, allocations: 31.91 kB / 0.6084 GB, free: 2.871 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001561/0.09685, allocations: 27.91 kB / 0.6085 GB, free: 2.844 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002217/0.09709, allocations: 59.8 kB / 0.6085 GB, free: 2.785 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001274/0.09723, allocations: 63.84 kB / 0.6086 GB, free: 2.723 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.135e-05/0.09734, allocations: 7.984 kB / 0.6086 GB, free: 2.715 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.573e-05/0.09741, allocations: 23.86 kB / 0.6086 GB, free: 2.691 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.431e-05/0.09749, allocations: 23.91 kB / 0.6086 GB, free: 2.668 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.09752, allocations: 3.938 kB / 0.6087 GB, free: 2.664 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.09765, allocations: 32 kB / 0.6087 GB, free: 2.633 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.19e-05/0.0977, allocations: 19.98 kB / 0.6087 GB, free: 2.613 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.431e-05/0.09776, allocations: 33.58 kB / 0.6087 GB, free: 2.574 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000175/0.09794, allocations: 84.11 kB / 0.6088 GB, free: 2.492 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.09796, allocations: 0 / 0.6088 GB, free: 2.492 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.09797, allocations: 0 / 0.6088 GB, free: 2.492 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.09798, 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.0005754/0.09857, allocations: 400.7 kB / 0.6092 GB, free: 2.047 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.09864, allocations: 8.031 kB / 0.6092 GB, free: 2.039 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.995e-05/0.09872, allocations: 15.8 kB / 0.6092 GB, free: 2.023 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002605/0.099, allocations: 187 kB / 0.6094 GB, free: 1.801 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.09904, allocations: 4 kB / 0.6094 GB, free: 1.797 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.678e-05/0.09909, allocations: 4 kB / 0.6094 GB, free: 1.793 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.09928, allocations: 45.62 kB / 0.6094 GB, free: 1.742 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.09932, allocations: 3.938 kB / 0.6095 GB, free: 1.738 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.09935, allocations: 4 kB / 0.6095 GB, free: 1.734 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.09938, allocations: 4 kB / 0.6095 GB, free: 1.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.205e-05/0.09949, allocations: 19.94 kB / 0.6095 GB, free: 1.711 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004579/0.09997, allocations: 276.9 kB / 0.6097 GB, free: 1.391 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002831/0.1003, allocations: 38.52 kB / 0.6098 GB, free: 1.344 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.499e-05/0.1004, allocations: 16.94 kB / 0.6098 GB, free: 1.324 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.1004, allocations: 0 / 0.6098 GB, free: 1.324 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002014/0.1006, allocations: 59.39 kB / 0.6099 GB, free: 1.254 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 3.066e-06/0.1006, allocations: 0 / 0.6099 GB, free: 1.254 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006229/0.1013, allocations: 125.3 kB / 0.61 GB, free: 1.125 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.816e-05/0.1013, allocations: 51.41 kB / 0.61 GB, free: 1.062 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002101/0.1016, allocations: 142 kB / 0.6102 GB, free: 0.9141 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.538e-05/0.1016, allocations: 29.7 kB / 0.6102 GB, free: 0.8789 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.477e-05/0.1017, allocations: 92.12 kB / 0.6103 GB, free: 0.7852 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.695e-05/0.1017, allocations: 15.75 kB / 0.6103 GB, free: 0.7695 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.162e-05/0.1018, allocations: 4 kB / 0.6103 GB, free: 0.7656 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.097e-05/0.1019, allocations: 318.8 kB / 0.6106 GB, free: 456 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.211e-05/0.102, allocations: 16 kB / 0.6106 GB, free: 440 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.491e-05/0.1021, allocations: 23.98 kB / 0.6106 GB, free: 416 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001206/0.1022, allocations: 49.64 kB / 0.6107 GB, free: 360 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1023, allocations: 0 / 0.6107 GB, free: 360 kB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003364/0.1026, allocations: 119.3 kB / 0.6108 GB, free: 228 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.177e-05/0.1027, allocations: 33.78 kB / 0.6108 GB, free: 188 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.1027, allocations: 3.938 kB / 0.6108 GB, free: 184 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/0.1028, allocations: 3.953 kB / 0.6108 GB, free: 180 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.1029, allocations: 8 kB / 0.6108 GB, free: 172 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.1029, allocations: 7.938 kB / 0.6108 GB, free: 164 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.945e-05/0.1031, allocations: 4 kB / 0.6109 GB, free: 160 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.058e-05/0.1031, allocations: 4 kB / 0.6109 GB, free: 156 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.0001334/0.1032, allocations: 120.5 kB / 0.611 GB, free: 28 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.892e-05/0.1033, allocations: 7.906 kB / 0.611 GB, free: 20 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.794e-05/0.1034, allocations: 16.3 kB / 0.611 GB, free: 8 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.1034, allocations: 3.953 kB / 0.611 GB, free: 4 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.1034, allocations: 0 / 0.611 GB, free: 4 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.2874/0.3909, allocations: 82.66 kB / 0.6111 GB, free: 90.53 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.716e-05/0.391, allocations: 4.234 kB / 0.6111 GB, free: 90.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.674e-05/0.3911, allocations: 4.188 kB / 0.6111 GB, free: 90.53 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.602e-05/0.3912, allocations: 4.625 kB / 0.6111 GB, free: 90.53 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002738/0.3915, allocations: 146.6 kB / 0.6112 GB, free: 90.43 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002197/0.3917, allocations: 249.4 kB / 0.6115 GB, free: 90.22 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.18e-05/0.3918, allocations: 15.55 kB / 0.6115 GB, free: 90.22 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001114/0.3919, allocations: 112 kB / 0.6116 GB, free: 90.15 MB / 362.7 MB Notification: Performance of Backend: time 9.82e-07/0.3919, allocations: 0 / 0.6116 GB, free: 90.15 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001479/0.3934, allocations: 421.6 kB / 0.612 GB, free: 90.02 MB / 362.7 MB Notification: Performance of SimCode: time 0.0006526/0.3941, allocations: 0.6251 MB / 0.6126 GB, free: 89.43 MB / 362.7 MB Notification: Performance of Templates: time 0.006502/0.4006, allocations: 1.41 MB / 0.614 GB, free: 89.41 MB / 362.7 MB