Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.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.Rotational.ForUsersGuide.SupportTorque1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia4.phi|inertia4.w|bearingFriction1.mode|bearingFriction1.startBackward|bearingFriction1.startForward",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003498/0.003498, allocations: 348 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.989/3.989, allocations: 341.5 MB / 358.2 MB, free: 12.63 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.003621/0.003621, allocations: 226.1 kB / 397.9 MB, free: 4.965 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.5205/0.5205, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004712/0.0004714, allocations: 12 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09183/0.09233, allocations: 48.7 MB / 0.6067 GB, free: 4.648 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4596/0.552, allocations: 76.88 MB / 0.6818 GB, free: 35.84 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002686/0.5523, allocations: 83.05 kB / 0.6819 GB, free: 35.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01833/0.5707, allocations: 4.32 MB / 0.6861 GB, free: 31.55 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.5707, allocations: 0 / 0.6861 GB, free: 31.55 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.98e-05/0.5707, allocations: 8 kB / 0.6861 GB, free: 31.55 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001118/0.5719, allocations: 0.5319 MB / 0.6866 GB, free: 30.98 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.5719, allocations: 8.781 kB / 0.6866 GB, free: 30.97 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.157e-05/0.572, allocations: 27.72 kB / 0.6867 GB, free: 30.94 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002974/0.5723, allocations: 243.8 kB / 0.6869 GB, free: 30.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.836e-05/0.5724, allocations: 20.44 kB / 0.6869 GB, free: 30.64 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.695e-05/0.5724, allocations: 23.91 kB / 0.6869 GB, free: 30.62 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000726/0.5732, allocations: 267.1 kB / 0.6872 GB, free: 30.36 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/0.5732, allocations: 3.984 kB / 0.6872 GB, free: 30.35 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.073e-05/0.5733, allocations: 8 kB / 0.6872 GB, free: 30.34 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-06/0.5733, allocations: 4 kB / 0.6872 GB, free: 30.34 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000729/0.574, allocations: 242.2 kB / 0.6874 GB, free: 30.11 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001806/0.5758, allocations: 0.7375 MB / 0.6882 GB, free: 29.33 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007709/0.5766, allocations: 255.4 kB / 0.6884 GB, free: 29.08 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004297/0.5771, allocations: 138.9 kB / 0.6885 GB, free: 28.94 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.8e-05/0.5772, allocations: 4 kB / 0.6885 GB, free: 28.94 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.5772, allocations: 34.5 kB / 0.6886 GB, free: 28.89 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 3.296e-06/0.5772, allocations: 5.875 kB / 0.6886 GB, free: 28.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.004794/0.582, allocations: 1.557 MB / 0.6901 GB, free: 27.25 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.016e-05/0.5821, allocations: 55.41 kB / 0.6902 GB, free: 27.19 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002426/0.5823, allocations: 194.9 kB / 0.6903 GB, free: 26.99 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.749e-05/0.5824, allocations: 39.14 kB / 0.6904 GB, free: 26.95 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.963e-05/0.5825, allocations: 136.6 kB / 0.6905 GB, free: 26.81 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.675e-05/0.5826, allocations: 110.4 kB / 0.6906 GB, free: 26.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.069e-05/0.5826, allocations: 14.44 kB / 0.6906 GB, free: 26.69 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.448e-05/0.5827, allocations: 334.8 kB / 0.691 GB, free: 26.35 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003797/0.5831, allocations: 123.9 kB / 0.6911 GB, free: 26.23 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004065/0.5835, allocations: 164.1 kB / 0.6912 GB, free: 26.06 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003637/0.5839, allocations: 118.9 kB / 0.6913 GB, free: 25.95 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.5839, allocations: 0 / 0.6913 GB, free: 25.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001488/0.5854, allocations: 0.5077 MB / 0.6918 GB, free: 25.45 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.5855, allocations: 4 kB / 0.6918 GB, free: 25.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.5855, allocations: 0 / 0.6918 GB, free: 25.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007721/0.5863, allocations: 241.1 kB / 0.6921 GB, free: 25.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004035/0.5867, allocations: 55.91 kB / 0.6921 GB, free: 25.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009338/0.5876, allocations: 0.7515 MB / 0.6929 GB, free: 24.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004899/0.5882, allocations: 44.78 kB / 0.6929 GB, free: 24.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.768e-05/0.5882, allocations: 24.05 kB / 0.6929 GB, free: 24.32 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (bearingFriction1.free,$PRE.bearingFriction1.startForward,bearingFriction1.startForward,$PRE.bearingFriction1.startBackward,bearingFriction1.startBackward,bearingFriction1.locked,$PRE.bearingFriction1.mode,bearingFriction1.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002155/0.5885, allocations: 143.8 kB / 0.6931 GB, free: 24.17 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.139e-05/0.5885, allocations: 19.81 kB / 0.6931 GB, free: 24.15 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001008/0.5886, allocations: 38.64 kB / 0.6931 GB, free: 24.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.5887, allocations: 6.812 kB / 0.6931 GB, free: 24.11 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.5887, allocations: 0 / 0.6931 GB, free: 24.11 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.5887, allocations: 0 / 0.6931 GB, free: 24.11 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002368/0.5911, allocations: 1.011 MB / 0.6941 GB, free: 23.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.5911, allocations: 4 kB / 0.6941 GB, free: 23.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004067/0.5915, allocations: 47.91 kB / 0.6942 GB, free: 23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00066/0.5922, allocations: 230.7 kB / 0.6944 GB, free: 22.78 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.111e-05/0.5923, allocations: 8 kB / 0.6944 GB, free: 22.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000829/0.5931, allocations: 0.7084 MB / 0.6951 GB, free: 22.04 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.5931, allocations: 0 / 0.6951 GB, free: 22.04 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001766/0.5949, allocations: 0.6963 MB / 0.6958 GB, free: 21.33 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001784/0.5951, allocations: 128.8 kB / 0.6959 GB, free: 21.19 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.737e-05/0.5952, allocations: 12 kB / 0.6959 GB, free: 21.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004563/0.5957, allocations: 47.95 kB / 0.6959 GB, free: 21.13 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001681/0.5959, allocations: 55.91 kB / 0.696 GB, free: 21.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.687e-05/0.5959, allocations: 19.61 kB / 0.696 GB, free: 21.06 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001548/0.5961, allocations: 146.4 kB / 0.6961 GB, free: 20.92 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5961, allocations: 0 / 0.6961 GB, free: 20.92 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004978/0.5966, allocations: 76 kB / 0.6962 GB, free: 20.84 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (inertia3.phi,inertia3.w) * Number of discrete variables: 4 (bearingFriction1.startForward,bearingFriction1.startBackward,bearingFriction1.locked,bearingFriction1.mode) * Number of discrete states: 3 (bearingFriction1.mode,bearingFriction1.startBackward,bearingFriction1.startForward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.00027/0.5969, allocations: 127.1 kB / 0.6963 GB, free: 20.71 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001032/0.5979, allocations: 315.4 kB / 0.6966 GB, free: 20.4 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.598, allocations: 0 / 0.6966 GB, free: 20.4 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004812/0.5985, allocations: 168.1 kB / 0.6968 GB, free: 20.24 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005662/0.599, allocations: 30.94 kB / 0.6968 GB, free: 20.21 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003033/0.6021, allocations: 0.9356 MB / 0.6977 GB, free: 19.26 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002173/0.6024, allocations: 0.7642 MB / 0.6985 GB, free: 18.47 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001632/0.6025, allocations: 22.3 kB / 0.6985 GB, free: 18.45 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.488e-05/0.6026, allocations: 23.42 kB / 0.6985 GB, free: 18.42 MB / 362.7 MB Notification: Performance of SimCode: time 1.203e-06/0.6026, allocations: 0 / 0.6985 GB, free: 18.42 MB / 362.7 MB Notification: Performance of Templates: time 0.01112/0.6138, allocations: 4.185 MB / 0.7026 GB, free: 14.37 MB / 362.7 MB