Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,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.Test26") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00296/0.002964, allocations: 363.4 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.355/4.355, allocations: 388.9 MB / 405.6 MB, free: 9.59 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.003567/0.003566, allocations: 228.2 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.595/0.595, allocations: 80.01 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006888/0.0006891, allocations: 12.97 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1267, allocations: 54.86 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4568/0.5836, allocations: 82.15 MB / 0.7603 GB, free: 3.164 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003165/0.584, allocations: 82.58 kB / 0.7604 GB, free: 3.117 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.02043/0.6044, allocations: 4.623 MB / 0.7649 GB, free: 15.21 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.6045, allocations: 4 kB / 0.7649 GB, free: 15.21 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.286e-05/0.6045, allocations: 0 / 0.7649 GB, free: 15.21 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.0006636/0.6052, allocations: 494.1 kB / 0.7654 GB, free: 14.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.6052, allocations: 8.828 kB / 0.7654 GB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.009e-05/0.6053, allocations: 7.906 kB / 0.7654 GB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003673/0.6057, allocations: 206.1 kB / 0.7656 GB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.6057, allocations: 4 kB / 0.7656 GB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.432e-05/0.6058, allocations: 4 kB / 0.7656 GB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.606, allocations: 56.42 kB / 0.7657 GB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.606, allocations: 0 / 0.7657 GB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.606, allocations: 7.578 kB / 0.7657 GB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.606, allocations: 0 / 0.7657 GB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.6062, allocations: 27.72 kB / 0.7657 GB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005313/0.6067, allocations: 320.1 kB / 0.766 GB, free: 14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002682/0.607, allocations: 62.55 kB / 0.7661 GB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.118e-05/0.6071, allocations: 19.97 kB / 0.7661 GB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.6071, allocations: 0 / 0.7661 GB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002364/0.6074, allocations: 83.06 kB / 0.7662 GB, free: 13.84 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.475e-06/0.6074, allocations: 0 / 0.7662 GB, free: 13.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009222/0.6083, allocations: 179.4 kB / 0.7663 GB, free: 13.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.816e-05/0.6084, allocations: 59.34 kB / 0.7664 GB, free: 13.62 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003228/0.6087, allocations: 199.7 kB / 0.7666 GB, free: 13.44 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/0.6088, allocations: 33.08 kB / 0.7666 GB, free: 13.4 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.323e-05/0.6089, allocations: 98.27 kB / 0.7667 GB, free: 13.31 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.206e-05/0.609, allocations: 23.14 kB / 0.7667 GB, free: 13.29 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.157e-05/0.609, allocations: 3.438 kB / 0.7667 GB, free: 13.29 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.6091, allocations: 322.2 kB / 0.767 GB, free: 12.97 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/0.6093, allocations: 36.11 kB / 0.7671 GB, free: 12.95 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001651/0.6095, allocations: 66.02 kB / 0.7671 GB, free: 12.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001881/0.6097, allocations: 74 kB / 0.7672 GB, free: 12.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.6097, allocations: 0 / 0.7672 GB, free: 12.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004943/0.6102, allocations: 185.8 kB / 0.7674 GB, free: 12.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.469e-05/0.6103, allocations: 40.81 kB / 0.7674 GB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.6103, allocations: 0 / 0.7674 GB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.6103, allocations: 4 kB / 0.7674 GB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.6105, allocations: 16.03 kB / 0.7674 GB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.401e-05/0.6105, allocations: 3.984 kB / 0.7674 GB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.6106, allocations: 4 kB / 0.7674 GB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.577e-05/0.6107, allocations: 11.06 kB / 0.7674 GB, free: 12.6 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.0001618/0.6109, allocations: 134 kB / 0.7676 GB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.509e-05/0.6109, allocations: 11.86 kB / 0.7676 GB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003929/0.6113, allocations: 120.1 kB / 0.7677 GB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-06/0.6113, allocations: 4 kB / 0.7677 GB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.6113, allocations: 4 kB / 0.7677 GB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.6114, allocations: 0 / 0.7677 GB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007122/0.6121, allocations: 420.9 kB / 0.7681 GB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.6121, allocations: 0 / 0.7681 GB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.57e-05/0.6122, allocations: 11.38 kB / 0.7681 GB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/0.6122, allocations: 3.984 kB / 0.7681 GB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.6122, allocations: 4 kB / 0.7681 GB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.686e-06/0.6122, allocations: 0 / 0.7681 GB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.6123, allocations: 4.188 kB / 0.7681 GB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003652/0.6126, allocations: 217.4 kB / 0.7683 GB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.6128, allocations: 100.4 kB / 0.7684 GB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.728e-05/0.6128, allocations: 11.36 kB / 0.7684 GB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.6129, allocations: 4.375 kB / 0.7685 GB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.323e-05/0.613, allocations: 8 kB / 0.7685 GB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.613, allocations: 3.984 kB / 0.7685 GB, free: 11.55 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001901/0.6132, allocations: 151.6 kB / 0.7686 GB, free: 11.43 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6132, allocations: 0 / 0.7686 GB, free: 11.43 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004049/0.6136, allocations: 39.19 kB / 0.7686 GB, free: 11.39 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.001326/0.615, allocations: 438.4 kB / 0.7691 GB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004719/0.6155, allocations: 174.3 kB / 0.7692 GB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.6155, allocations: 0 / 0.7692 GB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001246/0.6156, allocations: 30.86 kB / 0.7693 GB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004669/0.6161, allocations: 27.06 kB / 0.7693 GB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007065/0.6168, allocations: 256.4 kB / 0.7695 GB, free: 10.67 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00032/0.6172, allocations: 0.7095 MB / 0.7702 GB, free: 9.938 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.71e-05/0.6173, allocations: 16.42 kB / 0.7702 GB, free: 9.922 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.197e-05/0.6173, allocations: 18.92 kB / 0.7703 GB, free: 9.906 MB / 362.7 MB Notification: Performance of SimCode: time 1.212e-06/0.6174, allocations: 4 kB / 0.7703 GB, free: 9.902 MB / 362.7 MB Notification: Performance of Templates: time 0.006764/0.6241, allocations: 1.753 MB / 0.772 GB, free: 8.176 MB / 362.7 MB