Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test16") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00568/0.005686, 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.029/4.029, 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.00349/0.00349, allocations: 236.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.8078/0.8078, allocations: 80.01 MB / 0.5627 GB, free: 5.98 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004894/0.0004899, allocations: 19.94 kB / 0.6265 GB, free: 4.539 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.126, allocations: 54.88 MB / 0.6801 GB, free: 13.52 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4785/0.6045, allocations: 82.11 MB / 0.7603 GB, free: 38.11 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002682/0.6048, allocations: 75.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.01841/0.6232, allocations: 4.427 MB / 0.7647 GB, free: 33.69 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.286e-06/0.6233, allocations: 7.938 kB / 0.7647 GB, free: 33.68 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.41e-05/0.6233, allocations: 1.312 kB / 0.7647 GB, free: 33.68 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000537/0.6238, allocations: 465.5 kB / 0.7652 GB, free: 33.17 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.6239, allocations: 11.41 kB / 0.7652 GB, free: 33.16 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.998e-05/0.624, allocations: 7.906 kB / 0.7652 GB, free: 33.16 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002952/0.6243, allocations: 207.4 kB / 0.7654 GB, free: 32.91 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.459e-05/0.6243, allocations: 5.547 kB / 0.7654 GB, free: 32.91 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.206e-05/0.6243, allocations: 4 kB / 0.7654 GB, free: 32.9 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.6245, allocations: 57.61 kB / 0.7654 GB, free: 32.84 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.6246, allocations: 5.062 kB / 0.7654 GB, free: 32.84 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.6246, allocations: 7.391 kB / 0.7654 GB, free: 32.83 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.6246, allocations: 4 kB / 0.7654 GB, free: 32.83 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001097/0.6247, allocations: 27.97 kB / 0.7655 GB, free: 32.8 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004409/0.6252, allocations: 304.8 kB / 0.7658 GB, free: 32.45 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002479/0.6254, allocations: 66.23 kB / 0.7658 GB, free: 32.38 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.201e-05/0.6255, allocations: 20.86 kB / 0.7658 GB, free: 32.36 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.6256, allocations: 0 / 0.7658 GB, free: 32.36 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001875/0.6258, allocations: 76.05 kB / 0.7659 GB, free: 32.27 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.913e-06/0.6258, allocations: 0 / 0.7659 GB, free: 32.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008308/0.6266, allocations: 183.8 kB / 0.7661 GB, free: 32.09 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/0.6267, allocations: 55.41 kB / 0.7661 GB, free: 32.03 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/0.6269, allocations: 170.9 kB / 0.7663 GB, free: 31.85 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.6269, allocations: 25.7 kB / 0.7663 GB, free: 31.82 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.187e-05/0.627, allocations: 102.8 kB / 0.7664 GB, free: 31.71 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.204e-05/0.627, allocations: 31.62 kB / 0.7665 GB, free: 31.68 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.097e-05/0.6271, allocations: 0 / 0.7665 GB, free: 31.68 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.121e-05/0.6271, allocations: 326.2 kB / 0.7668 GB, free: 31.36 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001279/0.6273, allocations: 35.98 kB / 0.7668 GB, free: 31.32 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.6274, allocations: 53.7 kB / 0.7669 GB, free: 31.27 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001556/0.6276, allocations: 77.62 kB / 0.7669 GB, free: 31.18 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.6276, allocations: 0 / 0.7669 GB, free: 31.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004022/0.628, allocations: 179.7 kB / 0.7671 GB, free: 31 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.115e-05/0.6281, allocations: 34.27 kB / 0.7671 GB, free: 30.96 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.6281, allocations: 2.25 kB / 0.7671 GB, free: 30.96 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.6281, allocations: 0 / 0.7671 GB, free: 30.96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.6283, allocations: 19.92 kB / 0.7672 GB, free: 30.94 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.6283, allocations: 6.656 kB / 0.7672 GB, free: 30.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.637e-05/0.6284, allocations: 8 kB / 0.7672 GB, free: 30.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.07e-05/0.6284, allocations: 4 kB / 0.7672 GB, free: 30.92 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 (11): * Single equations (assignments): 10 * 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.0001181/0.6286, allocations: 124.8 kB / 0.7673 GB, free: 30.79 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.86e-05/0.6286, allocations: 20.69 kB / 0.7673 GB, free: 30.78 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003591/0.629, allocations: 122.2 kB / 0.7674 GB, free: 30.65 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.629, allocations: 3.938 kB / 0.7674 GB, free: 30.64 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.629, allocations: 0 / 0.7674 GB, free: 30.64 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.629, allocations: 0.6875 kB / 0.7674 GB, free: 30.64 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005823/0.6296, allocations: 416.6 kB / 0.7678 GB, free: 30.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.6296, allocations: 0 / 0.7678 GB, free: 30.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.177e-05/0.6297, allocations: 11 kB / 0.7678 GB, free: 30.17 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/0.6297, allocations: 4 kB / 0.7678 GB, free: 30.17 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.6298, allocations: 7.922 kB / 0.7679 GB, free: 30.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.6298, allocations: 0.9375 kB / 0.7679 GB, free: 30.16 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.6298, allocations: 4 kB / 0.7679 GB, free: 30.16 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003031/0.6301, allocations: 213 kB / 0.7681 GB, free: 29.93 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.101e-05/0.6302, allocations: 97.44 kB / 0.7682 GB, free: 29.82 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.489e-05/0.6302, allocations: 9.469 kB / 0.7682 GB, free: 29.81 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/0.6304, allocations: 7.984 kB / 0.7682 GB, free: 29.8 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.804e-05/0.6305, allocations: 4 kB / 0.7682 GB, free: 29.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.6305, allocations: 4 kB / 0.7682 GB, free: 29.8 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001225/0.6306, allocations: 128 kB / 0.7683 GB, free: 29.67 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6306, allocations: 0.5 kB / 0.7683 GB, free: 29.67 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003887/0.631, allocations: 36 kB / 0.7683 GB, free: 29.64 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 (9): * Single equations (assignments): 7 * 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.00126/0.6323, allocations: 442.7 kB / 0.7688 GB, free: 29.46 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003993/0.6327, allocations: 167.3 kB / 0.7689 GB, free: 29.28 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.6327, allocations: 5.969 kB / 0.7689 GB, free: 29.28 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001146/0.6329, allocations: 35.92 kB / 0.769 GB, free: 29.25 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000441/0.6333, allocations: 24.55 kB / 0.769 GB, free: 29.22 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005527/0.6339, allocations: 226.3 kB / 0.7692 GB, free: 28.98 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001813/0.6341, allocations: 0.7128 MB / 0.7699 GB, free: 28.24 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.237e-05/0.6342, allocations: 20.08 kB / 0.7699 GB, free: 28.23 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.222e-05/0.6343, allocations: 11.44 kB / 0.7699 GB, free: 28.21 MB / 394.7 MB Notification: Performance of SimCode: time 1.383e-06/0.6343, allocations: 0 / 0.7699 GB, free: 28.21 MB / 394.7 MB Notification: Performance of Templates: time 0.007422/0.6417, allocations: 1.714 MB / 0.7716 GB, free: 26.64 MB / 394.7 MB