Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test72.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime.nextTimeEvent|startTime_0.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002658/0.002663, allocations: 346 kB / 15.94 MB, free: 6.219 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.757/3.757, allocations: 341.5 MB / 358.2 MB, free: 28.61 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003596/0.003596, allocations: 216.1 kB / 397.8 MB, free: 6.004 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5601/0.5601, allocations: 76.1 MB / 0.5014 GB, free: 0.8008 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004804/0.0004808, allocations: 12 kB / 0.5592 GB, free: 60.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0965/0.09702, allocations: 48.71 MB / 0.6067 GB, free: 11.53 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5215/0.6186, allocations: 75.72 MB / 0.6807 GB, free: 11.47 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002606/0.6189, allocations: 75.34 kB / 0.6808 GB, free: 11.43 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02095/0.6399, allocations: 5.498 MB / 0.6861 GB, free: 6.945 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.386e-06/0.6399, allocations: 0 / 0.6861 GB, free: 6.945 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.57e-05/0.64, allocations: 8 kB / 0.6861 GB, free: 6.938 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.001103/0.6411, allocations: 0.7537 MB / 0.6869 GB, free: 6.152 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.6412, allocations: 8.031 kB / 0.6869 GB, free: 6.145 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001189/0.6413, allocations: 47.44 kB / 0.6869 GB, free: 6.098 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008653/0.6422, allocations: 459.5 kB / 0.6874 GB, free: 5.66 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.6422, allocations: 7 kB / 0.6874 GB, free: 5.656 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.639e-05/0.6422, allocations: 4 kB / 0.6874 GB, free: 5.652 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.6424, allocations: 65.94 kB / 0.6874 GB, free: 5.582 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.6424, allocations: 3.938 kB / 0.6874 GB, free: 5.578 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.059e-05/0.6425, allocations: 4 kB / 0.6874 GB, free: 5.574 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.6425, allocations: 4 kB / 0.6874 GB, free: 5.57 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.68e-05/0.6426, allocations: 19.36 kB / 0.6875 GB, free: 5.555 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000466/0.6431, allocations: 379.9 kB / 0.6878 GB, free: 5.191 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.6432, allocations: 59.64 kB / 0.6879 GB, free: 5.121 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.078e-05/0.6433, allocations: 25.09 kB / 0.6879 GB, free: 5.094 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.6433, allocations: 4 kB / 0.6879 GB, free: 5.09 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001902/0.6435, allocations: 83.03 kB / 0.688 GB, free: 5 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 2.384e-06/0.6435, allocations: 7.938 kB / 0.688 GB, free: 4.992 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004538/0.644, allocations: 146.5 kB / 0.6881 GB, free: 4.859 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.644, allocations: 85.05 kB / 0.6882 GB, free: 4.758 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001712/0.6458, allocations: 0.9803 MB / 0.6892 GB, free: 3.984 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.384e-05/0.6458, allocations: 29.52 kB / 0.6892 GB, free: 3.953 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001891/0.646, allocations: 236.8 kB / 0.6894 GB, free: 3.824 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.169e-05/0.6461, allocations: 15.03 kB / 0.6894 GB, free: 3.812 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.321e-05/0.6461, allocations: 7.562 kB / 0.6895 GB, free: 3.809 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.6462, allocations: 364.7 kB / 0.6898 GB, free: 3.461 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/0.6463, allocations: 34.92 kB / 0.6898 GB, free: 3.438 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001384/0.6465, allocations: 56 kB / 0.6899 GB, free: 3.391 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001485/0.6467, allocations: 100.5 kB / 0.69 GB, free: 3.301 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.6467, allocations: 0 / 0.69 GB, free: 3.301 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004729/0.6472, allocations: 240.5 kB / 0.6902 GB, free: 3.078 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.908e-05/0.6472, allocations: 59.41 kB / 0.6903 GB, free: 3.008 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.6472, allocations: 4 kB / 0.6903 GB, free: 3.004 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.6473, allocations: 4 kB / 0.6903 GB, free: 3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.6474, allocations: 19.39 kB / 0.6903 GB, free: 2.984 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.6474, allocations: 3.938 kB / 0.6903 GB, free: 2.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001689/0.6476, allocations: 15.91 kB / 0.6903 GB, free: 2.965 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.287e-05/0.6476, allocations: 8 kB / 0.6903 GB, free: 2.957 MB / 314.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: 6 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * 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.0003125/0.648, allocations: 232.3 kB / 0.6905 GB, free: 2.742 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.6481, allocations: 47.44 kB / 0.6906 GB, free: 2.695 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003567/0.6484, allocations: 157 kB / 0.6907 GB, free: 2.559 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.6485, allocations: 0 / 0.6907 GB, free: 2.559 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.6485, allocations: 0 / 0.6907 GB, free: 2.559 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.6485, allocations: 0 / 0.6907 GB, free: 2.559 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003632/0.6489, allocations: 374 kB / 0.6911 GB, free: 2.199 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.6489, allocations: 0 / 0.6911 GB, free: 2.199 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.297e-05/0.649, allocations: 14.8 kB / 0.6911 GB, free: 2.188 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.649, allocations: 0 / 0.6911 GB, free: 2.188 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.649, allocations: 0 / 0.6911 GB, free: 2.188 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.649, allocations: 4 kB / 0.6911 GB, free: 2.184 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.649, allocations: 0 / 0.6911 GB, free: 2.184 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003148/0.6493, allocations: 174.8 kB / 0.6913 GB, free: 2.008 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002712/0.6496, allocations: 187.3 kB / 0.6915 GB, free: 1.816 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.666e-05/0.6497, allocations: 7.688 kB / 0.6915 GB, free: 1.812 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.6499, allocations: 4 kB / 0.6915 GB, free: 1.809 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.592e-05/0.6499, allocations: 7.984 kB / 0.6915 GB, free: 1.801 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.65, allocations: 4 kB / 0.6915 GB, free: 1.797 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001176/0.6511, allocations: 0.7266 MB / 0.6922 GB, free: 1.262 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6512, allocations: 0 / 0.6922 GB, free: 1.262 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004983/0.6517, allocations: 99.06 kB / 0.6923 GB, free: 1.172 MB / 314.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: 4 ($whenCondition2,startTime.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEvent) * Number of discrete states: 2 (startTime_0.nextTimeEvent,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001301/0.653, allocations: 477.9 kB / 0.6927 GB, free: 0.8828 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003924/0.6534, allocations: 200.6 kB / 0.6929 GB, free: 0.6914 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.6534, allocations: 0 / 0.6929 GB, free: 0.6914 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.084e-05/0.6535, allocations: 34.3 kB / 0.693 GB, free: 0.6641 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006665/0.6542, allocations: 54.86 kB / 0.693 GB, free: 0.6211 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002259/0.6565, allocations: 0.9462 MB / 0.6939 GB, free: 15.71 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006319/0.6572, allocations: 0.8425 MB / 0.6948 GB, free: 14.86 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002826/0.6575, allocations: 80.97 kB / 0.6948 GB, free: 14.79 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000168/0.6576, allocations: 38.73 kB / 0.6949 GB, free: 14.75 MB / 330.7 MB Notification: Performance of SimCode: time 1.583e-06/0.6577, allocations: 0 / 0.6949 GB, free: 14.75 MB / 330.7 MB Notification: Performance of Templates: time 0.01582/0.6735, allocations: 4.572 MB / 0.6993 GB, free: 10.22 MB / 330.7 MB