Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.nextTimeEvent|startTime_0.y.1.|startTime.nextTimeEvent|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002948/0.002953, allocations: 362.2 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.568/4.568, allocations: 388.9 MB / 405.6 MB, free: 9.668 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.003467/0.003467, allocations: 232.9 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.5493/0.5493, allocations: 80.02 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006797/0.00068, allocations: 12 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1108, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5065/0.6173, allocations: 82.01 MB / 0.7602 GB, free: 3.289 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002871/0.6177, allocations: 76.7 kB / 0.7603 GB, free: 3.25 MB / 346.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$startTime.getDerTableValue. [/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$startTime.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$startTime.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$startTime.getTableTimeTmax. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$startTime_0.getDerTableValue. [/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$startTime_0.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$startTime_0.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$startTime_0.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.02395/0.6416, allocations: 5.969 MB / 0.7661 GB, free: 14.13 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.6417, allocations: 4 kB / 0.7661 GB, free: 14.12 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.15e-05/0.6417, allocations: 8 kB / 0.7661 GB, free: 14.12 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001462/0.6432, allocations: 0.8162 MB / 0.7669 GB, free: 13.26 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.6432, allocations: 8.031 kB / 0.7669 GB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001637/0.6434, allocations: 55.28 kB / 0.767 GB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/0.6447, allocations: 462.4 kB / 0.7674 GB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.287e-05/0.6448, allocations: 4 kB / 0.7674 GB, free: 12.74 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.729e-05/0.6448, allocations: 15.38 kB / 0.7674 GB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002989/0.6451, allocations: 89.5 kB / 0.7675 GB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.6452, allocations: 3.953 kB / 0.7675 GB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.6452, allocations: 6.5 kB / 0.7675 GB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.6452, allocations: 3.984 kB / 0.7675 GB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00018/0.6454, allocations: 41.53 kB / 0.7676 GB, free: 12.6 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007179/0.6461, allocations: 405.7 kB / 0.7679 GB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004417/0.6466, allocations: 112.9 kB / 0.768 GB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001621/0.6468, allocations: 40.58 kB / 0.7681 GB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.664e-05/0.6468, allocations: 4 kB / 0.7681 GB, free: 12.06 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003459/0.6472, allocations: 117.2 kB / 0.7682 GB, free: 11.95 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 5.09e-06/0.6472, allocations: 0 / 0.7682 GB, free: 11.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.000884/0.6481, allocations: 218.5 kB / 0.7684 GB, free: 11.76 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.059e-05/0.6482, allocations: 81.09 kB / 0.7685 GB, free: 11.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002196/0.6504, allocations: 0.9786 MB / 0.7694 GB, free: 10.89 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.401e-05/0.6505, allocations: 33.14 kB / 0.7695 GB, free: 10.86 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002371/0.6508, allocations: 224.9 kB / 0.7697 GB, free: 10.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.74e-05/0.6509, allocations: 26.08 kB / 0.7697 GB, free: 10.71 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.882e-05/0.6509, allocations: 4 kB / 0.7697 GB, free: 10.71 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002058/0.6511, allocations: 369.7 kB / 0.7701 GB, free: 10.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002591/0.6514, allocations: 53.84 kB / 0.7701 GB, free: 10.32 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002641/0.6517, allocations: 96.95 kB / 0.7702 GB, free: 10.24 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003279/0.652, allocations: 133.3 kB / 0.7703 GB, free: 10.13 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.652, allocations: 0 / 0.7703 GB, free: 10.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0009281/0.653, allocations: 326.4 kB / 0.7707 GB, free: 9.852 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.518e-05/0.6531, allocations: 70.7 kB / 0.7707 GB, free: 9.773 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.6531, allocations: 192 / 0.7707 GB, free: 9.773 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/0.6531, allocations: 12.02 kB / 0.7707 GB, free: 9.762 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002158/0.6533, allocations: 23.98 kB / 0.7708 GB, free: 9.738 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.6534, allocations: 4 kB / 0.7708 GB, free: 9.734 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002588/0.6536, allocations: 31.33 kB / 0.7708 GB, free: 9.707 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.553e-05/0.6537, allocations: 8 kB / 0.7708 GB, free: 9.699 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 2 * 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.0004221/0.6541, allocations: 220.1 kB / 0.771 GB, free: 9.496 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/0.6543, allocations: 51.42 kB / 0.7711 GB, free: 9.445 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006642/0.6549, allocations: 210.9 kB / 0.7713 GB, free: 9.273 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.655, allocations: 0 / 0.7713 GB, free: 9.273 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/0.655, allocations: 3.953 kB / 0.7713 GB, free: 9.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.655, allocations: 0 / 0.7713 GB, free: 9.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005481/0.6556, allocations: 378.4 kB / 0.7716 GB, free: 8.906 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.6556, allocations: 0 / 0.7716 GB, free: 8.906 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.928e-05/0.6557, allocations: 8 kB / 0.7716 GB, free: 8.898 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.6557, allocations: 0 / 0.7716 GB, free: 8.898 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.008e-05/0.6557, allocations: 4 kB / 0.7716 GB, free: 8.895 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.6557, allocations: 0 / 0.7716 GB, free: 8.895 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.6558, allocations: 4 kB / 0.7716 GB, free: 8.891 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000698/0.6565, allocations: 232.7 kB / 0.7719 GB, free: 8.672 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004191/0.6569, allocations: 199.3 kB / 0.772 GB, free: 8.473 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.993e-05/0.657, allocations: 5.688 kB / 0.7721 GB, free: 8.469 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00017/0.6572, allocations: 5.688 kB / 0.7721 GB, free: 8.465 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.728e-05/0.6573, allocations: 13.05 kB / 0.7721 GB, free: 8.453 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.893e-05/0.6573, allocations: 13.12 kB / 0.7721 GB, free: 8.441 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001526/0.6589, allocations: 0.7162 MB / 0.7728 GB, free: 7.914 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.6589, allocations: 0 / 0.7728 GB, free: 7.914 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006592/0.6596, allocations: 106.3 kB / 0.7729 GB, free: 7.816 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0019/0.6615, allocations: 0.5756 MB / 0.7734 GB, free: 7.445 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008398/0.6624, allocations: 302.2 kB / 0.7737 GB, free: 7.195 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.6624, allocations: 0 / 0.7737 GB, free: 7.195 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001907/0.6626, allocations: 43.05 kB / 0.7738 GB, free: 7.164 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007026/0.6633, allocations: 51.78 kB / 0.7738 GB, free: 7.133 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002518/0.6659, allocations: 0.9805 MB / 0.7748 GB, free: 6.199 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006615/0.6666, allocations: 0.8557 MB / 0.7756 GB, free: 5.336 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000345/0.6669, allocations: 84.08 kB / 0.7757 GB, free: 5.262 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001786/0.6671, allocations: 34.81 kB / 0.7757 GB, free: 5.23 MB / 362.7 MB Notification: Performance of SimCode: time 1.202e-06/0.6671, allocations: 0 / 0.7757 GB, free: 5.23 MB / 362.7 MB Notification: Performance of Templates: time 0.01694/0.6841, allocations: 4.891 MB / 0.7805 GB, free: 388 kB / 362.7 MB