Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.Limiters.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_ModelicaTest.Blocks.Limiters") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004379/0.004379, allocations: 360 kB / 15.95 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.96/3.96, allocations: 388.9 MB / 405.6 MB, free: 9.57 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003641/0.00364, allocations: 236.7 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.512/0.512, allocations: 80.02 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006679/0.0006684, allocations: 16 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09835/0.09907, allocations: 54.87 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4837/0.5829, allocations: 81.84 MB / 0.76 GB, free: 3.559 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002274/0.5831, allocations: 68.09 kB / 0.7601 GB, free: 3.523 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01844/0.6016, allocations: 4.013 MB / 0.764 GB, free: 108 kB / 346.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.6017, allocations: 0 / 0.764 GB, free: 108 kB / 346.7 MB Notification: Performance of Transformations before backend: time 1.798e-05/0.6017, allocations: 4 kB / 0.764 GB, free: 104 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000872/0.6026, allocations: 458.9 kB / 0.7644 GB, free: 15.61 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.6026, allocations: 12.56 kB / 0.7644 GB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.792e-05/0.6027, allocations: 11.91 kB / 0.7645 GB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002957/0.603, allocations: 213.2 kB / 0.7647 GB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/0.6031, allocations: 7.938 kB / 0.7647 GB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.215e-05/0.6031, allocations: 4 kB / 0.7647 GB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006891/0.6038, allocations: 182.9 kB / 0.7648 GB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.6039, allocations: 7.953 kB / 0.7648 GB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.861e-05/0.6039, allocations: 3.938 kB / 0.7649 GB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.6039, allocations: 0 / 0.7649 GB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007877/0.6047, allocations: 158.6 kB / 0.765 GB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001288/0.606, allocations: 454.2 kB / 0.7654 GB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001728/0.6078, allocations: 317.7 kB / 0.7657 GB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004399/0.6083, allocations: 100.2 kB / 0.7658 GB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.593e-05/0.6083, allocations: 0 / 0.7658 GB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/0.6084, allocations: 34.56 kB / 0.7659 GB, free: 14.16 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.803e-06/0.6084, allocations: 4 kB / 0.7659 GB, free: 14.15 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.001454/0.6098, allocations: 276.3 kB / 0.7661 GB, free: 13.9 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.242e-05/0.61, allocations: 102.8 kB / 0.7662 GB, free: 13.78 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001953/0.6102, allocations: 157.4 kB / 0.7664 GB, free: 13.63 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.021e-05/0.6102, allocations: 33.58 kB / 0.7664 GB, free: 13.59 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.183e-05/0.6103, allocations: 103.6 kB / 0.7665 GB, free: 13.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.913e-05/0.6104, allocations: 23.67 kB / 0.7665 GB, free: 13.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.638e-06/0.6104, allocations: 0 / 0.7665 GB, free: 13.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.6105, allocations: 322.7 kB / 0.7668 GB, free: 13.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004877/0.611, allocations: 89.73 kB / 0.7669 GB, free: 13.08 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004763/0.6115, allocations: 107 kB / 0.767 GB, free: 12.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004392/0.612, allocations: 83.28 kB / 0.7671 GB, free: 12.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/0.612, allocations: 3.938 kB / 0.7671 GB, free: 12.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000963/0.613, allocations: 210 kB / 0.7673 GB, free: 12.71 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.659e-05/0.6131, allocations: 93 kB / 0.7674 GB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.6131, allocations: 0 / 0.7674 GB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/0.6131, allocations: 0 / 0.7674 GB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003279/0.6135, allocations: 55.33 kB / 0.7675 GB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.6135, allocations: 3.953 kB / 0.7675 GB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002908/0.6138, allocations: 39.88 kB / 0.7675 GB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.6138, allocations: 0 / 0.7675 GB, free: 12.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.6138, allocations: 4 kB / 0.7675 GB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000398/0.6142, allocations: 84.83 kB / 0.7676 GB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.6143, allocations: 0 / 0.7676 GB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.398e-06/0.6143, allocations: 0 / 0.7676 GB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.6144, allocations: 23.98 kB / 0.7676 GB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.087e-06/0.6145, allocations: 0 / 0.7676 GB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001583/0.6146, allocations: 15.92 kB / 0.7676 GB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.6147, allocations: 4 kB / 0.7676 GB, free: 12.41 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0002104/0.6149, allocations: 204 kB / 0.7678 GB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.503e-05/0.615, allocations: 15.81 kB / 0.7678 GB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.91e-05/0.615, allocations: 15.14 kB / 0.7678 GB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.615, allocations: 4 kB / 0.7679 GB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.6151, allocations: 4 kB / 0.7679 GB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.6151, allocations: 0 / 0.7679 GB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003147/0.6154, allocations: 218.2 kB / 0.7681 GB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.6154, allocations: 3.953 kB / 0.7681 GB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00033/0.6158, allocations: 43.97 kB / 0.7681 GB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/0.6158, allocations: 0 / 0.7681 GB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.876e-05/0.6158, allocations: 3.812 kB / 0.7681 GB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.6158, allocations: 0 / 0.7681 GB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.6158, allocations: 0 / 0.7681 GB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001498/0.6173, allocations: 391.5 kB / 0.7685 GB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.992e-05/0.6175, allocations: 92.81 kB / 0.7686 GB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.538e-05/0.6175, allocations: 0 / 0.7686 GB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005266/0.6181, allocations: 52.02 kB / 0.7686 GB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.623e-05/0.6181, allocations: 15.47 kB / 0.7686 GB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.547e-05/0.6182, allocations: 4 kB / 0.7686 GB, free: 11.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001275/0.6183, allocations: 123.1 kB / 0.7688 GB, free: 11.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6183, allocations: 0 / 0.7688 GB, free: 11.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004853/0.6188, allocations: 42.66 kB / 0.7688 GB, free: 11.2 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 (7): * Single equations (assignments): 7 * 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.0001594/0.619, allocations: 98.98 kB / 0.7689 GB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001157/0.6202, allocations: 226.9 kB / 0.7691 GB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.6202, allocations: 0 / 0.7691 GB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000446/0.6207, allocations: 86.31 kB / 0.7692 GB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000468/0.6211, allocations: 26.92 kB / 0.7692 GB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009766/0.6221, allocations: 303.7 kB / 0.7695 GB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002862/0.6224, allocations: 0.7048 MB / 0.7702 GB, free: 9.766 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001772/0.6226, allocations: 24.41 kB / 0.7702 GB, free: 9.738 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.896e-05/0.6227, allocations: 15.44 kB / 0.7702 GB, free: 9.727 MB / 362.7 MB Notification: Performance of SimCode: time 1.303e-06/0.6228, allocations: 0 / 0.7702 GB, free: 9.727 MB / 362.7 MB Notification: Performance of Templates: time 0.006689/0.6295, allocations: 1.665 MB / 0.7719 GB, free: 8.09 MB / 362.7 MB