Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test76") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00286/0.00286, allocations: 363.1 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.216/4.216, allocations: 388.9 MB / 405.6 MB, free: 47.9 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003552/0.003552, allocations: 228.7 kB / 451 MB, free: 2.379 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.7734/0.7734, allocations: 80.01 MB / 0.5627 GB, free: 5.977 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005346/0.0005348, allocations: 15.94 kB / 0.6265 GB, free: 4.539 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1318, allocations: 54.88 MB / 0.6801 GB, free: 13.52 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4578/0.5897, allocations: 82.14 MB / 0.7603 GB, free: 38.11 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003269/0.5901, allocations: 79.95 kB / 0.7604 GB, free: 38.04 MB / 394.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. Notification: Performance of FrontEnd - DAE generated: time 0.03416/0.6242, allocations: 5.023 MB / 0.7653 GB, free: 33.1 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.54e-06/0.6243, allocations: 0 / 0.7653 GB, free: 33.1 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.99e-05/0.6243, allocations: 7.938 kB / 0.7653 GB, free: 33.09 MB / 394.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.0008076/0.6252, allocations: 469.4 kB / 0.7658 GB, free: 32.57 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.6252, allocations: 15.34 kB / 0.7658 GB, free: 32.56 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.774e-05/0.6253, allocations: 7.906 kB / 0.7658 GB, free: 32.55 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004537/0.6258, allocations: 216.4 kB / 0.766 GB, free: 32.3 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.394e-05/0.6259, allocations: 4 kB / 0.766 GB, free: 32.3 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.478e-05/0.6259, allocations: 8 kB / 0.766 GB, free: 32.29 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003076/0.6263, allocations: 77.55 kB / 0.7661 GB, free: 32.21 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.6263, allocations: 6.969 kB / 0.7661 GB, free: 32.21 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.341e-05/0.6264, allocations: 5.125 kB / 0.7661 GB, free: 32.21 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.6264, allocations: 2.109 kB / 0.7661 GB, free: 32.21 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003001/0.6267, allocations: 51.95 kB / 0.7661 GB, free: 32.16 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007451/0.6275, allocations: 339.7 kB / 0.7665 GB, free: 31.78 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005433/0.628, allocations: 99.61 kB / 0.7666 GB, free: 31.67 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00018/0.6282, allocations: 32.84 kB / 0.7666 GB, free: 31.64 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/0.6283, allocations: 5.438 kB / 0.7666 GB, free: 31.63 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003355/0.6286, allocations: 81.41 kB / 0.7667 GB, free: 31.54 MB / 394.7 MB Notification: Performance of pre-optimization done (n=8): time 4.278e-06/0.6287, allocations: 3.938 kB / 0.7667 GB, free: 31.54 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.001464/0.6302, allocations: 247.3 kB / 0.7669 GB, free: 31.29 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.6302, allocations: 51.41 kB / 0.767 GB, free: 31.23 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003494/0.6306, allocations: 191.2 kB / 0.7671 GB, free: 31.03 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.672e-05/0.6307, allocations: 29.7 kB / 0.7672 GB, free: 31 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.492e-05/0.6308, allocations: 108.2 kB / 0.7673 GB, free: 30.89 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.948e-05/0.6308, allocations: 27.64 kB / 0.7673 GB, free: 30.86 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.207e-05/0.6309, allocations: 4 kB / 0.7673 GB, free: 30.86 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.338e-05/0.631, allocations: 330.8 kB / 0.7676 GB, free: 30.52 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002622/0.6313, allocations: 51.88 kB / 0.7677 GB, free: 30.47 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002846/0.6316, allocations: 68.41 kB / 0.7677 GB, free: 30.4 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003143/0.6319, allocations: 92.27 kB / 0.7678 GB, free: 30.31 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.632, allocations: 0 / 0.7678 GB, free: 30.31 MB / 394.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000838/0.6328, allocations: 215.1 kB / 0.768 GB, free: 30.09 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.594e-05/0.6329, allocations: 37.69 kB / 0.7681 GB, free: 30.04 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.6329, allocations: 0 / 0.7681 GB, free: 30.04 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.968e-05/0.633, allocations: 0 / 0.7681 GB, free: 30.04 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002734/0.6333, allocations: 28.77 kB / 0.7681 GB, free: 30.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.6333, allocations: 0 / 0.7681 GB, free: 30.02 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001742/0.6335, allocations: 4.969 kB / 0.7681 GB, free: 30.01 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.67e-05/0.6335, allocations: 4 kB / 0.7681 GB, free: 30.01 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($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 (13): * Single equations (assignments): 12 * 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.0001987/0.6338, allocations: 136.2 kB / 0.7682 GB, free: 29.87 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.19e-05/0.6338, allocations: 22.75 kB / 0.7683 GB, free: 29.85 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007712/0.6346, allocations: 165.2 kB / 0.7684 GB, free: 29.68 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.6347, allocations: 5.781 kB / 0.7684 GB, free: 29.68 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.6347, allocations: 3.125 kB / 0.7684 GB, free: 29.68 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.6347, allocations: 0 / 0.7684 GB, free: 29.68 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001151/0.6359, allocations: 479.2 kB / 0.7689 GB, free: 29.15 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.221e-06/0.6359, allocations: 0 / 0.7689 GB, free: 29.15 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001915/0.6361, allocations: 19.98 kB / 0.7689 GB, free: 29.13 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.709e-06/0.6362, allocations: 0 / 0.7689 GB, free: 29.13 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.663e-05/0.6362, allocations: 6.125 kB / 0.7689 GB, free: 29.12 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.161e-06/0.6362, allocations: 0 / 0.7689 GB, free: 29.12 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/0.6363, allocations: 3.938 kB / 0.7689 GB, free: 29.12 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006548/0.6369, allocations: 257.6 kB / 0.7691 GB, free: 28.86 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/0.6371, allocations: 104.9 kB / 0.7692 GB, free: 28.73 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.285e-05/0.6372, allocations: 7 kB / 0.7693 GB, free: 28.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002067/0.6374, allocations: 4 kB / 0.7693 GB, free: 28.73 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.164e-05/0.6375, allocations: 13.64 kB / 0.7693 GB, free: 28.71 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.074e-05/0.6375, allocations: 4 kB / 0.7693 GB, free: 28.71 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002318/0.6378, allocations: 140.9 kB / 0.7694 GB, free: 28.57 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.72e-07/0.6378, allocations: 5.156 kB / 0.7694 GB, free: 28.57 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006608/0.6385, allocations: 51.92 kB / 0.7695 GB, free: 28.52 MB / 394.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002011/0.6405, allocations: 450.2 kB / 0.7699 GB, free: 28.34 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000749/0.6413, allocations: 203.2 kB / 0.7701 GB, free: 28.12 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.6413, allocations: 0 / 0.7701 GB, free: 28.12 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002443/0.6416, allocations: 47.98 kB / 0.7701 GB, free: 28.08 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007343/0.6424, allocations: 29.25 kB / 0.7702 GB, free: 28.05 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009557/0.6433, allocations: 280.1 kB / 0.7704 GB, free: 27.75 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002367/0.6436, allocations: 0.7155 MB / 0.7711 GB, free: 27.02 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001712/0.6438, allocations: 24.08 kB / 0.7712 GB, free: 26.99 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.6439, allocations: 19.44 kB / 0.7712 GB, free: 26.97 MB / 394.7 MB Notification: Performance of SimCode: time 1.333e-06/0.644, allocations: 0 / 0.7712 GB, free: 26.97 MB / 394.7 MB Notification: Performance of Templates: time 0.01118/0.6552, allocations: 1.985 MB / 0.7731 GB, free: 25.14 MB / 394.7 MB