Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test78.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test78") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002748/0.002748, allocations: 362.5 kB / 15.95 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.239/4.239, allocations: 388.9 MB / 405.6 MB, free: 10.24 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003695/0.003694, allocations: 217 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5517/0.5517, allocations: 80.02 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008193/0.0008196, allocations: 16 kB / 0.6265 GB, free: 96.51 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1451, allocations: 54.87 MB / 0.6801 GB, free: 41.63 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5909/0.736, allocations: 82.26 MB / 0.7604 GB, free: 3.031 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003261/0.7364, allocations: 78 kB / 0.7605 GB, free: 2.992 MB / 346.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValue. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmin. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmax. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new_2.getDerTableValue. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new_2.getTableValue. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new_2.getTableTimeTmin. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new_2.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.04238/0.7788, allocations: 7.105 MB / 0.7674 GB, free: 12.95 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.7788, allocations: 0 / 0.7674 GB, free: 12.95 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.867e-05/0.7789, allocations: 4 kB / 0.7674 GB, free: 12.94 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.001519/0.7804, allocations: 0.6876 MB / 0.7681 GB, free: 12.2 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.724e-05/0.7805, allocations: 8.828 kB / 0.7681 GB, free: 12.19 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001753/0.7807, allocations: 31.7 kB / 0.7682 GB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000879/0.7816, allocations: 288.6 kB / 0.7684 GB, free: 11.85 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.179e-05/0.7817, allocations: 7.438 kB / 0.7684 GB, free: 11.85 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.705e-05/0.7817, allocations: 15.94 kB / 0.7684 GB, free: 11.83 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004332/0.7822, allocations: 100.2 kB / 0.7685 GB, free: 11.74 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.7822, allocations: 4 kB / 0.7685 GB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.576e-05/0.7823, allocations: 10.75 kB / 0.7686 GB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.7823, allocations: 0 / 0.7686 GB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003133/0.7826, allocations: 48.39 kB / 0.7686 GB, free: 11.69 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001282/0.7839, allocations: 0.5089 MB / 0.7691 GB, free: 11.19 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006617/0.7846, allocations: 127.9 kB / 0.7692 GB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002416/0.7849, allocations: 39.33 kB / 0.7693 GB, free: 11.03 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.732e-05/0.785, allocations: 11.31 kB / 0.7693 GB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000472/0.7854, allocations: 116.1 kB / 0.7694 GB, free: 10.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 4.328e-06/0.7855, allocations: 0 / 0.7694 GB, free: 10.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.002203/0.7877, allocations: 392.2 kB / 0.7698 GB, free: 10.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.159e-05/0.7878, allocations: 81.11 kB / 0.7698 GB, free: 10.49 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001255/0.7891, allocations: 461.5 kB / 0.7703 GB, free: 10.12 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.414e-05/0.7892, allocations: 36.45 kB / 0.7703 GB, free: 10.09 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002109/0.7894, allocations: 153.2 kB / 0.7705 GB, free: 9.977 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/0.7896, allocations: 54.28 kB / 0.7705 GB, free: 9.93 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.122e-05/0.7896, allocations: 7.125 kB / 0.7705 GB, free: 9.926 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002438/0.7899, allocations: 349.8 kB / 0.7708 GB, free: 9.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004097/0.7903, allocations: 77.53 kB / 0.7709 GB, free: 9.535 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004603/0.7908, allocations: 116.1 kB / 0.771 GB, free: 9.441 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004973/0.7913, allocations: 144.3 kB / 0.7712 GB, free: 9.328 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.7913, allocations: 0 / 0.7712 GB, free: 9.328 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001385/0.7927, allocations: 342.8 kB / 0.7715 GB, free: 9.047 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001145/0.7929, allocations: 67.39 kB / 0.7716 GB, free: 8.969 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.978e-06/0.7929, allocations: 0 / 0.7716 GB, free: 8.969 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/0.7929, allocations: 0 / 0.7716 GB, free: 8.969 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003452/0.7933, allocations: 39.8 kB / 0.7716 GB, free: 8.934 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.551e-05/0.7933, allocations: 3.984 kB / 0.7716 GB, free: 8.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003418/0.7937, allocations: 15.31 kB / 0.7716 GB, free: 8.918 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.277e-05/0.7938, allocations: 11.94 kB / 0.7716 GB, free: 8.906 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 2 * 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.0004081/0.7942, allocations: 176.7 kB / 0.7718 GB, free: 8.742 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/0.7943, allocations: 27.62 kB / 0.7718 GB, free: 8.715 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001119/0.7955, allocations: 244.6 kB / 0.7721 GB, free: 8.516 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/0.7955, allocations: 4 kB / 0.7721 GB, free: 8.512 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/0.7956, allocations: 0 / 0.7721 GB, free: 8.512 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.7956, allocations: 4 kB / 0.7721 GB, free: 8.508 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00213/0.7977, allocations: 0.6958 MB / 0.7727 GB, free: 7.844 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.065e-05/0.7978, allocations: 7.984 kB / 0.7728 GB, free: 7.836 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001995/0.798, allocations: 23.94 kB / 0.7728 GB, free: 7.816 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.48e-05/0.798, allocations: 4 kB / 0.7728 GB, free: 7.812 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.083e-05/0.7981, allocations: 11.97 kB / 0.7728 GB, free: 7.801 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-06/0.7981, allocations: 3.938 kB / 0.7728 GB, free: 7.797 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/0.7982, allocations: 3.953 kB / 0.7728 GB, free: 7.793 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/0.7993, allocations: 382.5 kB / 0.7732 GB, free: 7.438 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003131/0.7996, allocations: 139 kB / 0.7733 GB, free: 7.293 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.7998, allocations: 7.984 kB / 0.7733 GB, free: 7.285 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003663/0.8001, allocations: 7.375 kB / 0.7733 GB, free: 7.281 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.701e-05/0.8003, allocations: 23.06 kB / 0.7733 GB, free: 7.262 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.132e-05/0.8003, allocations: 7.984 kB / 0.7733 GB, free: 7.254 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008575/0.8012, allocations: 338.1 kB / 0.7737 GB, free: 7.004 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.8012, allocations: 4 kB / 0.7737 GB, free: 7 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001041/0.8023, allocations: 96.61 kB / 0.7738 GB, free: 6.914 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.003106/0.8054, allocations: 0.6731 MB / 0.7744 GB, free: 6.465 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001197/0.8067, allocations: 341.6 kB / 0.7747 GB, free: 6.188 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.8067, allocations: 0 / 0.7747 GB, free: 6.188 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003325/0.807, allocations: 71.14 kB / 0.7748 GB, free: 6.133 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0012/0.8083, allocations: 47.88 kB / 0.7749 GB, free: 6.102 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00205/0.8103, allocations: 0.608 MB / 0.7754 GB, free: 5.508 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006318/0.811, allocations: 0.7785 MB / 0.7762 GB, free: 4.711 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002943/0.8114, allocations: 37.84 kB / 0.7762 GB, free: 4.676 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000169/0.8115, allocations: 30.8 kB / 0.7763 GB, free: 4.648 MB / 362.7 MB Notification: Performance of SimCode: time 1.473e-06/0.8116, allocations: 0 / 0.7763 GB, free: 4.648 MB / 362.7 MB Notification: Performance of Templates: time 0.01673/0.8283, allocations: 3.561 MB / 0.7797 GB, free: 1.121 MB / 362.7 MB