Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,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.Test43") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002729/0.002728, 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 4.154/4.154, allocations: 341.5 MB / 358.2 MB, free: 12.54 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.003639/0.003639, allocations: 222.1 kB / 397.9 MB, free: 4.883 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.6917/0.6917, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007103/0.0007106, allocations: 12 kB / 0.5592 GB, free: 53.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1216, allocations: 48.7 MB / 0.6067 GB, free: 4.617 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5521/0.6738, allocations: 75.87 MB / 0.6808 GB, free: 36.87 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003351/0.6742, allocations: 75.97 kB / 0.6809 GB, free: 36.79 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02427/0.6985, allocations: 4.096 MB / 0.6849 GB, free: 32.78 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.6986, allocations: 0 / 0.6849 GB, free: 32.78 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.867e-05/0.6986, allocations: 0 / 0.6849 GB, free: 32.78 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.0007104/0.6993, allocations: 443.8 kB / 0.6853 GB, free: 32.3 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.6994, allocations: 12.03 kB / 0.6853 GB, free: 32.29 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.267e-05/0.6995, allocations: 7.906 kB / 0.6853 GB, free: 32.28 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003486/0.6999, allocations: 205.2 kB / 0.6855 GB, free: 32.05 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.453e-05/0.6999, allocations: 4 kB / 0.6855 GB, free: 32.04 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.678e-05/0.7, allocations: 8 kB / 0.6855 GB, free: 32.04 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.7001, allocations: 45.67 kB / 0.6856 GB, free: 31.98 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.7002, allocations: 0 / 0.6856 GB, free: 31.98 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.7002, allocations: 0 / 0.6856 GB, free: 31.98 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.7002, allocations: 0 / 0.6856 GB, free: 31.98 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.824e-05/0.7003, allocations: 15.98 kB / 0.6856 GB, free: 31.97 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005898/0.7009, allocations: 301 kB / 0.6859 GB, free: 31.63 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003288/0.7013, allocations: 38.66 kB / 0.6859 GB, free: 31.58 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.836e-05/0.7014, allocations: 20.84 kB / 0.686 GB, free: 31.56 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.7014, allocations: 0 / 0.686 GB, free: 31.56 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001844/0.7016, allocations: 60.2 kB / 0.686 GB, free: 31.49 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 2.846e-06/0.7016, allocations: 0.6875 kB / 0.686 GB, free: 31.49 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007023/0.7024, allocations: 122.5 kB / 0.6861 GB, free: 31.37 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.7024, allocations: 51.41 kB / 0.6862 GB, free: 31.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003166/0.7028, allocations: 188.2 kB / 0.6864 GB, free: 31.11 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.7028, allocations: 29.7 kB / 0.6864 GB, free: 31.07 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.023e-05/0.7029, allocations: 108 kB / 0.6865 GB, free: 30.96 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.639e-05/0.703, allocations: 7.812 kB / 0.6865 GB, free: 30.96 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.166e-05/0.703, allocations: 4 kB / 0.6865 GB, free: 30.95 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.95e-05/0.7031, allocations: 324.2 kB / 0.6868 GB, free: 30.63 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.7032, allocations: 19.98 kB / 0.6868 GB, free: 30.61 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.947e-05/0.7034, allocations: 31.73 kB / 0.6869 GB, free: 30.58 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/0.7035, allocations: 57.11 kB / 0.6869 GB, free: 30.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.7035, allocations: 0 / 0.6869 GB, free: 30.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004197/0.704, allocations: 135.2 kB / 0.687 GB, free: 30.38 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.966e-05/0.704, allocations: 33.7 kB / 0.6871 GB, free: 30.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.7041, allocations: 0 / 0.6871 GB, free: 30.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/0.7041, allocations: 0 / 0.6871 GB, free: 30.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.7042, allocations: 11.98 kB / 0.6871 GB, free: 30.33 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.324e-05/0.7043, allocations: 4 kB / 0.6871 GB, free: 30.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/0.7044, allocations: 6.766 kB / 0.6871 GB, free: 30.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.282e-05/0.7044, allocations: 4.594 kB / 0.6871 GB, free: 30.32 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.0001627/0.7046, allocations: 128.5 kB / 0.6872 GB, free: 30.18 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.278e-05/0.7047, allocations: 10.59 kB / 0.6872 GB, free: 30.18 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003852/0.7051, allocations: 93.83 kB / 0.6873 GB, free: 30.08 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.7051, allocations: 0 / 0.6873 GB, free: 30.08 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.7051, allocations: 0 / 0.6873 GB, free: 30.08 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.7052, allocations: 0 / 0.6873 GB, free: 30.08 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006026/0.7058, allocations: 360.2 kB / 0.6877 GB, free: 29.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.7058, allocations: 0 / 0.6877 GB, free: 29.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.198e-05/0.7059, allocations: 11.94 kB / 0.6877 GB, free: 29.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.956e-06/0.7059, allocations: 0.5625 kB / 0.6877 GB, free: 29.66 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/0.706, allocations: 7.719 kB / 0.6877 GB, free: 29.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.86e-06/0.706, allocations: 0 / 0.6877 GB, free: 29.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.706, allocations: 3.953 kB / 0.6877 GB, free: 29.65 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002989/0.7063, allocations: 178.9 kB / 0.6879 GB, free: 29.46 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.403e-05/0.7064, allocations: 85.02 kB / 0.6879 GB, free: 29.36 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.458e-05/0.7065, allocations: 2.812 kB / 0.6879 GB, free: 29.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001568/0.7067, allocations: 4 kB / 0.6879 GB, free: 29.36 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.174e-05/0.7067, allocations: 12.34 kB / 0.688 GB, free: 29.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.039e-05/0.7068, allocations: 7.953 kB / 0.688 GB, free: 29.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002263/0.707, allocations: 136 kB / 0.6881 GB, free: 29.21 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.707, allocations: 4 kB / 0.6881 GB, free: 29.21 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006972/0.7077, allocations: 35.94 kB / 0.6881 GB, free: 29.17 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.001536/0.7093, allocations: 368.4 kB / 0.6885 GB, free: 29 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004016/0.7098, allocations: 111.4 kB / 0.6886 GB, free: 28.88 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.7098, allocations: 0 / 0.6886 GB, free: 28.88 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.866e-05/0.7099, allocations: 23.92 kB / 0.6886 GB, free: 28.86 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006814/0.7106, allocations: 15.98 kB / 0.6886 GB, free: 28.84 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007885/0.7114, allocations: 213.6 kB / 0.6888 GB, free: 28.61 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002264/0.7117, allocations: 0.7074 MB / 0.6895 GB, free: 27.88 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.534e-05/0.7118, allocations: 15.27 kB / 0.6895 GB, free: 27.87 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.932e-05/0.7119, allocations: 11.44 kB / 0.6895 GB, free: 27.86 MB / 362.7 MB Notification: Performance of SimCode: time 1.422e-06/0.7119, allocations: 0 / 0.6895 GB, free: 27.86 MB / 362.7 MB Notification: Performance of Templates: time 0.00807/0.72, allocations: 1.53 MB / 0.691 GB, free: 26.45 MB / 362.7 MB