Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test26") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002693/0.002698, allocations: 346.1 kB / 15.93 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.897/3.897, allocations: 341.5 MB / 358.2 MB, free: 12.63 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.005388/0.005388, allocations: 214.1 kB / 397.8 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.5517/0.5517, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000635/0.0006352, allocations: 16 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.103, allocations: 48.7 MB / 0.6067 GB, free: 4.652 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3949/0.498, allocations: 75.87 MB / 0.6808 GB, free: 36.89 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002951/0.4983, allocations: 75.94 kB / 0.6809 GB, free: 36.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01631/0.5146, allocations: 4.068 MB / 0.6849 GB, free: 32.84 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.5147, allocations: 0 / 0.6849 GB, free: 32.84 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.303e-05/0.5147, allocations: 0 / 0.6849 GB, free: 32.84 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.0005249/0.5153, allocations: 438.3 kB / 0.6853 GB, free: 32.36 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.5153, allocations: 19.02 kB / 0.6853 GB, free: 32.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.336e-05/0.5154, allocations: 7.906 kB / 0.6853 GB, free: 32.34 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002506/0.5156, allocations: 203.1 kB / 0.6855 GB, free: 32.1 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.5157, allocations: 4 kB / 0.6855 GB, free: 32.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.009e-05/0.5157, allocations: 8 kB / 0.6855 GB, free: 32.09 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.5158, allocations: 41.69 kB / 0.6856 GB, free: 32.04 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.5159, allocations: 0 / 0.6856 GB, free: 32.04 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.5159, allocations: 3.984 kB / 0.6856 GB, free: 32.04 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.5159, allocations: 2.688 kB / 0.6856 GB, free: 32.04 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.29e-05/0.516, allocations: 12 kB / 0.6856 GB, free: 32.02 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003915/0.5164, allocations: 300.7 kB / 0.6859 GB, free: 31.68 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002339/0.5166, allocations: 45.19 kB / 0.6859 GB, free: 31.63 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.933e-05/0.5167, allocations: 16.94 kB / 0.6859 GB, free: 31.61 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.22e-05/0.5167, allocations: 4 kB / 0.6859 GB, free: 31.61 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001409/0.5169, allocations: 55.34 kB / 0.686 GB, free: 31.54 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.943e-06/0.5169, allocations: 0 / 0.686 GB, free: 31.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005187/0.5174, allocations: 117.4 kB / 0.6861 GB, free: 31.42 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.5175, allocations: 56.97 kB / 0.6861 GB, free: 31.36 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002124/0.5177, allocations: 188.2 kB / 0.6863 GB, free: 31.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.5177, allocations: 27.2 kB / 0.6863 GB, free: 31.13 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.181e-05/0.5178, allocations: 108.8 kB / 0.6865 GB, free: 31.02 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.309e-05/0.5178, allocations: 7.812 kB / 0.6865 GB, free: 31.01 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.758e-06/0.5178, allocations: 7.094 kB / 0.6865 GB, free: 31.01 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.794e-05/0.5179, allocations: 322.8 kB / 0.6868 GB, free: 30.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.693e-05/0.518, allocations: 19.98 kB / 0.6868 GB, free: 30.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.26e-05/0.5181, allocations: 20 kB / 0.6868 GB, free: 30.64 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.021e-05/0.5182, allocations: 65.38 kB / 0.6869 GB, free: 30.58 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.5182, allocations: 0 / 0.6869 GB, free: 30.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002518/0.5184, allocations: 127.2 kB / 0.687 GB, free: 30.44 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.063e-05/0.5185, allocations: 42.56 kB / 0.687 GB, free: 30.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.5185, allocations: 0 / 0.687 GB, free: 30.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.5185, allocations: 0.5312 kB / 0.687 GB, free: 30.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.695e-05/0.5186, allocations: 8.656 kB / 0.687 GB, free: 30.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.5187, allocations: 0 / 0.687 GB, free: 30.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.351e-05/0.5187, allocations: 11.3 kB / 0.6871 GB, free: 30.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.713e-05/0.5188, allocations: 7.984 kB / 0.6871 GB, free: 30.37 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.000112/0.5189, allocations: 119.9 kB / 0.6872 GB, free: 30.25 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.46e-05/0.5189, allocations: 7.906 kB / 0.6872 GB, free: 30.24 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002689/0.5192, allocations: 108 kB / 0.6873 GB, free: 30.13 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.5192, allocations: 0 / 0.6873 GB, free: 30.13 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.5192, allocations: 5.781 kB / 0.6873 GB, free: 30.13 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.5193, allocations: 0 / 0.6873 GB, free: 30.13 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000408/0.5197, allocations: 354.5 kB / 0.6876 GB, free: 29.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.5197, allocations: 0 / 0.6876 GB, free: 29.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.582e-05/0.5198, allocations: 15.92 kB / 0.6876 GB, free: 29.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.5198, allocations: 0 / 0.6876 GB, free: 29.71 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.5198, allocations: 2.125 kB / 0.6876 GB, free: 29.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.5198, allocations: 4 kB / 0.6877 GB, free: 29.71 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.5198, allocations: 3.953 kB / 0.6877 GB, free: 29.7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001942/0.52, allocations: 172.1 kB / 0.6878 GB, free: 29.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.686e-05/0.5201, allocations: 89 kB / 0.6879 GB, free: 29.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.074e-05/0.5201, allocations: 2.125 kB / 0.6879 GB, free: 29.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.741e-05/0.5202, allocations: 4 kB / 0.6879 GB, free: 29.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.859e-05/0.5203, allocations: 10.19 kB / 0.6879 GB, free: 29.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.5203, allocations: 7.953 kB / 0.6879 GB, free: 29.39 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001399/0.5205, allocations: 132.1 kB / 0.6881 GB, free: 29.27 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5205, allocations: 3.406 kB / 0.6881 GB, free: 29.27 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000377/0.5209, allocations: 43.92 kB / 0.6881 GB, free: 29.22 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001004/0.5219, allocations: 356.9 kB / 0.6884 GB, free: 29.05 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002598/0.5222, allocations: 116 kB / 0.6886 GB, free: 28.93 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/0.5222, allocations: 2.75 kB / 0.6886 GB, free: 28.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.238e-05/0.5222, allocations: 19.94 kB / 0.6886 GB, free: 28.91 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004324/0.5227, allocations: 19.34 kB / 0.6886 GB, free: 28.89 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005294/0.5232, allocations: 223.1 kB / 0.6888 GB, free: 28.66 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001691/0.5234, allocations: 0.7004 MB / 0.6895 GB, free: 27.93 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.974e-05/0.5235, allocations: 12.59 kB / 0.6895 GB, free: 27.92 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.179e-05/0.5236, allocations: 15.42 kB / 0.6895 GB, free: 27.91 MB / 362.7 MB Notification: Performance of SimCode: time 1.172e-06/0.5236, allocations: 1.406 kB / 0.6895 GB, free: 27.91 MB / 362.7 MB Notification: Performance of Templates: time 0.00585/0.5294, allocations: 1.53 MB / 0.691 GB, free: 26.5 MB / 362.7 MB