Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime.nextTimeEvent|startTime_0.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0028/0.002804, allocations: 348.9 kB / 15.94 MB, free: 6.215 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 4.064/4.064, allocations: 341.5 MB / 358.2 MB, free: 12.64 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.003575/0.003575, allocations: 226.1 kB / 397.9 MB, free: 4.977 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.6319/0.6319, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004609/0.0004611, allocations: 12 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08967/0.09016, allocations: 48.71 MB / 0.6067 GB, free: 4.645 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4847/0.575, allocations: 75.73 MB / 0.6807 GB, free: 37.04 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003966/0.5754, allocations: 67.97 kB / 0.6808 GB, free: 36.97 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02825/0.6038, allocations: 5.49 MB / 0.6861 GB, free: 31.62 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.046e-06/0.6038, allocations: 0 / 0.6861 GB, free: 31.62 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.847e-05/0.6039, allocations: 4 kB / 0.6861 GB, free: 31.61 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.001151/0.605, allocations: 0.7572 MB / 0.6869 GB, free: 30.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.6051, allocations: 12.03 kB / 0.6869 GB, free: 30.79 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001418/0.6053, allocations: 43.44 kB / 0.6869 GB, free: 30.74 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009086/0.6062, allocations: 463.1 kB / 0.6874 GB, free: 30.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.379e-05/0.6062, allocations: 2.688 kB / 0.6874 GB, free: 30.25 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.886e-05/0.6063, allocations: 7.281 kB / 0.6874 GB, free: 30.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.6064, allocations: 71.33 kB / 0.6874 GB, free: 30.17 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.6065, allocations: 0 / 0.6874 GB, free: 30.17 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.6065, allocations: 3.5 kB / 0.6874 GB, free: 30.17 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.6065, allocations: 1.281 kB / 0.6874 GB, free: 30.17 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.17e-05/0.6066, allocations: 19.98 kB / 0.6875 GB, free: 30.15 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004867/0.6071, allocations: 382.9 kB / 0.6878 GB, free: 29.72 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001207/0.6073, allocations: 64.52 kB / 0.6879 GB, free: 29.64 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.315e-05/0.6073, allocations: 25.77 kB / 0.6879 GB, free: 29.61 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.6074, allocations: 0 / 0.6879 GB, free: 29.61 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002387/0.6076, allocations: 91.78 kB / 0.688 GB, free: 29.51 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.803e-06/0.6076, allocations: 0 / 0.688 GB, free: 29.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004762/0.6081, allocations: 141.1 kB / 0.6881 GB, free: 29.36 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/0.6082, allocations: 85.03 kB / 0.6882 GB, free: 29.26 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001785/0.61, allocations: 0.9851 MB / 0.6892 GB, free: 28.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.121e-05/0.61, allocations: 29.7 kB / 0.6892 GB, free: 28.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001949/0.6103, allocations: 228.1 kB / 0.6894 GB, free: 28 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.043e-05/0.6103, allocations: 27.72 kB / 0.6894 GB, free: 27.98 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.154e-05/0.6103, allocations: 0 / 0.6894 GB, free: 27.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.6105, allocations: 368.9 kB / 0.6898 GB, free: 27.61 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/0.6106, allocations: 35.97 kB / 0.6898 GB, free: 27.57 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.6107, allocations: 53.7 kB / 0.6899 GB, free: 27.52 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001485/0.6109, allocations: 94.8 kB / 0.69 GB, free: 27.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.6109, allocations: 4 kB / 0.69 GB, free: 27.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005037/0.6114, allocations: 236.4 kB / 0.6902 GB, free: 27.16 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.92e-05/0.6115, allocations: 63.39 kB / 0.6903 GB, free: 27.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.6115, allocations: 6.812 kB / 0.6903 GB, free: 27.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.6115, allocations: 0 / 0.6903 GB, free: 27.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.6117, allocations: 8 kB / 0.6903 GB, free: 27.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.6117, allocations: 3.938 kB / 0.6903 GB, free: 27.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000177/0.6119, allocations: 25.45 kB / 0.6903 GB, free: 27.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.321e-05/0.6119, allocations: 4 kB / 0.6903 GB, free: 27.04 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.0003213/0.6123, allocations: 231.7 kB / 0.6905 GB, free: 26.81 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.6124, allocations: 44.12 kB / 0.6906 GB, free: 26.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003772/0.6128, allocations: 165 kB / 0.6907 GB, free: 26.6 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.6128, allocations: 0 / 0.6907 GB, free: 26.6 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.6128, allocations: 4 kB / 0.6907 GB, free: 26.6 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.6128, allocations: 0 / 0.6907 GB, free: 26.6 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003878/0.6132, allocations: 369.3 kB / 0.6911 GB, free: 26.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.6132, allocations: 0 / 0.6911 GB, free: 26.19 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.042e-05/0.6133, allocations: 8 kB / 0.6911 GB, free: 26.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.6133, allocations: 0 / 0.6911 GB, free: 26.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.6133, allocations: 11.36 kB / 0.6911 GB, free: 26.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.6134, allocations: 0 / 0.6911 GB, free: 26.17 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.6134, allocations: 3.5 kB / 0.6911 GB, free: 26.17 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003212/0.6137, allocations: 173.2 kB / 0.6913 GB, free: 25.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002773/0.614, allocations: 184.5 kB / 0.6915 GB, free: 25.78 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.872e-05/0.6141, allocations: 8 kB / 0.6915 GB, free: 25.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.6142, allocations: 4.625 kB / 0.6915 GB, free: 25.77 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.798e-05/0.6143, allocations: 10.73 kB / 0.6915 GB, free: 25.76 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.74e-05/0.6143, allocations: 4 kB / 0.6915 GB, free: 25.76 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001237/0.6156, allocations: 0.7253 MB / 0.6922 GB, free: 25.04 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6156, allocations: 3.562 kB / 0.6922 GB, free: 25.04 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005239/0.6161, allocations: 99.92 kB / 0.6923 GB, free: 24.94 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.001358/0.6175, allocations: 465.3 kB / 0.6927 GB, free: 24.74 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003968/0.6179, allocations: 207.2 kB / 0.6929 GB, free: 24.52 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.618, allocations: 4 kB / 0.6929 GB, free: 24.52 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.718e-05/0.618, allocations: 27.92 kB / 0.693 GB, free: 24.49 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006691/0.6187, allocations: 47.5 kB / 0.693 GB, free: 24.44 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001952/0.6207, allocations: 0.9514 MB / 0.6939 GB, free: 23.48 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003788/0.6211, allocations: 0.839 MB / 0.6948 GB, free: 22.62 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002518/0.6214, allocations: 79.22 kB / 0.6948 GB, free: 22.54 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001555/0.6216, allocations: 35.44 kB / 0.6949 GB, free: 22.5 MB / 362.7 MB Notification: Performance of SimCode: time 1.352e-06/0.6216, allocations: 0.75 kB / 0.6949 GB, free: 22.5 MB / 362.7 MB Notification: Performance of Templates: time 0.01419/0.6358, allocations: 4.573 MB / 0.6993 GB, free: 18.1 MB / 362.7 MB