Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,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.Test17") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002721/0.00272, allocations: 349.2 kB / 15.94 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.52/3.52, allocations: 341.5 MB / 358.2 MB, free: 28.62 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.003484/0.003484, allocations: 221.8 kB / 397.9 MB, free: 6 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.6329/0.6329, allocations: 76.1 MB / 0.5014 GB, free: 0.8047 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004651/0.0004653, allocations: 12 kB / 0.5592 GB, free: 60.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1037, allocations: 48.71 MB / 0.6067 GB, free: 11.53 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4617/0.5654, allocations: 75.87 MB / 0.6808 GB, free: 11.3 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000255/0.5657, allocations: 70.72 kB / 0.6809 GB, free: 11.26 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01595/0.5817, allocations: 3.995 MB / 0.6848 GB, free: 8.07 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.5818, allocations: 0 / 0.6848 GB, free: 8.07 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.262e-05/0.5818, allocations: 4 kB / 0.6848 GB, free: 8.066 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005093/0.5823, allocations: 429.8 kB / 0.6852 GB, free: 7.605 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.237e-05/0.5824, allocations: 8.031 kB / 0.6852 GB, free: 7.598 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.621e-05/0.5824, allocations: 7.906 kB / 0.6852 GB, free: 7.59 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002392/0.5827, allocations: 196.9 kB / 0.6854 GB, free: 7.363 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.5827, allocations: 4 kB / 0.6854 GB, free: 7.359 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.811e-05/0.5828, allocations: 10.44 kB / 0.6854 GB, free: 7.352 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.5829, allocations: 44.8 kB / 0.6855 GB, free: 7.305 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.5829, allocations: 0 / 0.6855 GB, free: 7.305 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.5829, allocations: 0 / 0.6855 GB, free: 7.305 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.583, allocations: 0 / 0.6855 GB, free: 7.305 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.355e-05/0.583, allocations: 15.86 kB / 0.6855 GB, free: 7.293 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003939/0.5834, allocations: 297.6 kB / 0.6858 GB, free: 6.973 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002365/0.5837, allocations: 49.62 kB / 0.6858 GB, free: 6.922 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.762e-05/0.5837, allocations: 8.953 kB / 0.6858 GB, free: 6.91 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.5838, allocations: 3.984 kB / 0.6858 GB, free: 6.906 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001335/0.5839, allocations: 57.16 kB / 0.6859 GB, free: 6.844 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.773e-06/0.5839, allocations: 0 / 0.6859 GB, free: 6.844 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.000477/0.5844, allocations: 125.3 kB / 0.686 GB, free: 6.734 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.608e-05/0.5845, allocations: 51.41 kB / 0.6861 GB, free: 6.672 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.5846, allocations: 159.7 kB / 0.6862 GB, free: 6.52 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.5847, allocations: 25.7 kB / 0.6862 GB, free: 6.488 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.257e-05/0.5847, allocations: 94.75 kB / 0.6863 GB, free: 6.398 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.501e-05/0.5847, allocations: 23 kB / 0.6863 GB, free: 6.383 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.327e-06/0.5848, allocations: 0 / 0.6863 GB, free: 6.383 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.243e-05/0.5848, allocations: 326.3 kB / 0.6867 GB, free: 6.059 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.712e-05/0.5849, allocations: 23.38 kB / 0.6867 GB, free: 6.043 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.682e-05/0.585, allocations: 26.86 kB / 0.6867 GB, free: 6.023 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.756e-05/0.5851, allocations: 55.69 kB / 0.6868 GB, free: 5.977 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5851, allocations: 4 kB / 0.6868 GB, free: 5.973 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002369/0.5854, allocations: 125.2 kB / 0.6869 GB, free: 5.855 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.633e-05/0.5854, allocations: 37 kB / 0.6869 GB, free: 5.816 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.5854, allocations: 0 / 0.6869 GB, free: 5.816 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.5854, allocations: 4 kB / 0.6869 GB, free: 5.812 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.874e-05/0.5855, allocations: 11.94 kB / 0.6869 GB, free: 5.801 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.5855, allocations: 3.953 kB / 0.6869 GB, free: 5.797 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.59e-05/0.5856, allocations: 4 kB / 0.6869 GB, free: 5.793 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.5857, allocations: 4 kB / 0.6869 GB, free: 5.789 MB / 314.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 8.999e-05/0.5858, allocations: 126.4 kB / 0.6871 GB, free: 5.664 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.29e-05/0.5858, allocations: 7.906 kB / 0.6871 GB, free: 5.656 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002373/0.586, allocations: 83.92 kB / 0.6871 GB, free: 5.578 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.586, allocations: 0 / 0.6871 GB, free: 5.578 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.5861, allocations: 3.938 kB / 0.6872 GB, free: 5.574 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.5861, allocations: 7.953 kB / 0.6872 GB, free: 5.566 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004003/0.5865, allocations: 342.1 kB / 0.6875 GB, free: 5.203 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/0.5865, allocations: 8 kB / 0.6875 GB, free: 5.195 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.696e-05/0.5866, allocations: 7.984 kB / 0.6875 GB, free: 5.188 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.5866, allocations: 0 / 0.6875 GB, free: 5.188 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.5866, allocations: 7.375 kB / 0.6875 GB, free: 5.184 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.5866, allocations: 3.953 kB / 0.6875 GB, free: 5.18 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.5866, allocations: 0 / 0.6875 GB, free: 5.18 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001881/0.5868, allocations: 180.6 kB / 0.6877 GB, free: 5 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.989e-05/0.5869, allocations: 85.02 kB / 0.6878 GB, free: 4.898 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.989e-05/0.5869, allocations: 3.375 kB / 0.6878 GB, free: 4.898 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.122e-05/0.587, allocations: 0 / 0.6878 GB, free: 4.898 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.356e-05/0.5871, allocations: 11.94 kB / 0.6878 GB, free: 4.887 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.5871, allocations: 4 kB / 0.6878 GB, free: 4.883 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001067/0.5872, allocations: 121.8 kB / 0.6879 GB, free: 4.777 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-07/0.5872, allocations: 0 / 0.6879 GB, free: 4.777 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003621/0.5876, allocations: 38.62 kB / 0.6879 GB, free: 4.742 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (6): * Single equations (assignments): 5 * 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.0009528/0.5886, allocations: 357.7 kB / 0.6883 GB, free: 4.512 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002287/0.5888, allocations: 115.7 kB / 0.6884 GB, free: 4.406 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5888, allocations: 0 / 0.6884 GB, free: 4.406 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.248e-05/0.5889, allocations: 19.61 kB / 0.6884 GB, free: 4.391 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004027/0.5893, allocations: 15.67 kB / 0.6884 GB, free: 4.379 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000469/0.5898, allocations: 192.4 kB / 0.6886 GB, free: 4.176 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001725/0.59, allocations: 0.7079 MB / 0.6893 GB, free: 3.445 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.971e-05/0.5901, allocations: 20.12 kB / 0.6893 GB, free: 3.426 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.63e-05/0.5901, allocations: 11.44 kB / 0.6893 GB, free: 3.414 MB / 314.7 MB Notification: Performance of SimCode: time 1.002e-06/0.5901, allocations: 0 / 0.6893 GB, free: 3.414 MB / 314.7 MB Notification: Performance of Templates: time 0.005318/0.5955, allocations: 1.493 MB / 0.6908 GB, free: 1.961 MB / 314.7 MB