Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|t_new_2.nextTimeEvent|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002799/0.002798, allocations: 363.6 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.228/4.228, 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.004897/0.004897, allocations: 233.2 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.5932/0.5932, allocations: 80.01 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005018/0.0005021, allocations: 16 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1372, allocations: 54.87 MB / 0.6801 GB, free: 41.65 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5607/0.6979, allocations: 82.18 MB / 0.7603 GB, free: 3.086 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000329/0.6983, allocations: 80.7 kB / 0.7604 GB, free: 3.043 MB / 346.7 MB [/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.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.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.02296/0.7213, allocations: 5.35 MB / 0.7656 GB, free: 14.78 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.7214, allocations: 0 / 0.7656 GB, free: 14.78 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.97e-05/0.7214, allocations: 8 kB / 0.7657 GB, free: 14.77 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009015/0.7223, allocations: 0.5742 MB / 0.7662 GB, free: 14.14 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/0.7224, allocations: 12.03 kB / 0.7662 GB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001029/0.7225, allocations: 15.81 kB / 0.7662 GB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006983/0.7232, allocations: 226.9 kB / 0.7665 GB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.774e-05/0.7233, allocations: 4 kB / 0.7665 GB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.146e-05/0.7233, allocations: 7.938 kB / 0.7665 GB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004311/0.7238, allocations: 111.6 kB / 0.7666 GB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.7238, allocations: 0 / 0.7666 GB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.052e-05/0.7239, allocations: 3.953 kB / 0.7666 GB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.7239, allocations: 0 / 0.7666 GB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002821/0.7242, allocations: 35.84 kB / 0.7666 GB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004983/0.7247, allocations: 249 kB / 0.7669 GB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006821/0.7254, allocations: 112.5 kB / 0.767 GB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002605/0.7257, allocations: 40.77 kB / 0.767 GB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.86e-05/0.7258, allocations: 4 kB / 0.767 GB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004936/0.7263, allocations: 116.2 kB / 0.7671 GB, free: 13.17 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 4.238e-06/0.7263, allocations: 0 / 0.7671 GB, free: 13.17 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0008928/0.7272, allocations: 175.5 kB / 0.7673 GB, free: 13.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.749e-05/0.7273, allocations: 132.5 kB / 0.7674 GB, free: 12.86 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000354/0.7277, allocations: 215.3 kB / 0.7676 GB, free: 12.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.131e-05/0.7278, allocations: 29.7 kB / 0.7676 GB, free: 12.64 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.087e-05/0.7279, allocations: 107.6 kB / 0.7677 GB, free: 12.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.443e-05/0.7279, allocations: 23.59 kB / 0.7678 GB, free: 12.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.268e-05/0.728, allocations: 0 / 0.7678 GB, free: 12.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.7281, allocations: 329.9 kB / 0.7681 GB, free: 12.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002156/0.7284, allocations: 55.22 kB / 0.7681 GB, free: 12.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000242/0.7286, allocations: 95.59 kB / 0.7682 GB, free: 12.07 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002776/0.7289, allocations: 121.3 kB / 0.7683 GB, free: 11.97 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.7289, allocations: 0 / 0.7683 GB, free: 11.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006965/0.7296, allocations: 258.3 kB / 0.7686 GB, free: 11.74 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.348e-05/0.7297, allocations: 67.48 kB / 0.7687 GB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.7298, allocations: 4 kB / 0.7687 GB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.7298, allocations: 3.984 kB / 0.7687 GB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001991/0.73, allocations: 27.7 kB / 0.7687 GB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.73, allocations: 3.938 kB / 0.7687 GB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001806/0.7302, allocations: 23.73 kB / 0.7687 GB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.016e-05/0.7303, allocations: 11.75 kB / 0.7687 GB, free: 11.6 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_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * 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.0002286/0.7305, allocations: 135.6 kB / 0.7689 GB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.185e-05/0.7306, allocations: 15.81 kB / 0.7689 GB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005713/0.7311, allocations: 160.7 kB / 0.769 GB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.7312, allocations: 0 / 0.769 GB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/0.7312, allocations: 11.94 kB / 0.769 GB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.7312, allocations: 0 / 0.769 GB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00029/0.7315, allocations: 220.7 kB / 0.7692 GB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.7315, allocations: 4.75 kB / 0.7692 GB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.979e-05/0.7316, allocations: 8 kB / 0.7693 GB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.456e-06/0.7317, allocations: 3.938 kB / 0.7693 GB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.7317, allocations: 15.92 kB / 0.7693 GB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.7317, allocations: 4 kB / 0.7693 GB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.7317, allocations: 0 / 0.7693 GB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005104/0.7322, allocations: 179.8 kB / 0.7694 GB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001413/0.7324, allocations: 104.8 kB / 0.7695 GB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.102e-05/0.7325, allocations: 7.797 kB / 0.7696 GB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.7326, allocations: 8 kB / 0.7696 GB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.252e-05/0.7327, allocations: 15.92 kB / 0.7696 GB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.059e-05/0.7327, allocations: 4 kB / 0.7696 GB, free: 10.72 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002308/0.7329, allocations: 157.1 kB / 0.7697 GB, free: 10.59 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.7329, allocations: 0 / 0.7697 GB, free: 10.59 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004824/0.7334, allocations: 75.31 kB / 0.7698 GB, free: 10.52 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,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 (12): * Single equations (assignments): 8 * 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.002233/0.7357, allocations: 0.7011 MB / 0.7705 GB, free: 10.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007381/0.7365, allocations: 272.3 kB / 0.7707 GB, free: 9.789 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.7365, allocations: 3.938 kB / 0.7708 GB, free: 9.785 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002009/0.7367, allocations: 51.48 kB / 0.7708 GB, free: 9.746 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005371/0.7373, allocations: 39.38 kB / 0.7708 GB, free: 9.715 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008063/0.7381, allocations: 287.1 kB / 0.7711 GB, free: 9.434 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004004/0.7385, allocations: 0.7242 MB / 0.7718 GB, free: 8.684 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000169/0.7387, allocations: 25.06 kB / 0.7718 GB, free: 8.656 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.605e-05/0.7388, allocations: 23.42 kB / 0.7719 GB, free: 8.637 MB / 362.7 MB Notification: Performance of SimCode: time 9.22e-07/0.7388, allocations: 0 / 0.7719 GB, free: 8.637 MB / 362.7 MB Notification: Performance of Templates: time 0.01105/0.7499, allocations: 2.98 MB / 0.7748 GB, free: 5.684 MB / 362.7 MB