Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,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.Test40") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002813/0.002816, allocations: 364.2 kB / 15.95 MB, free: 6.191 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.179/4.179, allocations: 388.9 MB / 405.6 MB, free: 9.637 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.00525/0.00525, allocations: 234.3 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.6926/0.6926, allocations: 80.01 MB / 0.5627 GB, free: 19.75 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004787/0.0004789, allocations: 12 kB / 0.6265 GB, free: 96.49 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1125, allocations: 54.87 MB / 0.6801 GB, free: 41.61 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5258/0.6384, allocations: 82.14 MB / 0.7603 GB, free: 3.164 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00027/0.6387, allocations: 77.22 kB / 0.7604 GB, free: 3.125 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.0197/0.6584, allocations: 4.696 MB / 0.765 GB, free: 15.16 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.6585, allocations: 4 kB / 0.765 GB, free: 15.15 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.964e-05/0.6585, allocations: 3.938 kB / 0.765 GB, free: 15.15 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.0008186/0.6593, allocations: 488.7 kB / 0.7654 GB, free: 14.62 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.6594, allocations: 8.828 kB / 0.7654 GB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.991e-05/0.6595, allocations: 11.91 kB / 0.7655 GB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003971/0.6599, allocations: 221 kB / 0.7657 GB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.702e-05/0.6599, allocations: 4 kB / 0.7657 GB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.488e-05/0.66, allocations: 7.688 kB / 0.7657 GB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001985/0.6602, allocations: 64.28 kB / 0.7657 GB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.6602, allocations: 0 / 0.7657 GB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.6602, allocations: 3.953 kB / 0.7657 GB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.6603, allocations: 0 / 0.7657 GB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.6604, allocations: 22.73 kB / 0.7658 GB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005574/0.6609, allocations: 319.5 kB / 0.7661 GB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002564/0.6612, allocations: 65.73 kB / 0.7661 GB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.222e-05/0.6613, allocations: 23.41 kB / 0.7662 GB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/0.6614, allocations: 0 / 0.7662 GB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000218/0.6616, allocations: 79.19 kB / 0.7662 GB, free: 13.76 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.943e-06/0.6616, allocations: 0 / 0.7662 GB, free: 13.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008611/0.6625, allocations: 187 kB / 0.7664 GB, free: 13.61 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.6625, allocations: 51.41 kB / 0.7665 GB, free: 13.55 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003293/0.6629, allocations: 206.6 kB / 0.7667 GB, free: 13.36 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.822e-05/0.6629, allocations: 28.14 kB / 0.7667 GB, free: 13.33 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.708e-05/0.663, allocations: 105.1 kB / 0.7668 GB, free: 13.23 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.374e-05/0.6631, allocations: 26.89 kB / 0.7668 GB, free: 13.21 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.013e-05/0.6631, allocations: 0 / 0.7668 GB, free: 13.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002072/0.6633, allocations: 325.1 kB / 0.7671 GB, free: 12.89 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.6635, allocations: 43.78 kB / 0.7672 GB, free: 12.86 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000164/0.6637, allocations: 55.03 kB / 0.7672 GB, free: 12.82 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000195/0.6639, allocations: 74.19 kB / 0.7673 GB, free: 12.76 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.6639, allocations: 0 / 0.7673 GB, free: 12.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005128/0.6644, allocations: 182.3 kB / 0.7675 GB, free: 12.6 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.838e-05/0.6645, allocations: 36.83 kB / 0.7675 GB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.6645, allocations: 0 / 0.7675 GB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.279e-05/0.6645, allocations: 4 kB / 0.7675 GB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/0.6647, allocations: 20.02 kB / 0.7675 GB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/0.6647, allocations: 0 / 0.7675 GB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.6649, allocations: 7.938 kB / 0.7675 GB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.692e-05/0.6649, allocations: 11.19 kB / 0.7675 GB, free: 12.52 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.0001853/0.6651, allocations: 136.3 kB / 0.7677 GB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.961e-05/0.6652, allocations: 15.77 kB / 0.7677 GB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004262/0.6656, allocations: 124.5 kB / 0.7678 GB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.6656, allocations: 4 kB / 0.7678 GB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.6656, allocations: 0 / 0.7678 GB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.6656, allocations: 3.984 kB / 0.7678 GB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007818/0.6664, allocations: 414.5 kB / 0.7682 GB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.6665, allocations: 0 / 0.7682 GB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.062e-05/0.6666, allocations: 8 kB / 0.7682 GB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.645e-06/0.6666, allocations: 0 / 0.7682 GB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.6666, allocations: 12.11 kB / 0.7682 GB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.147e-06/0.6666, allocations: 4.031 kB / 0.7682 GB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.6666, allocations: 3.938 kB / 0.7682 GB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004045/0.6671, allocations: 218.9 kB / 0.7684 GB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.6672, allocations: 100.8 kB / 0.7685 GB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.081e-05/0.6673, allocations: 3.312 kB / 0.7685 GB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.6674, allocations: 8.359 kB / 0.7685 GB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.985e-05/0.6675, allocations: 8 kB / 0.7686 GB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/0.6675, allocations: 4 kB / 0.7686 GB, free: 11.47 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002269/0.6677, allocations: 158.2 kB / 0.7687 GB, free: 11.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.6677, allocations: 0 / 0.7687 GB, free: 11.34 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00044/0.6682, allocations: 39.38 kB / 0.7687 GB, free: 11.3 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.001448/0.6696, allocations: 446.9 kB / 0.7692 GB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005343/0.6702, allocations: 177.7 kB / 0.7693 GB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.6702, allocations: 0 / 0.7693 GB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001294/0.6704, allocations: 31.05 kB / 0.7694 GB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005212/0.6709, allocations: 26.62 kB / 0.7694 GB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008177/0.6718, allocations: 275 kB / 0.7697 GB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003855/0.6722, allocations: 0.7134 MB / 0.7704 GB, free: 9.816 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001081/0.6723, allocations: 8.438 kB / 0.7704 GB, free: 9.809 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.27e-05/0.6724, allocations: 22.69 kB / 0.7704 GB, free: 9.789 MB / 362.7 MB Notification: Performance of SimCode: time 1.673e-06/0.6724, allocations: 0 / 0.7704 GB, free: 9.789 MB / 362.7 MB Notification: Performance of Templates: time 0.007249/0.6797, allocations: 1.787 MB / 0.7721 GB, free: 8.035 MB / 362.7 MB