Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|t_new.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004103/0.004108, allocations: 346 kB / 15.93 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.617/3.617, allocations: 341.5 MB / 358.2 MB, free: 28.59 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003674/0.003674, allocations: 209 kB / 397.8 MB, free: 6.008 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.559/0.559, allocations: 76.09 MB / 0.5014 GB, free: 0.8008 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000666/0.0006662, allocations: 12 kB / 0.5592 GB, free: 60.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1348, allocations: 48.7 MB / 0.6067 GB, free: 11.52 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5565/0.6913, allocations: 76.62 MB / 0.6816 GB, free: 10.77 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002505/0.6916, allocations: 67.22 kB / 0.6816 GB, free: 10.74 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0125/0.7042, allocations: 3.217 MB / 0.6848 GB, free: 8.168 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.7042, allocations: 0 / 0.6848 GB, free: 8.168 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.613e-05/0.7042, allocations: 0 / 0.6848 GB, free: 8.168 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006088/0.7049, allocations: 484.2 kB / 0.6852 GB, free: 7.645 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.7049, allocations: 8.031 kB / 0.6852 GB, free: 7.637 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.435e-05/0.705, allocations: 11.91 kB / 0.6852 GB, free: 7.625 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002585/0.7053, allocations: 212.4 kB / 0.6854 GB, free: 7.387 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.7053, allocations: 4 kB / 0.6855 GB, free: 7.387 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.663e-05/0.7053, allocations: 11.94 kB / 0.6855 GB, free: 7.375 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002171/0.7056, allocations: 71.09 kB / 0.6855 GB, free: 7.312 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.7056, allocations: 3.984 kB / 0.6855 GB, free: 7.309 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/0.7056, allocations: 4 kB / 0.6855 GB, free: 7.305 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.7056, allocations: 0 / 0.6855 GB, free: 7.305 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001835/0.7058, allocations: 50.89 kB / 0.6856 GB, free: 7.266 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005601/0.7064, allocations: 346.1 kB / 0.6859 GB, free: 6.91 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003155/0.7067, allocations: 76.61 kB / 0.686 GB, free: 6.84 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.7069, allocations: 36.09 kB / 0.686 GB, free: 6.809 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.7069, allocations: 0 / 0.686 GB, free: 6.809 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002044/0.7071, allocations: 74.88 kB / 0.6861 GB, free: 6.73 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 1.924e-06/0.7071, allocations: 8 kB / 0.6861 GB, free: 6.723 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004391/0.7076, allocations: 122.2 kB / 0.6862 GB, free: 6.617 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/0.7076, allocations: 55.36 kB / 0.6863 GB, free: 6.551 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/0.7078, allocations: 164.2 kB / 0.6864 GB, free: 6.398 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.7078, allocations: 37.12 kB / 0.6865 GB, free: 6.359 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.905e-05/0.7079, allocations: 94.89 kB / 0.6866 GB, free: 6.273 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.441e-05/0.708, allocations: 31.58 kB / 0.6866 GB, free: 6.246 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.866e-06/0.708, allocations: 0 / 0.6866 GB, free: 6.246 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.149e-05/0.7081, allocations: 322.3 kB / 0.6869 GB, free: 5.926 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000122/0.7082, allocations: 34.91 kB / 0.6869 GB, free: 5.902 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.7083, allocations: 51.94 kB / 0.687 GB, free: 5.855 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.7085, allocations: 70.67 kB / 0.687 GB, free: 5.797 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.7085, allocations: 0 / 0.687 GB, free: 5.797 MB / 314.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000362/0.7089, allocations: 160.2 kB / 0.6872 GB, free: 5.652 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.828e-05/0.7089, allocations: 37.88 kB / 0.6872 GB, free: 5.609 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.7089, allocations: 0 / 0.6872 GB, free: 5.609 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.709, allocations: 3.938 kB / 0.6872 GB, free: 5.605 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.7091, allocations: 15.94 kB / 0.6873 GB, free: 5.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.7091, allocations: 15.97 kB / 0.6873 GB, free: 5.574 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.918e-05/0.7092, allocations: 11.34 kB / 0.6873 GB, free: 5.566 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.864e-05/0.7093, allocations: 4 kB / 0.6873 GB, free: 5.562 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 9 * 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.0001057/0.7094, allocations: 118.8 kB / 0.6874 GB, free: 5.441 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.591e-05/0.7094, allocations: 11.89 kB / 0.6874 GB, free: 5.43 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003291/0.7098, allocations: 111.2 kB / 0.6875 GB, free: 5.344 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.7098, allocations: 8 kB / 0.6875 GB, free: 5.336 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.7098, allocations: 3.938 kB / 0.6875 GB, free: 5.332 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.7098, allocations: 7.891 kB / 0.6875 GB, free: 5.324 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001716/0.71, allocations: 199.4 kB / 0.6877 GB, free: 5.098 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.71, allocations: 0 / 0.6877 GB, free: 5.098 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001265/0.7101, allocations: 15.98 kB / 0.6877 GB, free: 5.082 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.7102, allocations: 0 / 0.6877 GB, free: 5.082 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.7102, allocations: 0 / 0.6877 GB, free: 5.082 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.7102, allocations: 4.078 kB / 0.6877 GB, free: 5.078 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.7102, allocations: 3.984 kB / 0.6877 GB, free: 5.074 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004129/0.7106, allocations: 169.8 kB / 0.6879 GB, free: 4.922 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.582e-05/0.7107, allocations: 88.98 kB / 0.688 GB, free: 4.816 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.197e-05/0.7107, allocations: 3.984 kB / 0.688 GB, free: 4.812 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.693e-05/0.7108, allocations: 15.38 kB / 0.688 GB, free: 4.801 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.816e-05/0.7109, allocations: 8.047 kB / 0.688 GB, free: 4.793 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.7109, allocations: 4 kB / 0.688 GB, free: 4.789 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001114/0.711, allocations: 126.4 kB / 0.6881 GB, free: 4.68 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.711, allocations: 0 / 0.6881 GB, free: 4.68 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003173/0.7114, allocations: 35.84 kB / 0.6882 GB, free: 4.645 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009119/0.7123, allocations: 327.5 kB / 0.6885 GB, free: 4.426 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003501/0.7126, allocations: 144.6 kB / 0.6886 GB, free: 4.297 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.7127, allocations: 0 / 0.6886 GB, free: 4.297 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.7128, allocations: 30.73 kB / 0.6887 GB, free: 4.273 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003626/0.7132, allocations: 27.17 kB / 0.6887 GB, free: 4.25 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000581/0.7138, allocations: 263.5 kB / 0.6889 GB, free: 3.98 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001741/0.714, allocations: 0.7121 MB / 0.6896 GB, free: 3.242 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.924e-05/0.714, allocations: 4.438 kB / 0.6896 GB, free: 3.238 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.039e-05/0.7141, allocations: 23.42 kB / 0.6897 GB, free: 3.215 MB / 314.7 MB Notification: Performance of SimCode: time 1.102e-06/0.7141, allocations: 0 / 0.6897 GB, free: 3.215 MB / 314.7 MB Notification: Performance of Templates: time 0.005626/0.7198, allocations: 1.594 MB / 0.6912 GB, free: 1.656 MB / 314.7 MB