Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,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.Test32") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00263/0.00263, allocations: 347.6 kB / 15.93 MB, free: 6.223 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.927/3.927, allocations: 341.5 MB / 358.2 MB, free: 12.63 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.003465/0.003464, allocations: 214.1 kB / 397.9 MB, free: 4.973 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.699/0.699, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000465/0.0004652, allocations: 12 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1021, allocations: 48.71 MB / 0.6067 GB, free: 4.641 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4902/0.5924, allocations: 75.82 MB / 0.6808 GB, free: 36.89 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003287/0.5928, allocations: 71.97 kB / 0.6809 GB, free: 36.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02044/0.6132, allocations: 3.937 MB / 0.6847 GB, free: 32.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.6133, allocations: 0 / 0.6847 GB, free: 32.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.508e-05/0.6133, allocations: 0 / 0.6847 GB, free: 32.96 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.0006126/0.6139, allocations: 438.6 kB / 0.6851 GB, free: 32.48 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.614, allocations: 8.031 kB / 0.6851 GB, free: 32.47 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.851e-05/0.6141, allocations: 10.53 kB / 0.6851 GB, free: 32.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002843/0.6144, allocations: 190.9 kB / 0.6853 GB, free: 32.24 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/0.6145, allocations: 7.984 kB / 0.6853 GB, free: 32.23 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.941e-05/0.6145, allocations: 3.938 kB / 0.6853 GB, free: 32.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.6147, allocations: 45.69 kB / 0.6854 GB, free: 32.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.6147, allocations: 0 / 0.6854 GB, free: 32.18 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.6147, allocations: 11.06 kB / 0.6854 GB, free: 32.17 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.6147, allocations: 0 / 0.6854 GB, free: 32.17 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.392e-05/0.6148, allocations: 11.98 kB / 0.6854 GB, free: 32.16 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005056/0.6154, allocations: 288.9 kB / 0.6857 GB, free: 31.83 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002947/0.6157, allocations: 50.5 kB / 0.6857 GB, free: 31.77 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.927e-05/0.6157, allocations: 13.56 kB / 0.6857 GB, free: 31.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.6158, allocations: 2.906 kB / 0.6857 GB, free: 31.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000163/0.616, allocations: 59.48 kB / 0.6858 GB, free: 31.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 2.324e-06/0.616, allocations: 0 / 0.6858 GB, free: 31.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006179/0.6166, allocations: 129.1 kB / 0.6859 GB, free: 31.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.6167, allocations: 56.91 kB / 0.686 GB, free: 31.49 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002576/0.6169, allocations: 176.2 kB / 0.6861 GB, free: 31.31 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.617, allocations: 25.7 kB / 0.6862 GB, free: 31.28 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.039e-05/0.617, allocations: 96.12 kB / 0.6863 GB, free: 31.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.218e-05/0.6171, allocations: 19.8 kB / 0.6863 GB, free: 31.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.079e-05/0.6171, allocations: 0 / 0.6863 GB, free: 31.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.4e-05/0.6172, allocations: 326.1 kB / 0.6866 GB, free: 30.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.569e-05/0.6173, allocations: 23.98 kB / 0.6866 GB, free: 30.81 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.975e-05/0.6174, allocations: 24.95 kB / 0.6866 GB, free: 30.79 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000121/0.6176, allocations: 65.38 kB / 0.6867 GB, free: 30.72 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.6176, allocations: 0 / 0.6867 GB, free: 30.72 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003426/0.6179, allocations: 123.3 kB / 0.6868 GB, free: 30.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.026e-05/0.618, allocations: 37.69 kB / 0.6868 GB, free: 30.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.618, allocations: 0.6875 kB / 0.6868 GB, free: 30.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.6181, allocations: 0 / 0.6868 GB, free: 30.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.6182, allocations: 12.72 kB / 0.6869 GB, free: 30.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.6182, allocations: 3.953 kB / 0.6869 GB, free: 30.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.347e-05/0.6183, allocations: 10.98 kB / 0.6869 GB, free: 30.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.967e-05/0.6184, allocations: 0 / 0.6869 GB, free: 30.52 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.0001254/0.6185, allocations: 127.9 kB / 0.687 GB, free: 30.39 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.472e-05/0.6185, allocations: 7.906 kB / 0.687 GB, free: 30.38 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003268/0.6189, allocations: 93.41 kB / 0.6871 GB, free: 30.29 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.6189, allocations: 1.594 kB / 0.6871 GB, free: 30.29 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.6189, allocations: 3.938 kB / 0.6871 GB, free: 30.29 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.6189, allocations: 3.953 kB / 0.6871 GB, free: 30.28 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005266/0.6195, allocations: 353.4 kB / 0.6874 GB, free: 29.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.6195, allocations: 3.062 kB / 0.6874 GB, free: 29.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.384e-05/0.6196, allocations: 4 kB / 0.6874 GB, free: 29.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.972e-06/0.6196, allocations: 4 kB / 0.6874 GB, free: 29.88 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.6196, allocations: 0 / 0.6874 GB, free: 29.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.6197, allocations: 3.953 kB / 0.6875 GB, free: 29.87 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.6197, allocations: 0 / 0.6875 GB, free: 29.87 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002553/0.6199, allocations: 182.7 kB / 0.6876 GB, free: 29.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.752e-05/0.62, allocations: 85.02 kB / 0.6877 GB, free: 29.58 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.324e-05/0.6201, allocations: 7.984 kB / 0.6877 GB, free: 29.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.6202, allocations: 0 / 0.6877 GB, free: 29.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.347e-05/0.6203, allocations: 11.95 kB / 0.6877 GB, free: 29.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.6203, allocations: 0 / 0.6877 GB, free: 29.56 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001746/0.6205, allocations: 131.2 kB / 0.6879 GB, free: 29.43 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.6205, allocations: 0 / 0.6879 GB, free: 29.43 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006469/0.6212, allocations: 32 kB / 0.6879 GB, free: 29.4 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.001389/0.6226, allocations: 370.6 kB / 0.6882 GB, free: 29.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003376/0.623, allocations: 111.3 kB / 0.6883 GB, free: 29.11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.623, allocations: 0 / 0.6883 GB, free: 29.11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.381e-05/0.6231, allocations: 19.98 kB / 0.6884 GB, free: 29.09 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006528/0.6237, allocations: 16.67 kB / 0.6884 GB, free: 29.07 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006409/0.6244, allocations: 208.1 kB / 0.6886 GB, free: 28.85 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002097/0.6246, allocations: 0.7004 MB / 0.6893 GB, free: 28.12 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.838e-05/0.6247, allocations: 10.27 kB / 0.6893 GB, free: 28.11 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.713e-05/0.6248, allocations: 15.44 kB / 0.6893 GB, free: 28.1 MB / 362.7 MB Notification: Performance of SimCode: time 1.132e-06/0.6248, allocations: 0.8125 kB / 0.6893 GB, free: 28.1 MB / 362.7 MB Notification: Performance of Templates: time 0.007052/0.6319, allocations: 1.507 MB / 0.6908 GB, free: 26.74 MB / 362.7 MB