Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,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.Test17") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004322/0.004321, allocations: 359.1 kB / 15.95 MB, free: 6.207 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: 10.32 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.005641/0.005641, allocations: 228.7 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.585/0.585, allocations: 80.02 MB / 0.5627 GB, free: 19.86 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007483/0.0007486, allocations: 12 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.139, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4651/0.6041, allocations: 82.14 MB / 0.7603 GB, free: 3.223 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002823/0.6045, allocations: 81.72 kB / 0.7604 GB, free: 3.184 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.01958/0.6241, allocations: 4.541 MB / 0.7648 GB, free: 15.35 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.6241, allocations: 0 / 0.7648 GB, free: 15.35 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.819e-05/0.6241, allocations: 4 kB / 0.7648 GB, free: 15.35 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.0007351/0.6249, allocations: 476 kB / 0.7653 GB, free: 14.83 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.625, allocations: 12.83 kB / 0.7653 GB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.426e-05/0.625, allocations: 11.89 kB / 0.7653 GB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003887/0.6254, allocations: 197.5 kB / 0.7655 GB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.949e-05/0.6255, allocations: 7.375 kB / 0.7655 GB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.13e-05/0.6255, allocations: 4 kB / 0.7655 GB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000244/0.6258, allocations: 60.16 kB / 0.7656 GB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.6258, allocations: 0 / 0.7656 GB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.6258, allocations: 15.33 kB / 0.7656 GB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.6259, allocations: 4 kB / 0.7656 GB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001163/0.626, allocations: 15.36 kB / 0.7656 GB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005583/0.6266, allocations: 315.7 kB / 0.7659 GB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002605/0.6268, allocations: 60.55 kB / 0.766 GB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.627, allocations: 31.78 kB / 0.766 GB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.627, allocations: 0 / 0.766 GB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000225/0.6272, allocations: 67.75 kB / 0.766 GB, free: 14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.235e-06/0.6272, allocations: 4 kB / 0.7661 GB, free: 13.99 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009227/0.6282, allocations: 173.7 kB / 0.7662 GB, free: 13.85 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.712e-05/0.6283, allocations: 51.41 kB / 0.7663 GB, free: 13.79 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002872/0.6286, allocations: 182.5 kB / 0.7664 GB, free: 13.62 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.026e-05/0.6286, allocations: 25.7 kB / 0.7665 GB, free: 13.59 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.569e-05/0.6287, allocations: 94.83 kB / 0.7666 GB, free: 13.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.283e-05/0.6288, allocations: 26.83 kB / 0.7666 GB, free: 13.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.292e-05/0.6288, allocations: 4 kB / 0.7666 GB, free: 13.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.629, allocations: 322.5 kB / 0.7669 GB, free: 13.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/0.6291, allocations: 37.48 kB / 0.7669 GB, free: 13.13 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001658/0.6293, allocations: 62.5 kB / 0.767 GB, free: 13.08 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001886/0.6295, allocations: 81.62 kB / 0.7671 GB, free: 13.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.6295, allocations: 0 / 0.7671 GB, free: 13.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005237/0.6301, allocations: 177.7 kB / 0.7672 GB, free: 12.87 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.389e-05/0.6301, allocations: 33.69 kB / 0.7673 GB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.6302, allocations: 4 kB / 0.7673 GB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.413e-05/0.6302, allocations: 0 / 0.7673 GB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001742/0.6304, allocations: 15.31 kB / 0.7673 GB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.659e-05/0.6304, allocations: 7.984 kB / 0.7673 GB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.6305, allocations: 8.031 kB / 0.7673 GB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.32e-05/0.6306, allocations: 4 kB / 0.7673 GB, free: 12.79 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.0001818/0.6308, allocations: 125.7 kB / 0.7674 GB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.022e-05/0.6308, allocations: 19.75 kB / 0.7674 GB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004368/0.6313, allocations: 124.1 kB / 0.7676 GB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-06/0.6313, allocations: 384 / 0.7676 GB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.6313, allocations: 3.938 kB / 0.7676 GB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.6313, allocations: 0 / 0.7676 GB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007431/0.6321, allocations: 417 kB / 0.768 GB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.6321, allocations: 0 / 0.768 GB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.281e-05/0.6322, allocations: 15.92 kB / 0.768 GB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.928e-06/0.6322, allocations: 4 kB / 0.768 GB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.6322, allocations: 0 / 0.768 GB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.6322, allocations: 160 / 0.768 GB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.6322, allocations: 0 / 0.768 GB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003994/0.6327, allocations: 221.6 kB / 0.7682 GB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.6328, allocations: 101.6 kB / 0.7683 GB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.707e-05/0.6328, allocations: 4 kB / 0.7683 GB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.633, allocations: 3.438 kB / 0.7683 GB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.649e-05/0.633, allocations: 8.266 kB / 0.7683 GB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.965e-05/0.6331, allocations: 4 kB / 0.7683 GB, free: 11.74 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001739/0.6332, allocations: 129.9 kB / 0.7684 GB, free: 11.63 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6333, allocations: 3.938 kB / 0.7684 GB, free: 11.62 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004569/0.6337, allocations: 39.55 kB / 0.7685 GB, free: 11.59 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.001417/0.6352, allocations: 441.1 kB / 0.7689 GB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000527/0.6357, allocations: 171 kB / 0.7691 GB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.6357, allocations: 0 / 0.7691 GB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001268/0.6359, allocations: 39.17 kB / 0.7691 GB, free: 11.15 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004851/0.6364, allocations: 26.67 kB / 0.7691 GB, free: 11.13 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006654/0.6371, allocations: 232.8 kB / 0.7693 GB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003977/0.6375, allocations: 0.7094 MB / 0.77 GB, free: 10.16 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.326e-05/0.6376, allocations: 12.42 kB / 0.77 GB, free: 10.15 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.671e-05/0.6377, allocations: 15.44 kB / 0.7701 GB, free: 10.13 MB / 362.7 MB Notification: Performance of SimCode: time 1.213e-06/0.6377, allocations: 0 / 0.7701 GB, free: 10.13 MB / 362.7 MB Notification: Performance of Templates: time 0.007178/0.6449, allocations: 1.724 MB / 0.7717 GB, free: 8.438 MB / 362.7 MB