Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,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.Test44") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002687/0.00269, 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.202/4.202, allocations: 388.9 MB / 405.6 MB, free: 9.566 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.004575/0.004575, allocations: 236 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.5261/0.5261, allocations: 80.02 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005551/0.0005554, allocations: 19.98 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1132, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4963/0.6096, allocations: 82.15 MB / 0.7603 GB, free: 3.266 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002754/0.6099, allocations: 85.12 kB / 0.7604 GB, free: 3.219 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. Notification: Performance of FrontEnd - DAE generated: time 0.01833/0.6283, allocations: 4.648 MB / 0.7649 GB, free: 15.29 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.6283, allocations: 4 kB / 0.7649 GB, free: 15.28 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.235e-05/0.6284, allocations: 0 / 0.7649 GB, free: 15.28 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006744/0.629, allocations: 483.7 kB / 0.7654 GB, free: 14.76 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.6291, allocations: 12.83 kB / 0.7654 GB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.947e-05/0.6292, allocations: 7.906 kB / 0.7654 GB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003735/0.6296, allocations: 209.7 kB / 0.7656 GB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/0.6296, allocations: 0.5625 kB / 0.7656 GB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.335e-05/0.6296, allocations: 12.69 kB / 0.7656 GB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002064/0.6299, allocations: 61.67 kB / 0.7657 GB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.589e-05/0.6299, allocations: 0 / 0.7657 GB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.258e-05/0.6299, allocations: 4.828 kB / 0.7657 GB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.63, allocations: 0 / 0.7657 GB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001199/0.6301, allocations: 25.55 kB / 0.7657 GB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005395/0.6306, allocations: 323.2 kB / 0.766 GB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002729/0.6309, allocations: 63.36 kB / 0.7661 GB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.07e-05/0.631, allocations: 17.17 kB / 0.7661 GB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.6311, allocations: 0 / 0.7661 GB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002031/0.6313, allocations: 83.36 kB / 0.7662 GB, free: 13.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.793e-06/0.6313, allocations: 0 / 0.7662 GB, free: 13.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007827/0.6321, allocations: 177.6 kB / 0.7664 GB, free: 13.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.6321, allocations: 59.34 kB / 0.7664 GB, free: 13.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002787/0.6324, allocations: 193.6 kB / 0.7666 GB, free: 13.51 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.718e-05/0.6325, allocations: 29.14 kB / 0.7666 GB, free: 13.48 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.75e-05/0.6326, allocations: 106 kB / 0.7667 GB, free: 13.38 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.386e-05/0.6326, allocations: 23.45 kB / 0.7667 GB, free: 13.36 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.041e-05/0.6326, allocations: 0 / 0.7667 GB, free: 13.36 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.6328, allocations: 325.1 kB / 0.7671 GB, free: 13.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/0.6329, allocations: 37.17 kB / 0.7671 GB, free: 13.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001543/0.6331, allocations: 61.67 kB / 0.7672 GB, free: 12.97 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001674/0.6333, allocations: 69.64 kB / 0.7672 GB, free: 12.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.6333, allocations: 4 kB / 0.7672 GB, free: 12.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004388/0.6338, allocations: 183.3 kB / 0.7674 GB, free: 12.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.903e-05/0.6338, allocations: 41.44 kB / 0.7674 GB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.6338, allocations: 0 / 0.7674 GB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.6339, allocations: 4 kB / 0.7674 GB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.634, allocations: 16.03 kB / 0.7675 GB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.6341, allocations: 0 / 0.7675 GB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.438e-05/0.6342, allocations: 7.984 kB / 0.7675 GB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.163e-05/0.6342, allocations: 8 kB / 0.7675 GB, free: 12.68 MB / 362.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.000135/0.6343, allocations: 124.8 kB / 0.7676 GB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.109e-05/0.6344, allocations: 15.86 kB / 0.7676 GB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003773/0.6348, allocations: 123.9 kB / 0.7677 GB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.6348, allocations: 8.188 kB / 0.7677 GB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.6348, allocations: 0 / 0.7677 GB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.6348, allocations: 3.938 kB / 0.7677 GB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006711/0.6355, allocations: 426.2 kB / 0.7681 GB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.6355, allocations: 0 / 0.7681 GB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.416e-05/0.6356, allocations: 11.88 kB / 0.7682 GB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.6356, allocations: 3.984 kB / 0.7682 GB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.6357, allocations: 8 kB / 0.7682 GB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.6357, allocations: 4.016 kB / 0.7682 GB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.6357, allocations: 4 kB / 0.7682 GB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003538/0.636, allocations: 210.2 kB / 0.7684 GB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.333e-05/0.6362, allocations: 100.4 kB / 0.7685 GB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.24e-05/0.6362, allocations: 4 kB / 0.7685 GB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.6363, allocations: 11.73 kB / 0.7685 GB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.201e-05/0.6364, allocations: 8 kB / 0.7685 GB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.6364, allocations: 0 / 0.7685 GB, free: 11.62 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001739/0.6366, allocations: 143.7 kB / 0.7686 GB, free: 11.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6366, allocations: 0 / 0.7686 GB, free: 11.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003803/0.637, allocations: 47.05 kB / 0.7687 GB, free: 11.46 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: 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.001365/0.6384, allocations: 442.6 kB / 0.7691 GB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004016/0.6388, allocations: 173.9 kB / 0.7693 GB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.6388, allocations: 0 / 0.7693 GB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001204/0.6389, allocations: 30.98 kB / 0.7693 GB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004308/0.6394, allocations: 23.44 kB / 0.7693 GB, free: 11 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006421/0.64, allocations: 257.3 kB / 0.7696 GB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003393/0.6404, allocations: 0.713 MB / 0.7703 GB, free: 10 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.849e-05/0.6405, allocations: 8.594 kB / 0.7703 GB, free: 9.992 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.647e-05/0.6406, allocations: 15.44 kB / 0.7703 GB, free: 9.977 MB / 362.7 MB Notification: Performance of SimCode: time 7.01e-07/0.6406, allocations: 4 kB / 0.7703 GB, free: 9.973 MB / 362.7 MB Notification: Performance of Templates: time 0.006523/0.6471, allocations: 1.766 MB / 0.772 GB, free: 8.23 MB / 362.7 MB