Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,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.Test29") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002675/0.002675, allocations: 347.2 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.965/3.965, 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.03248/0.03248, allocations: 214.2 kB / 397.8 MB, free: 4.895 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.5409/0.5409, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000678/0.0006784, allocations: 12 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1053, allocations: 48.7 MB / 0.6067 GB, free: 4.637 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4094/0.5148, allocations: 75.87 MB / 0.6808 GB, free: 36.86 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002581/0.5151, allocations: 75.97 kB / 0.6809 GB, free: 36.79 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01616/0.5313, allocations: 4.033 MB / 0.6848 GB, free: 32.84 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.5314, allocations: 0 / 0.6848 GB, free: 32.84 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.3e-05/0.5314, allocations: 0 / 0.6848 GB, free: 32.84 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.0005036/0.5319, allocations: 439.3 kB / 0.6853 GB, free: 32.36 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.532, allocations: 8.031 kB / 0.6853 GB, free: 32.35 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.13e-05/0.532, allocations: 7.906 kB / 0.6853 GB, free: 32.34 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002279/0.5323, allocations: 198.8 kB / 0.6855 GB, free: 32.11 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.5323, allocations: 2.031 kB / 0.6855 GB, free: 32.11 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.523e-05/0.5323, allocations: 8 kB / 0.6855 GB, free: 32.1 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/0.5325, allocations: 41.69 kB / 0.6855 GB, free: 32.05 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.5325, allocations: 0 / 0.6855 GB, free: 32.05 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.5325, allocations: 3.984 kB / 0.6855 GB, free: 32.05 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.5325, allocations: 2.844 kB / 0.6855 GB, free: 32.05 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.829e-05/0.5326, allocations: 12 kB / 0.6855 GB, free: 32.04 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003802/0.533, allocations: 296.8 kB / 0.6858 GB, free: 31.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002319/0.5332, allocations: 41.38 kB / 0.6858 GB, free: 31.65 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.934e-05/0.5333, allocations: 12.86 kB / 0.6859 GB, free: 31.64 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.5333, allocations: 4.094 kB / 0.6859 GB, free: 31.63 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001259/0.5335, allocations: 56.94 kB / 0.6859 GB, free: 31.57 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.894e-06/0.5335, allocations: 0 / 0.6859 GB, free: 31.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.00047/0.534, allocations: 129.9 kB / 0.686 GB, free: 31.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.906e-05/0.534, allocations: 52 kB / 0.6861 GB, free: 31.37 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001932/0.5342, allocations: 177.8 kB / 0.6863 GB, free: 31.19 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.5343, allocations: 29.7 kB / 0.6863 GB, free: 31.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.466e-05/0.5343, allocations: 100.1 kB / 0.6864 GB, free: 31.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.188e-05/0.5344, allocations: 13.31 kB / 0.6864 GB, free: 31.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.746e-06/0.5344, allocations: 4 kB / 0.6864 GB, free: 31.04 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.392e-05/0.5345, allocations: 318.8 kB / 0.6867 GB, free: 30.72 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.722e-05/0.5345, allocations: 27.92 kB / 0.6867 GB, free: 30.69 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.339e-05/0.5346, allocations: 23.98 kB / 0.6868 GB, free: 30.67 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.968e-05/0.5347, allocations: 59.33 kB / 0.6868 GB, free: 30.61 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.5347, allocations: 0 / 0.6868 GB, free: 30.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002393/0.535, allocations: 135 kB / 0.6869 GB, free: 30.46 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.515e-05/0.535, allocations: 33.7 kB / 0.687 GB, free: 30.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.535, allocations: 0 / 0.687 GB, free: 30.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.5351, allocations: 3.125 kB / 0.687 GB, free: 30.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.934e-05/0.5351, allocations: 11.98 kB / 0.687 GB, free: 30.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.5352, allocations: 3.953 kB / 0.687 GB, free: 30.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.636e-05/0.5352, allocations: 8 kB / 0.687 GB, free: 30.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.5353, allocations: 4 kB / 0.687 GB, free: 30.4 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 9.325e-05/0.5354, allocations: 123.9 kB / 0.6871 GB, free: 30.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.237e-05/0.5354, allocations: 7.906 kB / 0.6871 GB, free: 30.26 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002436/0.5357, allocations: 101.7 kB / 0.6872 GB, free: 30.17 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.5357, allocations: 0 / 0.6872 GB, free: 30.17 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.5357, allocations: 4 kB / 0.6872 GB, free: 30.16 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.5357, allocations: 3.953 kB / 0.6872 GB, free: 30.16 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003846/0.5361, allocations: 350 kB / 0.6876 GB, free: 29.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.5361, allocations: 0 / 0.6876 GB, free: 29.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.611e-05/0.5362, allocations: 11.98 kB / 0.6876 GB, free: 29.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.5362, allocations: 3.938 kB / 0.6876 GB, free: 29.75 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.5362, allocations: 0 / 0.6876 GB, free: 29.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.5362, allocations: 3.953 kB / 0.6876 GB, free: 29.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.5362, allocations: 0 / 0.6876 GB, free: 29.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001896/0.5364, allocations: 174.1 kB / 0.6878 GB, free: 29.56 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.461e-05/0.5365, allocations: 93 kB / 0.6878 GB, free: 29.45 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.027e-05/0.5365, allocations: 4 kB / 0.6878 GB, free: 29.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.74e-05/0.5366, allocations: 0 / 0.6878 GB, free: 29.45 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.373e-05/0.5367, allocations: 11.94 kB / 0.6879 GB, free: 29.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.5367, allocations: 7.281 kB / 0.6879 GB, free: 29.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001212/0.5368, allocations: 127.8 kB / 0.688 GB, free: 29.31 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5368, allocations: 2.812 kB / 0.688 GB, free: 29.31 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003483/0.5372, allocations: 28 kB / 0.688 GB, free: 29.28 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.001005/0.5382, allocations: 367.3 kB / 0.6884 GB, free: 29.11 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002424/0.5385, allocations: 111.4 kB / 0.6885 GB, free: 28.98 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.5385, allocations: 0 / 0.6885 GB, free: 28.98 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.432e-05/0.5386, allocations: 23.11 kB / 0.6885 GB, free: 28.96 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004145/0.539, allocations: 15.98 kB / 0.6885 GB, free: 28.95 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000499/0.5395, allocations: 206 kB / 0.6887 GB, free: 28.73 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001672/0.5397, allocations: 0.7004 MB / 0.6894 GB, free: 28 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.732e-05/0.5398, allocations: 10.81 kB / 0.6894 GB, free: 27.99 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.832e-05/0.5398, allocations: 22.83 kB / 0.6894 GB, free: 27.97 MB / 362.7 MB Notification: Performance of SimCode: time 6.12e-07/0.5398, allocations: 0 / 0.6894 GB, free: 27.97 MB / 362.7 MB Notification: Performance of Templates: time 0.005355/0.5452, allocations: 1.509 MB / 0.6909 GB, free: 26.61 MB / 362.7 MB