Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,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.Test36") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002845/0.002851, allocations: 348.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.559/3.559, allocations: 341.5 MB / 358.2 MB, free: 12.62 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.003489/0.003489, allocations: 222.1 kB / 397.9 MB, free: 4.965 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.6059/0.6059, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007335/0.0007339, allocations: 12 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1062, allocations: 48.71 MB / 0.6067 GB, free: 4.641 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3814/0.4876, allocations: 75.85 MB / 0.6808 GB, free: 36.86 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002546/0.4879, allocations: 79.95 kB / 0.6809 GB, free: 36.79 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01685/0.5048, allocations: 4.232 MB / 0.685 GB, free: 32.64 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.5048, allocations: 1.406 kB / 0.685 GB, free: 32.64 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.45e-05/0.5049, allocations: 0 / 0.685 GB, free: 32.64 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.0005523/0.5054, allocations: 443.1 kB / 0.6854 GB, free: 32.16 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.5055, allocations: 12.02 kB / 0.6855 GB, free: 32.15 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.693e-05/0.5056, allocations: 11.59 kB / 0.6855 GB, free: 32.14 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002578/0.5058, allocations: 211.7 kB / 0.6857 GB, free: 31.89 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.5059, allocations: 3.125 kB / 0.6857 GB, free: 31.89 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.922e-05/0.5059, allocations: 4 kB / 0.6857 GB, free: 31.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.506, allocations: 45.67 kB / 0.6857 GB, free: 31.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.506, allocations: 3.938 kB / 0.6857 GB, free: 31.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.5061, allocations: 2.859 kB / 0.6857 GB, free: 31.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.5061, allocations: 0 / 0.6857 GB, free: 31.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.231e-05/0.5062, allocations: 16 kB / 0.6857 GB, free: 31.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003893/0.5066, allocations: 298.8 kB / 0.686 GB, free: 31.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000231/0.5068, allocations: 42.55 kB / 0.6861 GB, free: 31.43 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.856e-05/0.5069, allocations: 23.8 kB / 0.6861 GB, free: 31.41 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.194e-05/0.5069, allocations: 0 / 0.6861 GB, free: 31.41 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001305/0.507, allocations: 59.39 kB / 0.6862 GB, free: 31.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.663e-06/0.507, allocations: 1.5 kB / 0.6862 GB, free: 31.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004959/0.5075, allocations: 121.3 kB / 0.6863 GB, free: 31.21 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.5076, allocations: 58.41 kB / 0.6863 GB, free: 31.14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002526/0.5079, allocations: 212.4 kB / 0.6865 GB, free: 30.92 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.5079, allocations: 25.7 kB / 0.6866 GB, free: 30.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.274e-05/0.508, allocations: 108 kB / 0.6867 GB, free: 30.78 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.305e-05/0.508, allocations: 7.906 kB / 0.6867 GB, free: 30.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.528e-06/0.508, allocations: 4 kB / 0.6867 GB, free: 30.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.489e-05/0.5081, allocations: 327.5 kB / 0.687 GB, free: 30.44 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.974e-05/0.5082, allocations: 23.3 kB / 0.687 GB, free: 30.42 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.215e-05/0.5082, allocations: 27.98 kB / 0.687 GB, free: 30.39 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.964e-05/0.5083, allocations: 53.45 kB / 0.6871 GB, free: 30.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.5083, allocations: 0 / 0.6871 GB, free: 30.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002533/0.5086, allocations: 139.1 kB / 0.6872 GB, free: 30.19 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.455e-05/0.5087, allocations: 29.7 kB / 0.6872 GB, free: 30.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.5087, allocations: 0 / 0.6872 GB, free: 30.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.5087, allocations: 4 kB / 0.6872 GB, free: 30.15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.545e-05/0.5088, allocations: 15.98 kB / 0.6873 GB, free: 30.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.014e-06/0.5088, allocations: 3.406 kB / 0.6873 GB, free: 30.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.119e-05/0.5089, allocations: 3.953 kB / 0.6873 GB, free: 30.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/0.5089, allocations: 4 kB / 0.6873 GB, free: 30.13 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.0001426/0.5091, allocations: 131.8 kB / 0.6874 GB, free: 29.99 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.931e-05/0.5091, allocations: 7.906 kB / 0.6874 GB, free: 29.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002509/0.5094, allocations: 90.67 kB / 0.6875 GB, free: 29.89 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.5094, allocations: 6.375 kB / 0.6875 GB, free: 29.89 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.5094, allocations: 0 / 0.6875 GB, free: 29.89 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.5094, allocations: 0 / 0.6875 GB, free: 29.89 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004182/0.5098, allocations: 374.4 kB / 0.6879 GB, free: 29.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.5099, allocations: 2.312 kB / 0.6879 GB, free: 29.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.714e-05/0.5099, allocations: 7.984 kB / 0.6879 GB, free: 29.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.5099, allocations: 0 / 0.6879 GB, free: 29.46 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.51, allocations: 9.594 kB / 0.6879 GB, free: 29.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.726e-06/0.51, allocations: 0 / 0.6879 GB, free: 29.46 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.51, allocations: 3.953 kB / 0.6879 GB, free: 29.45 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001934/0.5102, allocations: 176.4 kB / 0.688 GB, free: 29.27 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.328e-05/0.5103, allocations: 96.94 kB / 0.6881 GB, free: 29.15 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.295e-05/0.5103, allocations: 7.438 kB / 0.6881 GB, free: 29.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.587e-05/0.5104, allocations: 4 kB / 0.6881 GB, free: 29.14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.27e-05/0.5105, allocations: 3.984 kB / 0.6881 GB, free: 29.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.5105, allocations: 7.953 kB / 0.6882 GB, free: 29.13 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001658/0.5107, allocations: 155.9 kB / 0.6883 GB, free: 28.98 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5107, allocations: 2.812 kB / 0.6883 GB, free: 28.98 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003742/0.5111, allocations: 43.92 kB / 0.6884 GB, free: 28.94 MB / 362.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.0009875/0.5121, allocations: 359.7 kB / 0.6887 GB, free: 28.77 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002605/0.5123, allocations: 119.3 kB / 0.6888 GB, free: 28.64 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.5124, allocations: 3.406 kB / 0.6888 GB, free: 28.64 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.087e-05/0.5124, allocations: 16 kB / 0.6888 GB, free: 28.62 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00043/0.5129, allocations: 15.98 kB / 0.6888 GB, free: 28.61 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005908/0.5135, allocations: 239.2 kB / 0.6891 GB, free: 28.36 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001699/0.5137, allocations: 0.7081 MB / 0.6898 GB, free: 27.62 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.373e-05/0.5137, allocations: 14.86 kB / 0.6898 GB, free: 27.62 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.659e-05/0.5138, allocations: 23.42 kB / 0.6898 GB, free: 27.59 MB / 362.7 MB Notification: Performance of SimCode: time 1.353e-06/0.5138, allocations: 0.8125 kB / 0.6898 GB, free: 27.59 MB / 362.7 MB Notification: Performance of Templates: time 0.005704/0.5195, allocations: 1.576 MB / 0.6913 GB, free: 26.15 MB / 362.7 MB