Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,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.Test27") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003793/0.003793, allocations: 350.6 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 3.802/3.802, allocations: 341.5 MB / 358.2 MB, free: 12.54 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.003583/0.003583, allocations: 218.2 kB / 397.9 MB, free: 4.891 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.526/0.526, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006988/0.0006991, allocations: 19.98 kB / 0.5592 GB, free: 53.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09806/0.09881, allocations: 48.7 MB / 0.6067 GB, free: 4.633 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3963/0.4951, allocations: 75.83 MB / 0.6808 GB, free: 36.89 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003115/0.4955, allocations: 75.95 kB / 0.6809 GB, free: 36.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01704/0.5126, allocations: 3.94 MB / 0.6847 GB, free: 32.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.043e-06/0.5126, allocations: 0 / 0.6847 GB, free: 32.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.241e-05/0.5127, allocations: 0 / 0.6847 GB, free: 32.96 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.0005127/0.5132, allocations: 433.8 kB / 0.6851 GB, free: 32.48 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.5132, allocations: 8.031 kB / 0.6851 GB, free: 32.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.348e-05/0.5133, allocations: 11.41 kB / 0.6851 GB, free: 32.47 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002271/0.5135, allocations: 198.9 kB / 0.6853 GB, free: 32.23 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.5136, allocations: 0 / 0.6853 GB, free: 32.23 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.665e-05/0.5136, allocations: 7.938 kB / 0.6853 GB, free: 32.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.5137, allocations: 45.67 kB / 0.6854 GB, free: 32.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.5138, allocations: 0 / 0.6854 GB, free: 32.18 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.5138, allocations: 0 / 0.6854 GB, free: 32.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.5138, allocations: 0 / 0.6854 GB, free: 32.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.843e-05/0.5139, allocations: 15.98 kB / 0.6854 GB, free: 32.16 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004303/0.5143, allocations: 291.5 kB / 0.6857 GB, free: 31.83 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002377/0.5146, allocations: 46.5 kB / 0.6857 GB, free: 31.77 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.971e-05/0.5146, allocations: 13.72 kB / 0.6857 GB, free: 31.76 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.5146, allocations: 3.75 kB / 0.6857 GB, free: 31.76 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001324/0.5148, allocations: 66.39 kB / 0.6858 GB, free: 31.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.793e-06/0.5148, allocations: 0 / 0.6858 GB, free: 31.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004795/0.5153, allocations: 121.2 kB / 0.6859 GB, free: 31.56 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.689e-05/0.5153, allocations: 51.41 kB / 0.686 GB, free: 31.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001943/0.5155, allocations: 178 kB / 0.6861 GB, free: 31.31 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.5156, allocations: 32.86 kB / 0.6862 GB, free: 31.28 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.86e-05/0.5156, allocations: 100.1 kB / 0.6863 GB, free: 31.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.592e-05/0.5157, allocations: 15.8 kB / 0.6863 GB, free: 31.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.077e-06/0.5157, allocations: 4 kB / 0.6863 GB, free: 31.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.52e-05/0.5158, allocations: 314.8 kB / 0.6866 GB, free: 30.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.062e-05/0.5158, allocations: 23.98 kB / 0.6866 GB, free: 30.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.681e-05/0.5159, allocations: 23.92 kB / 0.6866 GB, free: 30.79 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.265e-05/0.516, allocations: 60.95 kB / 0.6867 GB, free: 30.73 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.516, allocations: 0 / 0.6867 GB, free: 30.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002534/0.5163, allocations: 131.3 kB / 0.6868 GB, free: 30.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.794e-05/0.5164, allocations: 33.7 kB / 0.6868 GB, free: 30.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.5164, allocations: 0.8906 kB / 0.6868 GB, free: 30.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.5164, allocations: 3.984 kB / 0.6868 GB, free: 30.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.455e-05/0.5165, allocations: 11.94 kB / 0.6869 GB, free: 30.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.5165, allocations: 3.953 kB / 0.6869 GB, free: 30.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.022e-05/0.5166, allocations: 7.156 kB / 0.6869 GB, free: 30.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/0.5166, allocations: 4 kB / 0.6869 GB, free: 30.52 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.0001007/0.5167, allocations: 123.9 kB / 0.687 GB, free: 30.39 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.382e-05/0.5168, allocations: 7.906 kB / 0.687 GB, free: 30.39 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002492/0.517, allocations: 88.36 kB / 0.6871 GB, free: 30.3 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.517, allocations: 0 / 0.6871 GB, free: 30.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.5171, allocations: 7.375 kB / 0.6871 GB, free: 30.29 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.5171, allocations: 9.031 kB / 0.6871 GB, free: 30.29 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003921/0.5175, allocations: 353.8 kB / 0.6874 GB, free: 29.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.5175, allocations: 3.984 kB / 0.6874 GB, free: 29.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.449e-05/0.5176, allocations: 8 kB / 0.6874 GB, free: 29.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.5176, allocations: 0 / 0.6874 GB, free: 29.88 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.5176, allocations: 0 / 0.6874 GB, free: 29.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.5176, allocations: 3.953 kB / 0.6875 GB, free: 29.87 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.5176, allocations: 3.062 kB / 0.6875 GB, free: 29.87 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001921/0.5178, allocations: 179.4 kB / 0.6876 GB, free: 29.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.428e-05/0.5179, allocations: 85.02 kB / 0.6877 GB, free: 29.58 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.031e-05/0.5179, allocations: 4 kB / 0.6877 GB, free: 29.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.518, allocations: 0 / 0.6877 GB, free: 29.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.645e-05/0.5181, allocations: 12.56 kB / 0.6877 GB, free: 29.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.5181, allocations: 8.188 kB / 0.6877 GB, free: 29.56 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001276/0.5183, allocations: 127.8 kB / 0.6879 GB, free: 29.43 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-07/0.5183, allocations: 0 / 0.6879 GB, free: 29.43 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003624/0.5187, allocations: 31.98 kB / 0.6879 GB, free: 29.4 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.0009869/0.5197, allocations: 360.5 kB / 0.6882 GB, free: 29.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002543/0.5199, allocations: 119.3 kB / 0.6883 GB, free: 29.11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.5199, allocations: 0 / 0.6883 GB, free: 29.11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.344e-05/0.52, allocations: 16 kB / 0.6884 GB, free: 29.09 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004165/0.5205, allocations: 17.45 kB / 0.6884 GB, free: 29.07 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005112/0.521, allocations: 203.9 kB / 0.6886 GB, free: 28.86 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001762/0.5212, allocations: 0.7115 MB / 0.6893 GB, free: 28.12 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.76e-05/0.5212, allocations: 11.98 kB / 0.6893 GB, free: 28.11 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.825e-05/0.5213, allocations: 11.44 kB / 0.6893 GB, free: 28.1 MB / 362.7 MB Notification: Performance of SimCode: time 1.282e-06/0.5213, allocations: 0 / 0.6893 GB, free: 28.1 MB / 362.7 MB Notification: Performance of Templates: time 0.005541/0.5269, allocations: 1.514 MB / 0.6908 GB, free: 26.74 MB / 362.7 MB