Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters.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.Blocks.Limiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|slewRateLimiter.y|limiter.y|variableLimiter.y|deadZone.y|sine.y|constPos.y|constNeg.y|slewRateLimiter.y|idealDerivative.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002717/0.002717, allocations: 349.5 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.735/3.735, 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.003582/0.003582, allocations: 218.1 kB / 397.9 MB, free: 4.984 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.4725/0.4725, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007442/0.0007447, allocations: 12 kB / 0.5592 GB, free: 53.47 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1104, allocations: 48.7 MB / 0.6067 GB, free: 4.664 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4378/0.5483, allocations: 75.75 MB / 0.6807 GB, free: 36.99 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002291/0.5486, allocations: 67.97 kB / 0.6808 GB, free: 36.92 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01735/0.5659, allocations: 3.744 MB / 0.6844 GB, free: 33.29 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.566, allocations: 0 / 0.6844 GB, free: 33.29 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.237e-05/0.566, allocations: 4 kB / 0.6844 GB, free: 33.29 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.00132/0.5674, allocations: 469.6 kB / 0.6849 GB, free: 32.79 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.482e-05/0.5675, allocations: 12.03 kB / 0.6849 GB, free: 32.77 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001247/0.5676, allocations: 16.72 kB / 0.6849 GB, free: 32.76 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009915/0.5686, allocations: 259.8 kB / 0.6852 GB, free: 32.47 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001406/0.5688, allocations: 95.38 kB / 0.6852 GB, free: 32.36 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.871e-05/0.5689, allocations: 8 kB / 0.6852 GB, free: 32.35 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000948/0.5698, allocations: 180.8 kB / 0.6854 GB, free: 32.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.502e-05/0.5699, allocations: 0 / 0.6854 GB, free: 32.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.472e-05/0.57, allocations: 0 / 0.6854 GB, free: 32.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.57, allocations: 4 kB / 0.6854 GB, free: 32.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001159/0.5712, allocations: 148.2 kB / 0.6856 GB, free: 32.02 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002349/0.5736, allocations: 490 kB / 0.686 GB, free: 31.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001401/0.5751, allocations: 191.6 kB / 0.6862 GB, free: 31.31 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004209/0.5755, allocations: 76.89 kB / 0.6863 GB, free: 31.23 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.006e-05/0.5756, allocations: 7.953 kB / 0.6863 GB, free: 31.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.5756, allocations: 33.75 kB / 0.6863 GB, free: 31.19 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.946e-06/0.5756, allocations: 0 / 0.6863 GB, free: 31.19 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.001933/0.5776, allocations: 243 kB / 0.6866 GB, free: 30.95 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.796e-05/0.5777, allocations: 109.2 kB / 0.6867 GB, free: 30.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002567/0.5779, allocations: 168.4 kB / 0.6868 GB, free: 30.64 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.924e-05/0.578, allocations: 25.7 kB / 0.6869 GB, free: 30.61 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.5781, allocations: 116.2 kB / 0.687 GB, free: 30.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.141e-05/0.5782, allocations: 23.64 kB / 0.687 GB, free: 30.47 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.718e-05/0.5782, allocations: 0 / 0.687 GB, free: 30.47 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.16e-05/0.5783, allocations: 325.5 kB / 0.6873 GB, free: 30.15 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002754/0.5786, allocations: 35.98 kB / 0.6873 GB, free: 30.11 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003303/0.579, allocations: 74.64 kB / 0.6874 GB, free: 30.03 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002992/0.5793, allocations: 54.66 kB / 0.6875 GB, free: 29.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/0.5793, allocations: 0 / 0.6875 GB, free: 29.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007215/0.5801, allocations: 141.4 kB / 0.6876 GB, free: 29.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/0.5801, allocations: 11.95 kB / 0.6876 GB, free: 29.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.926e-06/0.5801, allocations: 0 / 0.6876 GB, free: 29.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.5802, allocations: 1.875 kB / 0.6876 GB, free: 29.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005063/0.5807, allocations: 44.56 kB / 0.6876 GB, free: 29.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.5807, allocations: 3.875 kB / 0.6876 GB, free: 29.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003088/0.5811, allocations: 19.89 kB / 0.6877 GB, free: 29.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.173e-05/0.5811, allocations: 4 kB / 0.6877 GB, free: 29.76 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0001937/0.5813, allocations: 119.9 kB / 0.6878 GB, free: 29.64 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.36e-05/0.5814, allocations: 15.89 kB / 0.6878 GB, free: 29.62 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.772e-05/0.5815, allocations: 13.36 kB / 0.6878 GB, free: 29.61 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.5816, allocations: 7.656 kB / 0.6878 GB, free: 29.61 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.5816, allocations: 5.188 kB / 0.6878 GB, free: 29.61 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.5816, allocations: 0 / 0.6878 GB, free: 29.61 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000413/0.582, allocations: 233.2 kB / 0.688 GB, free: 29.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.5821, allocations: 3.625 kB / 0.6881 GB, free: 29.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005609/0.5826, allocations: 51.95 kB / 0.6881 GB, free: 29.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/0.5827, allocations: 0 / 0.6881 GB, free: 29.28 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.244e-05/0.5827, allocations: 1.531 kB / 0.6881 GB, free: 29.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.5827, allocations: 3.953 kB / 0.6881 GB, free: 29.28 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.5828, allocations: 0 / 0.6881 GB, free: 29.28 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001705/0.5845, allocations: 352 kB / 0.6884 GB, free: 28.93 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001542/0.5847, allocations: 97.02 kB / 0.6885 GB, free: 28.81 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.893e-05/0.5847, allocations: 8 kB / 0.6885 GB, free: 28.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005224/0.5853, allocations: 48.02 kB / 0.6886 GB, free: 28.76 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.619e-05/0.5853, allocations: 15.88 kB / 0.6886 GB, free: 28.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.011e-05/0.5854, allocations: 0 / 0.6886 GB, free: 28.74 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001124/0.5855, allocations: 124 kB / 0.6887 GB, free: 28.62 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.5855, allocations: 0 / 0.6887 GB, free: 28.62 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003483/0.5859, allocations: 20 kB / 0.6887 GB, free: 28.6 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (slewRateLimiter.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001376/0.586, allocations: 107.2 kB / 0.6888 GB, free: 28.48 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005657/0.5866, allocations: 126.4 kB / 0.689 GB, free: 28.36 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.5866, allocations: 3.938 kB / 0.689 GB, free: 28.36 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003186/0.5869, allocations: 67.95 kB / 0.689 GB, free: 28.29 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004228/0.5874, allocations: 19.98 kB / 0.689 GB, free: 28.27 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000742/0.5881, allocations: 296 kB / 0.6893 GB, free: 27.96 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001485/0.5883, allocations: 0.7043 MB / 0.69 GB, free: 27.23 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001202/0.5884, allocations: 24.55 kB / 0.69 GB, free: 27.21 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.105e-05/0.5885, allocations: 15.38 kB / 0.6901 GB, free: 27.19 MB / 362.7 MB Notification: Performance of SimCode: time 6.11e-07/0.5885, allocations: 4 kB / 0.6901 GB, free: 27.19 MB / 362.7 MB Notification: Performance of Templates: time 0.005295/0.5938, allocations: 1.523 MB / 0.6915 GB, free: 25.73 MB / 362.7 MB