Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,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.Test24") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004247/0.004253, allocations: 362.7 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.305/4.305, allocations: 388.9 MB / 405.6 MB, free: 9.586 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.003481/0.003481, allocations: 228.5 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.6456/0.6456, allocations: 80.02 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004778/0.0004781, allocations: 15.98 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1053, allocations: 54.86 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4848/0.5902, allocations: 82.11 MB / 0.7603 GB, free: 3.203 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000287/0.5905, allocations: 81.7 kB / 0.7604 GB, free: 3.16 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.01898/0.6095, allocations: 4.528 MB / 0.7648 GB, free: 15.34 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.6096, allocations: 0 / 0.7648 GB, free: 15.34 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.833e-05/0.6096, allocations: 4 kB / 0.7648 GB, free: 15.34 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.0007584/0.6104, allocations: 481.4 kB / 0.7652 GB, free: 14.81 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.6104, allocations: 8.828 kB / 0.7652 GB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.244e-05/0.6105, allocations: 11.91 kB / 0.7653 GB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003814/0.6109, allocations: 210.4 kB / 0.7655 GB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/0.611, allocations: 4 kB / 0.7655 GB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.5e-05/0.611, allocations: 4 kB / 0.7655 GB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001903/0.6112, allocations: 55.86 kB / 0.7655 GB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.6112, allocations: 4 kB / 0.7655 GB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.6113, allocations: 3.953 kB / 0.7655 GB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.6113, allocations: 0 / 0.7655 GB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.6114, allocations: 23.8 kB / 0.7656 GB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005399/0.612, allocations: 320.3 kB / 0.7659 GB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000256/0.6122, allocations: 66.91 kB / 0.7659 GB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.189e-05/0.6123, allocations: 22.23 kB / 0.7659 GB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/0.6124, allocations: 3.984 kB / 0.7659 GB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002269/0.6126, allocations: 78.62 kB / 0.766 GB, free: 13.96 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.595e-06/0.6126, allocations: 0 / 0.766 GB, free: 13.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008384/0.6135, allocations: 179.6 kB / 0.7662 GB, free: 13.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.687e-05/0.6136, allocations: 55.41 kB / 0.7662 GB, free: 13.75 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002899/0.6139, allocations: 191.8 kB / 0.7664 GB, free: 13.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.376e-05/0.6139, allocations: 33.64 kB / 0.7665 GB, free: 13.54 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.436e-05/0.614, allocations: 109.3 kB / 0.7666 GB, free: 13.44 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.164e-05/0.614, allocations: 23.58 kB / 0.7666 GB, free: 13.42 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.286e-05/0.6141, allocations: 8 kB / 0.7666 GB, free: 13.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.6142, allocations: 326.4 kB / 0.7669 GB, free: 13.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001413/0.6144, allocations: 30.3 kB / 0.7669 GB, free: 13.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/0.6146, allocations: 60.81 kB / 0.767 GB, free: 13.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001751/0.6148, allocations: 70.89 kB / 0.7671 GB, free: 12.96 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.6148, allocations: 0 / 0.7671 GB, free: 12.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004854/0.6153, allocations: 193 kB / 0.7672 GB, free: 12.8 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.214e-05/0.6153, allocations: 37.69 kB / 0.7673 GB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.6154, allocations: 0 / 0.7673 GB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.6154, allocations: 0 / 0.7673 GB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000156/0.6155, allocations: 16 kB / 0.7673 GB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.6156, allocations: 0 / 0.7673 GB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.6157, allocations: 11.73 kB / 0.7673 GB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.579e-05/0.6157, allocations: 4.078 kB / 0.7673 GB, free: 12.73 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.0001525/0.6159, allocations: 126.4 kB / 0.7674 GB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.42e-05/0.6159, allocations: 19.7 kB / 0.7675 GB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004074/0.6163, allocations: 130.2 kB / 0.7676 GB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.411e-06/0.6164, allocations: 0 / 0.7676 GB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.6164, allocations: 0 / 0.7676 GB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.6164, allocations: 0 / 0.7676 GB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007024/0.6171, allocations: 423 kB / 0.768 GB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.6171, allocations: 0 / 0.768 GB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.344e-05/0.6172, allocations: 16.03 kB / 0.768 GB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/0.6172, allocations: 0 / 0.768 GB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.6173, allocations: 0 / 0.768 GB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.486e-06/0.6173, allocations: 7.984 kB / 0.768 GB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.185e-06/0.6173, allocations: 0 / 0.768 GB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000365/0.6177, allocations: 209.9 kB / 0.7682 GB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/0.6178, allocations: 100.8 kB / 0.7683 GB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.728e-05/0.6178, allocations: 15.75 kB / 0.7683 GB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.618, allocations: 4.359 kB / 0.7683 GB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.845e-05/0.618, allocations: 4 kB / 0.7683 GB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/0.6181, allocations: 7.875 kB / 0.7683 GB, free: 11.68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002177/0.6183, allocations: 141.2 kB / 0.7685 GB, free: 11.56 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.6183, allocations: 0 / 0.7685 GB, free: 11.56 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004094/0.6187, allocations: 47.48 kB / 0.7685 GB, free: 11.52 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.001367/0.6201, allocations: 444.1 kB / 0.7689 GB, free: 11.24 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004827/0.6206, allocations: 171.1 kB / 0.7691 GB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.6206, allocations: 0 / 0.7691 GB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.6208, allocations: 34.67 kB / 0.7691 GB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004727/0.6213, allocations: 23.44 kB / 0.7692 GB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006893/0.622, allocations: 259.4 kB / 0.7694 GB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003702/0.6223, allocations: 0.7095 MB / 0.7701 GB, free: 10.06 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001015/0.6225, allocations: 16.58 kB / 0.7701 GB, free: 10.04 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.554e-05/0.6225, allocations: 19.42 kB / 0.7701 GB, free: 10.02 MB / 362.7 MB Notification: Performance of SimCode: time 1.263e-06/0.6226, allocations: 0 / 0.7701 GB, free: 10.02 MB / 362.7 MB Notification: Performance of Templates: time 0.00695/0.6295, allocations: 1.759 MB / 0.7718 GB, free: 8.293 MB / 362.7 MB