Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,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.Test73") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002637/0.002637, allocations: 360 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.235/4.235, allocations: 388.9 MB / 405.6 MB, free: 10.25 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.003655/0.003655, allocations: 225.5 kB / 451 MB, free: 145.1 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.5808/0.5808, allocations: 80.02 MB / 0.5627 GB, free: 19.86 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004689/0.0004692, allocations: 12 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1173, allocations: 54.86 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5483/0.6656, allocations: 82.27 MB / 0.7604 GB, free: 3.047 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003763/0.6661, allocations: 82.45 kB / 0.7605 GB, free: 3.004 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.04234/0.7085, allocations: 6.779 MB / 0.7671 GB, free: 13.26 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.196e-06/0.7085, allocations: 0 / 0.7671 GB, free: 13.26 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.728e-05/0.7086, allocations: 8 kB / 0.7671 GB, free: 13.25 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.001435/0.71, allocations: 0.6363 MB / 0.7678 GB, free: 12.56 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.624e-05/0.7101, allocations: 8.828 kB / 0.7678 GB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001552/0.7103, allocations: 27.7 kB / 0.7678 GB, free: 12.53 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008226/0.7111, allocations: 260.9 kB / 0.768 GB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.442e-05/0.7112, allocations: 11.38 kB / 0.768 GB, free: 12.24 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.069e-05/0.7113, allocations: 8 kB / 0.7681 GB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000439/0.7117, allocations: 100.4 kB / 0.7682 GB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.473e-05/0.7118, allocations: 15.8 kB / 0.7682 GB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.646e-05/0.7118, allocations: 3.5 kB / 0.7682 GB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.317e-05/0.7119, allocations: 4 kB / 0.7682 GB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002849/0.7122, allocations: 42.59 kB / 0.7682 GB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001214/0.7134, allocations: 0.4917 MB / 0.7687 GB, free: 11.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006886/0.7141, allocations: 128.4 kB / 0.7688 GB, free: 11.47 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002458/0.7144, allocations: 44.19 kB / 0.7689 GB, free: 11.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.523e-05/0.7145, allocations: 7.938 kB / 0.7689 GB, free: 11.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004518/0.7149, allocations: 112.8 kB / 0.769 GB, free: 11.31 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 3.757e-06/0.715, allocations: 0 / 0.769 GB, free: 11.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.002168/0.7171, allocations: 378.6 kB / 0.7693 GB, free: 11.01 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.787e-05/0.7173, allocations: 81.11 kB / 0.7694 GB, free: 10.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009316/0.7182, allocations: 348.9 kB / 0.7697 GB, free: 10.62 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001201/0.7184, allocations: 33.39 kB / 0.7698 GB, free: 10.59 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001939/0.7186, allocations: 132.2 kB / 0.7699 GB, free: 10.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/0.7188, allocations: 45.17 kB / 0.7699 GB, free: 10.44 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.249e-05/0.7188, allocations: 6.75 kB / 0.77 GB, free: 10.44 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002095/0.7191, allocations: 343.2 kB / 0.7703 GB, free: 10.11 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004141/0.7195, allocations: 68.09 kB / 0.7703 GB, free: 10.06 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004318/0.7199, allocations: 116.4 kB / 0.7705 GB, free: 9.965 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005665/0.7205, allocations: 149.3 kB / 0.7706 GB, free: 9.844 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.7206, allocations: 0 / 0.7706 GB, free: 9.844 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001234/0.7218, allocations: 334.6 kB / 0.7709 GB, free: 9.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001015/0.7219, allocations: 67.08 kB / 0.771 GB, free: 9.496 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/0.722, allocations: 4 kB / 0.771 GB, free: 9.492 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.346e-05/0.722, allocations: 4.062 kB / 0.771 GB, free: 9.488 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003393/0.7224, allocations: 43.59 kB / 0.771 GB, free: 9.449 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/0.7224, allocations: 0 / 0.771 GB, free: 9.449 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002833/0.7227, allocations: 8 kB / 0.771 GB, free: 9.441 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-05/0.7228, allocations: 15.56 kB / 0.7711 GB, free: 9.43 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.0003335/0.7231, allocations: 165.1 kB / 0.7712 GB, free: 9.273 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.068e-05/0.7232, allocations: 23.62 kB / 0.7712 GB, free: 9.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001013/0.7242, allocations: 223 kB / 0.7714 GB, free: 9.074 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.7243, allocations: 0 / 0.7714 GB, free: 9.074 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.28e-05/0.7243, allocations: 4 kB / 0.7714 GB, free: 9.07 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.7243, allocations: 0 / 0.7714 GB, free: 9.07 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001897/0.7262, allocations: 0.6676 MB / 0.7721 GB, free: 8.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.818e-06/0.7263, allocations: 4.062 kB / 0.7721 GB, free: 8.426 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002015/0.7265, allocations: 27.92 kB / 0.7721 GB, free: 8.398 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.055e-05/0.7265, allocations: 0 / 0.7721 GB, free: 8.398 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.768e-05/0.7266, allocations: 11.11 kB / 0.7721 GB, free: 8.391 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.538e-06/0.7266, allocations: 4 kB / 0.7721 GB, free: 8.387 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/0.7266, allocations: 4 kB / 0.7722 GB, free: 8.383 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009812/0.7276, allocations: 385.8 kB / 0.7725 GB, free: 8.023 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002643/0.7279, allocations: 126.3 kB / 0.7726 GB, free: 7.891 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.326e-05/0.728, allocations: 0 / 0.7726 GB, free: 7.891 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003643/0.7284, allocations: 15.48 kB / 0.7727 GB, free: 7.879 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.7285, allocations: 15.36 kB / 0.7727 GB, free: 7.867 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.499e-05/0.7286, allocations: 4 kB / 0.7727 GB, free: 7.863 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006559/0.7292, allocations: 253.6 kB / 0.7729 GB, free: 7.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.51e-07/0.7293, allocations: 4 kB / 0.7729 GB, free: 7.656 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001054/0.7303, allocations: 82.67 kB / 0.773 GB, free: 7.582 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.003239/0.7336, allocations: 0.6684 MB / 0.7736 GB, free: 7.117 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001268/0.735, allocations: 344.5 kB / 0.774 GB, free: 6.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.904e-06/0.735, allocations: 0 / 0.774 GB, free: 6.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003558/0.7354, allocations: 73.34 kB / 0.774 GB, free: 6.785 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001201/0.7366, allocations: 47.08 kB / 0.7741 GB, free: 6.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001746/0.7384, allocations: 496.3 kB / 0.7746 GB, free: 6.266 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006187/0.7391, allocations: 0.7555 MB / 0.7753 GB, free: 5.488 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002947/0.7394, allocations: 35.05 kB / 0.7753 GB, free: 5.457 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001612/0.7396, allocations: 30.05 kB / 0.7754 GB, free: 5.43 MB / 362.7 MB Notification: Performance of SimCode: time 1.523e-06/0.7396, allocations: 0 / 0.7754 GB, free: 5.43 MB / 362.7 MB Notification: Performance of Templates: time 0.01583/0.7554, allocations: 3.303 MB / 0.7786 GB, free: 2.156 MB / 362.7 MB