Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002869/0.002869, 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.725/3.725, 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.003503/0.003503, 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.5809/0.5809, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006453/0.0006456, allocations: 12 kB / 0.5592 GB, free: 53.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09369/0.09437, allocations: 48.7 MB / 0.6067 GB, free: 4.633 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4116/0.506, allocations: 75.7 MB / 0.6807 GB, free: 37.02 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002461/0.5063, allocations: 71.03 kB / 0.6807 GB, free: 36.95 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01489/0.5212, allocations: 3.834 MB / 0.6845 GB, free: 33.19 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.5213, allocations: 0 / 0.6845 GB, free: 33.19 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.5213, allocations: 4 kB / 0.6845 GB, free: 33.19 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004469/0.5218, allocations: 427.9 kB / 0.6849 GB, free: 32.72 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.5218, allocations: 8.031 kB / 0.6849 GB, free: 32.71 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.63e-05/0.5219, allocations: 7.906 kB / 0.6849 GB, free: 32.71 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002283/0.5221, allocations: 194.8 kB / 0.6851 GB, free: 32.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.5222, allocations: 8.531 kB / 0.6851 GB, free: 32.47 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.498e-05/0.5222, allocations: 3 kB / 0.6851 GB, free: 32.47 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.5223, allocations: 41.69 kB / 0.6851 GB, free: 32.42 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.5223, allocations: 0 / 0.6851 GB, free: 32.42 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.5223, allocations: 0 / 0.6851 GB, free: 32.42 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.5223, allocations: 0 / 0.6851 GB, free: 32.42 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.747e-05/0.5224, allocations: 15.98 kB / 0.6852 GB, free: 32.41 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001727/0.5226, allocations: 178.3 kB / 0.6853 GB, free: 32.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.424e-05/0.5227, allocations: 38.44 kB / 0.6854 GB, free: 32.14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.503e-05/0.5227, allocations: 14.42 kB / 0.6854 GB, free: 32.12 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/0.5228, allocations: 0 / 0.6854 GB, free: 32.12 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001179/0.5229, allocations: 61.7 kB / 0.6854 GB, free: 32.05 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.663e-06/0.5229, allocations: 0 / 0.6854 GB, free: 32.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.000225/0.5231, allocations: 68.22 kB / 0.6855 GB, free: 31.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.745e-05/0.5232, allocations: 59.33 kB / 0.6856 GB, free: 31.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001853/0.5234, allocations: 169.1 kB / 0.6857 GB, free: 31.74 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.5234, allocations: 29.7 kB / 0.6857 GB, free: 31.71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.218e-05/0.5235, allocations: 100.1 kB / 0.6858 GB, free: 31.61 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.072e-05/0.5235, allocations: 7.844 kB / 0.6858 GB, free: 31.6 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.615e-06/0.5235, allocations: 4 kB / 0.6859 GB, free: 31.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.368e-05/0.5236, allocations: 318.8 kB / 0.6862 GB, free: 31.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.762e-05/0.5236, allocations: 27.12 kB / 0.6862 GB, free: 31.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.222e-05/0.5237, allocations: 19.98 kB / 0.6862 GB, free: 31.23 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.401e-05/0.5238, allocations: 45.7 kB / 0.6862 GB, free: 31.18 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.5238, allocations: 0 / 0.6862 GB, free: 31.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002003/0.524, allocations: 119 kB / 0.6864 GB, free: 31.05 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.239e-05/0.5241, allocations: 33.7 kB / 0.6864 GB, free: 31.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.5241, allocations: 0 / 0.6864 GB, free: 31.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.5241, allocations: 4 kB / 0.6864 GB, free: 31.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.514e-05/0.5242, allocations: 12.61 kB / 0.6864 GB, free: 31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.5242, allocations: 0 / 0.6864 GB, free: 31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.227e-05/0.5243, allocations: 11.41 kB / 0.6864 GB, free: 30.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.5243, allocations: 0 / 0.6864 GB, free: 30.99 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 (5): * Single equations (assignments): 4 * 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 8.49e-05/0.5244, allocations: 131.8 kB / 0.6865 GB, free: 30.86 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.039e-05/0.5244, allocations: 3.906 kB / 0.6865 GB, free: 30.85 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00017/0.5246, allocations: 73.92 kB / 0.6866 GB, free: 30.77 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.5246, allocations: 3.984 kB / 0.6866 GB, free: 30.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.5246, allocations: 0 / 0.6866 GB, free: 30.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.5247, allocations: 3.562 kB / 0.6866 GB, free: 30.77 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001242/0.5248, allocations: 181.6 kB / 0.6868 GB, free: 30.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.5248, allocations: 0 / 0.6868 GB, free: 30.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.574e-05/0.5248, allocations: 7.938 kB / 0.6868 GB, free: 30.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.5249, allocations: 0 / 0.6868 GB, free: 30.53 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.5249, allocations: 3.375 kB / 0.6868 GB, free: 30.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.5249, allocations: 0 / 0.6868 GB, free: 30.53 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.5249, allocations: 3.75 kB / 0.6868 GB, free: 30.53 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001434/0.525, allocations: 97.53 kB / 0.6869 GB, free: 30.42 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.326e-05/0.5251, allocations: 89.72 kB / 0.687 GB, free: 30.32 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.748e-05/0.5251, allocations: 4 kB / 0.687 GB, free: 30.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.56e-05/0.5252, allocations: 0 / 0.687 GB, free: 30.31 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.72e-05/0.5252, allocations: 7.078 kB / 0.687 GB, free: 30.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-06/0.5253, allocations: 4 kB / 0.687 GB, free: 30.3 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001131/0.5254, allocations: 127.8 kB / 0.6871 GB, free: 30.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.5254, allocations: 0 / 0.6871 GB, free: 30.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000286/0.5257, allocations: 35.92 kB / 0.6872 GB, free: 30.14 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 (4): * Single equations (assignments): 3 * 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.0008384/0.5265, allocations: 312 kB / 0.6875 GB, free: 29.99 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001903/0.5267, allocations: 99.39 kB / 0.6876 GB, free: 29.88 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.5268, allocations: 0 / 0.6876 GB, free: 29.88 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.85e-05/0.5268, allocations: 13.58 kB / 0.6876 GB, free: 29.87 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002925/0.5271, allocations: 20.92 kB / 0.6876 GB, free: 29.85 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004258/0.5276, allocations: 200.7 kB / 0.6878 GB, free: 29.63 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001518/0.5277, allocations: 0.6948 MB / 0.6885 GB, free: 28.91 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.69e-05/0.5278, allocations: 12.17 kB / 0.6885 GB, free: 28.9 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.916e-05/0.5278, allocations: 15.44 kB / 0.6885 GB, free: 28.89 MB / 362.7 MB Notification: Performance of SimCode: time 6.31e-07/0.5278, allocations: 0 / 0.6885 GB, free: 28.89 MB / 362.7 MB Notification: Performance of Templates: time 0.004686/0.5325, allocations: 1.307 MB / 0.6898 GB, free: 27.73 MB / 362.7 MB