Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,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.Test68") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002761/0.002766, allocations: 361.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.332/4.332, 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.00375/0.00375, allocations: 236.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.6094/0.6094, allocations: 80.02 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004606/0.0004608, allocations: 15.98 kB / 0.6265 GB, free: 96.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1516, allocations: 54.87 MB / 0.6801 GB, free: 41.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5477/0.6994, allocations: 82.01 MB / 0.7602 GB, free: 3.297 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000306/0.6998, allocations: 79.78 kB / 0.7603 GB, free: 3.254 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.02803/0.7278, allocations: 5.973 MB / 0.7661 GB, free: 14.13 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.019e-06/0.7278, allocations: 4 kB / 0.7661 GB, free: 14.13 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.946e-05/0.7279, allocations: 4 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.001427/0.7293, allocations: 0.8099 MB / 0.7669 GB, free: 13.27 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.7294, allocations: 8.031 kB / 0.7669 GB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000153/0.7296, allocations: 55.33 kB / 0.767 GB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001112/0.7307, allocations: 466.9 kB / 0.7674 GB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.482e-05/0.7307, allocations: 11.98 kB / 0.7674 GB, free: 12.74 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.973e-05/0.7308, allocations: 8 kB / 0.7674 GB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000295/0.7311, allocations: 88.38 kB / 0.7675 GB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.7311, allocations: 7.938 kB / 0.7675 GB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.81e-05/0.7311, allocations: 0 / 0.7675 GB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.006e-06/0.7312, allocations: 4 kB / 0.7675 GB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001881/0.7314, allocations: 37.41 kB / 0.7675 GB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006429/0.732, allocations: 409.6 kB / 0.7679 GB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004284/0.7325, allocations: 111 kB / 0.768 GB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001607/0.7326, allocations: 41.12 kB / 0.7681 GB, free: 12.08 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.7327, allocations: 4 kB / 0.7681 GB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003318/0.733, allocations: 119.5 kB / 0.7682 GB, free: 11.95 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 4.769e-06/0.733, allocations: 0 / 0.7682 GB, free: 11.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007922/0.7338, allocations: 216.8 kB / 0.7684 GB, free: 11.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.044e-05/0.7339, allocations: 85.05 kB / 0.7685 GB, free: 11.67 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002111/0.736, allocations: 0.9761 MB / 0.7694 GB, free: 10.9 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.205e-05/0.7361, allocations: 35.81 kB / 0.7695 GB, free: 10.86 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002864/0.7364, allocations: 226.1 kB / 0.7697 GB, free: 10.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.488e-05/0.7365, allocations: 24.39 kB / 0.7697 GB, free: 10.71 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.637e-05/0.7365, allocations: 5.688 kB / 0.7697 GB, free: 10.71 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002248/0.7367, allocations: 367.8 kB / 0.7701 GB, free: 10.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002791/0.737, allocations: 56.91 kB / 0.7701 GB, free: 10.33 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000269/0.7373, allocations: 100.6 kB / 0.7702 GB, free: 10.24 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003109/0.7376, allocations: 124.7 kB / 0.7703 GB, free: 10.14 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.7377, allocations: 7.938 kB / 0.7703 GB, free: 10.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000831/0.7385, allocations: 319.1 kB / 0.7707 GB, free: 9.859 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.433e-05/0.7386, allocations: 70.83 kB / 0.7707 GB, free: 9.781 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.7386, allocations: 4.062 kB / 0.7707 GB, free: 9.777 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/0.7387, allocations: 7.953 kB / 0.7707 GB, free: 9.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001938/0.7389, allocations: 23.92 kB / 0.7708 GB, free: 9.746 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.7389, allocations: 4 kB / 0.7708 GB, free: 9.742 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002315/0.7391, allocations: 27.28 kB / 0.7708 GB, free: 9.719 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.362e-05/0.7392, allocations: 11.98 kB / 0.7708 GB, free: 9.707 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.0003605/0.7395, allocations: 222 kB / 0.771 GB, free: 9.504 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/0.7397, allocations: 47.44 kB / 0.7711 GB, free: 9.457 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006154/0.7403, allocations: 207.3 kB / 0.7712 GB, free: 9.285 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.7403, allocations: 0 / 0.7712 GB, free: 9.285 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/0.7404, allocations: 11.94 kB / 0.7713 GB, free: 9.273 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.7404, allocations: 0 / 0.7713 GB, free: 9.273 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005129/0.7409, allocations: 372.5 kB / 0.7716 GB, free: 8.918 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.7409, allocations: 3.984 kB / 0.7716 GB, free: 8.914 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/0.741, allocations: 8 kB / 0.7716 GB, free: 8.906 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.766e-06/0.741, allocations: 4 kB / 0.7716 GB, free: 8.902 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.7411, allocations: 0 / 0.7716 GB, free: 8.902 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.7411, allocations: 4.75 kB / 0.7716 GB, free: 8.898 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.7411, allocations: 4 kB / 0.7716 GB, free: 8.895 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006162/0.7417, allocations: 228.7 kB / 0.7719 GB, free: 8.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003854/0.7421, allocations: 200.2 kB / 0.772 GB, free: 8.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.7422, allocations: 8 kB / 0.7721 GB, free: 8.473 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001796/0.7424, allocations: 11.88 kB / 0.7721 GB, free: 8.465 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.926e-05/0.7425, allocations: 7.984 kB / 0.7721 GB, free: 8.457 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.567e-05/0.7425, allocations: 11.94 kB / 0.7721 GB, free: 8.445 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001437/0.744, allocations: 0.7191 MB / 0.7728 GB, free: 7.914 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.744, allocations: 0 / 0.7728 GB, free: 7.914 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006393/0.7447, allocations: 105.8 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.001948/0.7466, allocations: 0.5714 MB / 0.7734 GB, free: 7.441 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007889/0.7475, allocations: 304.5 kB / 0.7737 GB, free: 7.191 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.7475, allocations: 0 / 0.7737 GB, free: 7.191 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001869/0.7477, allocations: 42.36 kB / 0.7738 GB, free: 7.16 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006943/0.7484, allocations: 56.53 kB / 0.7738 GB, free: 7.125 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002302/0.7507, allocations: 0.9709 MB / 0.7748 GB, free: 6.199 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006146/0.7514, allocations: 0.8563 MB / 0.7756 GB, free: 5.336 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003151/0.7517, allocations: 77.22 kB / 0.7757 GB, free: 5.27 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001757/0.7519, allocations: 38.73 kB / 0.7757 GB, free: 5.234 MB / 362.7 MB Notification: Performance of SimCode: time 1.022e-06/0.7519, allocations: 0 / 0.7757 GB, free: 5.234 MB / 362.7 MB Notification: Performance of Templates: time 0.02013/0.772, allocations: 4.896 MB / 0.7805 GB, free: 384 kB / 362.7 MB