Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime.nextTimeEvent|startTime_0.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002639/0.002638, allocations: 347.4 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.677/3.677, allocations: 341.5 MB / 358.2 MB, free: 12.62 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.005356/0.005356, allocations: 226.1 kB / 397.9 MB, free: 4.969 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5879/0.5879, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006333/0.0006336, allocations: 12 kB / 0.5592 GB, free: 53.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09141/0.09208, allocations: 48.7 MB / 0.6067 GB, free: 4.633 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4877/0.5798, allocations: 75.73 MB / 0.6807 GB, free: 36.99 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003499/0.5802, allocations: 75.03 kB / 0.6808 GB, free: 36.92 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03293/0.6132, allocations: 5.44 MB / 0.6861 GB, free: 31.61 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.326e-06/0.6132, allocations: 0 / 0.6861 GB, free: 31.61 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.57e-05/0.6133, allocations: 8 kB / 0.6861 GB, free: 31.6 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.001886/0.6152, allocations: 0.7442 MB / 0.6868 GB, free: 30.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.199e-05/0.6153, allocations: 8.031 kB / 0.6868 GB, free: 30.79 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002585/0.6156, allocations: 51.42 kB / 0.6869 GB, free: 30.74 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001509/0.6171, allocations: 451.1 kB / 0.6873 GB, free: 30.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.803e-05/0.6172, allocations: 4 kB / 0.6873 GB, free: 30.26 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.556e-05/0.6173, allocations: 7.281 kB / 0.6873 GB, free: 30.26 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002533/0.6175, allocations: 67.38 kB / 0.6874 GB, free: 30.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.6176, allocations: 2.906 kB / 0.6874 GB, free: 30.18 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.008e-05/0.6176, allocations: 0 / 0.6874 GB, free: 30.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.6176, allocations: 4 kB / 0.6874 GB, free: 30.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001522/0.6178, allocations: 23.92 kB / 0.6874 GB, free: 30.15 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008739/0.6187, allocations: 375.4 kB / 0.6878 GB, free: 29.73 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001907/0.6189, allocations: 60.11 kB / 0.6878 GB, free: 29.66 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.543e-05/0.619, allocations: 25.77 kB / 0.6878 GB, free: 29.63 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.784e-05/0.6191, allocations: 4 kB / 0.6878 GB, free: 29.62 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003191/0.6194, allocations: 86.09 kB / 0.6879 GB, free: 29.52 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 3.186e-06/0.6194, allocations: 0.5938 kB / 0.6879 GB, free: 29.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0008011/0.6203, allocations: 146.1 kB / 0.6881 GB, free: 29.38 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/0.6203, allocations: 77.11 kB / 0.6881 GB, free: 29.28 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002839/0.6232, allocations: 0.9617 MB / 0.6891 GB, free: 28.31 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.38e-05/0.6233, allocations: 25.7 kB / 0.6891 GB, free: 28.28 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001897/0.6235, allocations: 228.1 kB / 0.6893 GB, free: 28.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.421e-05/0.6236, allocations: 19.73 kB / 0.6893 GB, free: 28.03 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.219e-05/0.6236, allocations: 7.938 kB / 0.6893 GB, free: 28.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.6237, allocations: 370.1 kB / 0.6897 GB, free: 27.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001136/0.6238, allocations: 31.98 kB / 0.6897 GB, free: 27.62 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/0.6239, allocations: 60.5 kB / 0.6898 GB, free: 27.56 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.6241, allocations: 95.39 kB / 0.6899 GB, free: 27.46 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.6241, allocations: 0 / 0.6899 GB, free: 27.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004688/0.6246, allocations: 240.4 kB / 0.6901 GB, free: 27.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.754e-05/0.6247, allocations: 62.58 kB / 0.6902 GB, free: 27.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.6247, allocations: 4 kB / 0.6902 GB, free: 27.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.6247, allocations: 0 / 0.6902 GB, free: 27.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.6248, allocations: 11.94 kB / 0.6902 GB, free: 27.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.6249, allocations: 7.938 kB / 0.6902 GB, free: 27.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001613/0.625, allocations: 15.91 kB / 0.6902 GB, free: 27.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.375e-05/0.6251, allocations: 7.984 kB / 0.6902 GB, free: 27.09 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: 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.0002571/0.6253, allocations: 220.5 kB / 0.6904 GB, free: 26.87 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.6255, allocations: 47.44 kB / 0.6905 GB, free: 26.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003564/0.6258, allocations: 156 kB / 0.6906 GB, free: 26.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.6258, allocations: 0 / 0.6906 GB, free: 26.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.6259, allocations: 4 kB / 0.6906 GB, free: 26.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.6259, allocations: 0 / 0.6906 GB, free: 26.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003773/0.6263, allocations: 371.6 kB / 0.691 GB, free: 26.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.6263, allocations: 0 / 0.691 GB, free: 26.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.178e-05/0.6263, allocations: 7.938 kB / 0.691 GB, free: 26.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.6264, allocations: 4 kB / 0.691 GB, free: 26.24 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.6264, allocations: 3.984 kB / 0.691 GB, free: 26.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.6264, allocations: 0 / 0.691 GB, free: 26.23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.6264, allocations: 4 kB / 0.691 GB, free: 26.23 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003373/0.6267, allocations: 171.4 kB / 0.6912 GB, free: 26.05 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002737/0.627, allocations: 180.5 kB / 0.6913 GB, free: 25.85 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.952e-05/0.6271, allocations: 11.45 kB / 0.6913 GB, free: 25.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.6273, allocations: 4 kB / 0.6913 GB, free: 25.84 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.331e-05/0.6273, allocations: 16.86 kB / 0.6914 GB, free: 25.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.6274, allocations: 4 kB / 0.6914 GB, free: 25.82 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001097/0.6285, allocations: 0.7025 MB / 0.6921 GB, free: 25.12 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6285, allocations: 5.031 kB / 0.6921 GB, free: 25.12 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004687/0.629, allocations: 91.94 kB / 0.6921 GB, free: 25.03 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: 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.001319/0.6303, allocations: 467.5 kB / 0.6926 GB, free: 24.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003849/0.6307, allocations: 207.2 kB / 0.6928 GB, free: 24.61 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.6307, allocations: 1.312 kB / 0.6928 GB, free: 24.61 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.019e-05/0.6308, allocations: 31.98 kB / 0.6928 GB, free: 24.58 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005825/0.6314, allocations: 50.8 kB / 0.6929 GB, free: 24.53 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001724/0.6332, allocations: 0.9152 MB / 0.6938 GB, free: 23.6 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003396/0.6335, allocations: 0.8423 MB / 0.6946 GB, free: 22.73 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001733/0.6337, allocations: 78.59 kB / 0.6947 GB, free: 22.66 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001524/0.6339, allocations: 31.44 kB / 0.6947 GB, free: 22.62 MB / 362.7 MB Notification: Performance of SimCode: time 1.143e-06/0.6339, allocations: 1.406 kB / 0.6947 GB, free: 22.62 MB / 362.7 MB Notification: Performance of Templates: time 0.01265/0.6465, allocations: 4.49 MB / 0.6991 GB, free: 18.31 MB / 362.7 MB