Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,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.Test25") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004518/0.004524, 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.384/4.384, 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.005208/0.005208, allocations: 222.1 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.6256/0.6256, allocations: 80.02 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000639/0.0006393, allocations: 12 kB / 0.6265 GB, free: 96.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1139, allocations: 54.86 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.48/0.594, allocations: 82.15 MB / 0.7603 GB, free: 3.188 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000304/0.5943, allocations: 80.39 kB / 0.7604 GB, free: 3.145 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.01981/0.6142, allocations: 4.623 MB / 0.7649 GB, free: 15.24 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.6142, allocations: 4 kB / 0.7649 GB, free: 15.24 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.495e-05/0.6142, allocations: 0 / 0.7649 GB, free: 15.24 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.0008159/0.6151, allocations: 488.6 kB / 0.7654 GB, free: 14.71 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.6151, allocations: 16.83 kB / 0.7654 GB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.372e-05/0.6152, allocations: 7.906 kB / 0.7654 GB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003985/0.6156, allocations: 202.2 kB / 0.7656 GB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.419e-05/0.6157, allocations: 3.75 kB / 0.7656 GB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.627e-05/0.6157, allocations: 4 kB / 0.7656 GB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/0.6159, allocations: 55.86 kB / 0.7657 GB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.616, allocations: 0 / 0.7657 GB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.681e-05/0.616, allocations: 7.391 kB / 0.7657 GB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.616, allocations: 0 / 0.7657 GB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001195/0.6162, allocations: 31.09 kB / 0.7657 GB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005403/0.6167, allocations: 320.4 kB / 0.766 GB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002695/0.617, allocations: 64.92 kB / 0.7661 GB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.016e-05/0.6171, allocations: 20.28 kB / 0.7661 GB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.6172, allocations: 4 kB / 0.7661 GB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002325/0.6174, allocations: 79.19 kB / 0.7662 GB, free: 13.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.164e-06/0.6174, allocations: 0 / 0.7662 GB, free: 13.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008257/0.6182, allocations: 177.8 kB / 0.7663 GB, free: 13.72 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.6183, allocations: 55.34 kB / 0.7664 GB, free: 13.65 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002886/0.6186, allocations: 201 kB / 0.7666 GB, free: 13.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.6186, allocations: 25.7 kB / 0.7666 GB, free: 13.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.503e-05/0.6187, allocations: 105.9 kB / 0.7667 GB, free: 13.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.6188, allocations: 23.14 kB / 0.7667 GB, free: 13.32 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.079e-05/0.6188, allocations: 0 / 0.7667 GB, free: 13.32 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.619, allocations: 322.6 kB / 0.767 GB, free: 13 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.6191, allocations: 43.61 kB / 0.7671 GB, free: 12.97 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001545/0.6193, allocations: 55.38 kB / 0.7671 GB, free: 12.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001933/0.6195, allocations: 79.31 kB / 0.7672 GB, free: 12.86 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.6195, allocations: 0 / 0.7672 GB, free: 12.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004909/0.62, allocations: 187.5 kB / 0.7674 GB, free: 12.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.81e-05/0.6201, allocations: 37.69 kB / 0.7674 GB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.6201, allocations: 0 / 0.7674 GB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.6201, allocations: 0 / 0.7674 GB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/0.6203, allocations: 16 kB / 0.7674 GB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.6203, allocations: 3.984 kB / 0.7674 GB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.6204, allocations: 7.562 kB / 0.7674 GB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.359e-05/0.6205, allocations: 4 kB / 0.7674 GB, free: 12.63 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.0001661/0.6206, allocations: 136.1 kB / 0.7676 GB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.767e-05/0.6207, allocations: 15.86 kB / 0.7676 GB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003975/0.6211, allocations: 122.9 kB / 0.7677 GB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.6211, allocations: 0 / 0.7677 GB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.6211, allocations: 0 / 0.7677 GB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.6211, allocations: 0 / 0.7677 GB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007313/0.6219, allocations: 426.9 kB / 0.7681 GB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.6219, allocations: 4 kB / 0.7681 GB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.107e-05/0.622, allocations: 8 kB / 0.7681 GB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.652e-06/0.622, allocations: 3.984 kB / 0.7681 GB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.622, allocations: 7.312 kB / 0.7681 GB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.622, allocations: 0 / 0.7681 GB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.6221, allocations: 0 / 0.7681 GB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003709/0.6224, allocations: 214.7 kB / 0.7683 GB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.6226, allocations: 100.3 kB / 0.7684 GB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.984e-05/0.6226, allocations: 7.984 kB / 0.7684 GB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.6227, allocations: 384 / 0.7684 GB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.254e-05/0.6228, allocations: 7.781 kB / 0.7685 GB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.902e-05/0.6228, allocations: 7.984 kB / 0.7685 GB, free: 11.58 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001847/0.623, allocations: 145.6 kB / 0.7686 GB, free: 11.46 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.623, allocations: 3.938 kB / 0.7686 GB, free: 11.46 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003981/0.6234, allocations: 47.38 kB / 0.7686 GB, free: 11.41 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.001371/0.6248, allocations: 440 kB / 0.7691 GB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004555/0.6253, allocations: 176.8 kB / 0.7692 GB, free: 11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.6253, allocations: 0 / 0.7692 GB, free: 11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000125/0.6254, allocations: 33.11 kB / 0.7693 GB, free: 10.97 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004644/0.6259, allocations: 23.12 kB / 0.7693 GB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006861/0.6266, allocations: 258.4 kB / 0.7695 GB, free: 10.69 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003477/0.627, allocations: 0.7167 MB / 0.7702 GB, free: 9.953 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.701e-05/0.6271, allocations: 16.56 kB / 0.7702 GB, free: 9.938 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.318e-05/0.6272, allocations: 19.42 kB / 0.7703 GB, free: 9.918 MB / 362.7 MB Notification: Performance of SimCode: time 1.102e-06/0.6272, allocations: 0 / 0.7703 GB, free: 9.918 MB / 362.7 MB Notification: Performance of Templates: time 0.0069/0.6341, allocations: 1.753 MB / 0.772 GB, free: 8.191 MB / 362.7 MB