Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|t_new.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002921/0.002927, 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 4.082/4.082, 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.003531/0.003531, allocations: 218.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.5185/0.5185, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004812/0.0004814, allocations: 12 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09352/0.09403, allocations: 48.72 MB / 0.6067 GB, free: 4.641 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4163/0.5104, allocations: 76.61 MB / 0.6816 GB, free: 36.12 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/0.5107, allocations: 71.95 kB / 0.6816 GB, free: 36.05 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01271/0.5235, allocations: 3.23 MB / 0.6848 GB, free: 32.89 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.5235, allocations: 4 kB / 0.6848 GB, free: 32.89 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.549e-05/0.5236, allocations: 3.984 kB / 0.6848 GB, free: 32.88 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005648/0.5241, allocations: 489.8 kB / 0.6853 GB, free: 32.35 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.5242, allocations: 8.031 kB / 0.6853 GB, free: 32.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.438e-05/0.5242, allocations: 13.62 kB / 0.6853 GB, free: 32.33 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002446/0.5245, allocations: 202.8 kB / 0.6855 GB, free: 32.09 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.5245, allocations: 4 kB / 0.6855 GB, free: 32.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.319e-05/0.5246, allocations: 8 kB / 0.6855 GB, free: 32.08 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002149/0.5248, allocations: 80.55 kB / 0.6856 GB, free: 32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.5248, allocations: 0 / 0.6856 GB, free: 32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.5249, allocations: 0 / 0.6856 GB, free: 32 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.5249, allocations: 4 kB / 0.6856 GB, free: 32 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001753/0.525, allocations: 39.97 kB / 0.6856 GB, free: 31.96 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000555/0.5256, allocations: 359.8 kB / 0.686 GB, free: 31.56 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003117/0.5259, allocations: 73.39 kB / 0.686 GB, free: 31.48 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.5261, allocations: 32.84 kB / 0.6861 GB, free: 31.45 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.5261, allocations: 0 / 0.6861 GB, free: 31.45 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001971/0.5263, allocations: 79.19 kB / 0.6861 GB, free: 31.36 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.923e-06/0.5263, allocations: 0 / 0.6861 GB, free: 31.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004314/0.5268, allocations: 121.2 kB / 0.6862 GB, free: 31.24 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/0.5268, allocations: 59.36 kB / 0.6863 GB, free: 31.17 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001701/0.527, allocations: 169.5 kB / 0.6865 GB, free: 31 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.527, allocations: 25.7 kB / 0.6865 GB, free: 30.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.548e-05/0.5271, allocations: 108.1 kB / 0.6866 GB, free: 30.86 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.441e-05/0.5271, allocations: 34.05 kB / 0.6866 GB, free: 30.83 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.318e-06/0.5272, allocations: 0 / 0.6866 GB, free: 30.83 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.329e-05/0.5272, allocations: 322.8 kB / 0.6869 GB, free: 30.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001225/0.5274, allocations: 32.09 kB / 0.687 GB, free: 30.47 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/0.5275, allocations: 52.05 kB / 0.687 GB, free: 30.42 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.5277, allocations: 71.31 kB / 0.6871 GB, free: 30.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.5277, allocations: 0 / 0.6871 GB, free: 30.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000362/0.5281, allocations: 162 kB / 0.6872 GB, free: 30.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.653e-05/0.5281, allocations: 29.7 kB / 0.6873 GB, free: 30.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.5281, allocations: 7.984 kB / 0.6873 GB, free: 30.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.5282, allocations: 0 / 0.6873 GB, free: 30.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.5283, allocations: 15.94 kB / 0.6873 GB, free: 30.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.5283, allocations: 7.953 kB / 0.6873 GB, free: 30.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.217e-05/0.5284, allocations: 15.89 kB / 0.6873 GB, free: 30.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.825e-05/0.5285, allocations: 9.969 kB / 0.6873 GB, free: 30.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: 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 (10): * Single equations (assignments): 9 * 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 9.879e-05/0.5286, allocations: 119.9 kB / 0.6874 GB, free: 29.97 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.432e-05/0.5286, allocations: 7.906 kB / 0.6874 GB, free: 29.96 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003258/0.5289, allocations: 114.3 kB / 0.6875 GB, free: 29.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.529, allocations: 6.688 kB / 0.6876 GB, free: 29.84 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.529, allocations: 0 / 0.6876 GB, free: 29.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.529, allocations: 3.953 kB / 0.6876 GB, free: 29.84 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000176/0.5292, allocations: 209.4 kB / 0.6878 GB, free: 29.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.5292, allocations: 0 / 0.6878 GB, free: 29.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001302/0.5293, allocations: 19.98 kB / 0.6878 GB, free: 29.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.5293, allocations: 0.5625 kB / 0.6878 GB, free: 29.56 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.5294, allocations: 0 / 0.6878 GB, free: 29.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.5294, allocations: 1.531 kB / 0.6878 GB, free: 29.56 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.5294, allocations: 4 kB / 0.6878 GB, free: 29.56 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004607/0.5298, allocations: 169.6 kB / 0.6879 GB, free: 29.38 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.718e-05/0.5299, allocations: 85.05 kB / 0.688 GB, free: 29.28 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.988e-05/0.53, allocations: 0 / 0.688 GB, free: 29.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.862e-05/0.53, allocations: 11.98 kB / 0.688 GB, free: 29.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.545e-05/0.5301, allocations: 5.156 kB / 0.688 GB, free: 29.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.5301, allocations: 4 kB / 0.688 GB, free: 29.26 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001099/0.5302, allocations: 132.4 kB / 0.6882 GB, free: 29.13 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.5303, allocations: 0 / 0.6882 GB, free: 29.13 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003287/0.5306, allocations: 39.84 kB / 0.6882 GB, free: 29.09 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (8): * Single equations (assignments): 7 * 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.000915/0.5315, allocations: 312.9 kB / 0.6885 GB, free: 28.94 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003592/0.5319, allocations: 139.3 kB / 0.6886 GB, free: 28.79 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.5319, allocations: 2.125 kB / 0.6886 GB, free: 28.79 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001255/0.5321, allocations: 31.98 kB / 0.6887 GB, free: 28.76 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/0.5324, allocations: 23.94 kB / 0.6887 GB, free: 28.74 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000607/0.533, allocations: 267.2 kB / 0.6889 GB, free: 28.45 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001685/0.5332, allocations: 0.7077 MB / 0.6896 GB, free: 27.72 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.802e-05/0.5333, allocations: 12.42 kB / 0.6897 GB, free: 27.71 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.143e-05/0.5334, allocations: 15.44 kB / 0.6897 GB, free: 27.7 MB / 362.7 MB Notification: Performance of SimCode: time 6.62e-07/0.5334, allocations: 1.781 kB / 0.6897 GB, free: 27.7 MB / 362.7 MB Notification: Performance of Templates: time 0.005625/0.539, allocations: 1.596 MB / 0.6912 GB, free: 26.23 MB / 362.7 MB