Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.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.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.2_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004005/0.004004, allocations: 361.2 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 4.286/4.286, allocations: 388.9 MB / 405.6 MB, free: 9.551 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.003666/0.003666, allocations: 224.5 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.5715/0.5715, allocations: 80.03 MB / 0.5627 GB, free: 19.75 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004745/0.0004747, allocations: 11.98 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1013, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4697/0.571, allocations: 83.27 MB / 0.7614 GB, free: 2.137 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000273/0.5713, allocations: 74.72 kB / 0.7615 GB, free: 2.098 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01946/0.5908, allocations: 4.318 MB / 0.7657 GB, free: 14.37 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.895e-06/0.5909, allocations: 0 / 0.7657 GB, free: 14.37 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.413e-05/0.5909, allocations: 4 kB / 0.7657 GB, free: 14.37 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.001319/0.5922, allocations: 0.52 MB / 0.7662 GB, free: 13.81 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.5923, allocations: 8.031 kB / 0.7662 GB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.5924, allocations: 31.7 kB / 0.7662 GB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003807/0.5928, allocations: 235.7 kB / 0.7665 GB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.202e-05/0.5929, allocations: 19.38 kB / 0.7665 GB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.145e-05/0.593, allocations: 22.75 kB / 0.7665 GB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007795/0.5937, allocations: 250.2 kB / 0.7667 GB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.457e-05/0.5938, allocations: 7.906 kB / 0.7668 GB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.514e-05/0.5938, allocations: 15.44 kB / 0.7668 GB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/0.5939, allocations: 8 kB / 0.7668 GB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008108/0.5947, allocations: 215.6 kB / 0.767 GB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002091/0.5968, allocations: 0.7056 MB / 0.7677 GB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006641/0.5975, allocations: 224.5 kB / 0.7679 GB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004265/0.598, allocations: 147 kB / 0.768 GB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.106e-05/0.5981, allocations: 8.172 kB / 0.768 GB, free: 12.26 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.5981, allocations: 34.73 kB / 0.7681 GB, free: 12.22 MB / 362.7 MB Notification: Performance of pre-optimization done (n=27): time 2.925e-06/0.5981, allocations: 0 / 0.7681 GB, free: 12.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=35): time 0.005465/0.6036, allocations: 1.491 MB / 0.7695 GB, free: 10.9 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.439e-05/0.6037, allocations: 63.36 kB / 0.7696 GB, free: 10.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002848/0.604, allocations: 183.1 kB / 0.7698 GB, free: 10.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.011e-05/0.6041, allocations: 36.89 kB / 0.7698 GB, free: 10.62 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/0.6042, allocations: 129.5 kB / 0.7699 GB, free: 10.51 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001451/0.6044, allocations: 119.7 kB / 0.77 GB, free: 10.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.981e-05/0.6044, allocations: 3.5 kB / 0.77 GB, free: 10.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.6046, allocations: 336.5 kB / 0.7704 GB, free: 10.08 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004184/0.605, allocations: 109.6 kB / 0.7705 GB, free: 10.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004348/0.6054, allocations: 163.1 kB / 0.7706 GB, free: 9.891 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003673/0.6058, allocations: 105.4 kB / 0.7707 GB, free: 9.832 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.6058, allocations: 0 / 0.7707 GB, free: 9.832 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001358/0.6072, allocations: 407.2 kB / 0.7711 GB, free: 9.539 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.1e-05/0.6073, allocations: 8 kB / 0.7711 GB, free: 9.531 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.701e-05/0.6073, allocations: 7.938 kB / 0.7711 GB, free: 9.523 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007462/0.6081, allocations: 190.6 kB / 0.7713 GB, free: 9.379 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004259/0.6085, allocations: 51.11 kB / 0.7713 GB, free: 9.332 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001112/0.6096, allocations: 0.7127 MB / 0.772 GB, free: 8.676 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005255/0.6102, allocations: 55.86 kB / 0.7721 GB, free: 8.625 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.649e-05/0.6103, allocations: 11.12 kB / 0.7721 GB, free: 8.617 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 ($PRE.bearingFriction1.startForward,bearingFriction1.startForward,$PRE.bearingFriction1.startBackward,bearingFriction1.startBackward,bearingFriction1.locked,$PRE.bearingFriction1.mode,bearingFriction1.mode,bearingFriction1.free) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0002784/0.6106, allocations: 143.8 kB / 0.7722 GB, free: 8.484 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.029e-05/0.6107, allocations: 23.7 kB / 0.7723 GB, free: 8.461 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001586/0.6123, allocations: 459.7 kB / 0.7727 GB, free: 8.133 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.6123, allocations: 4 kB / 0.7727 GB, free: 8.129 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.6124, allocations: 4 kB / 0.7727 GB, free: 8.125 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/0.6124, allocations: 3.984 kB / 0.7727 GB, free: 8.121 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002529/0.6149, allocations: 0.9502 MB / 0.7736 GB, free: 7.301 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.258e-06/0.615, allocations: 4 kB / 0.7736 GB, free: 7.297 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004424/0.6154, allocations: 51.78 kB / 0.7737 GB, free: 7.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006453/0.6161, allocations: 173 kB / 0.7739 GB, free: 7.113 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.94e-05/0.6162, allocations: 14.61 kB / 0.7739 GB, free: 7.105 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009295/0.6171, allocations: 0.6751 MB / 0.7745 GB, free: 6.465 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.6171, allocations: 4.062 kB / 0.7745 GB, free: 6.461 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001913/0.6191, allocations: 0.6323 MB / 0.7752 GB, free: 5.969 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000221/0.6193, allocations: 123.3 kB / 0.7753 GB, free: 5.84 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.433e-05/0.6194, allocations: 14.02 kB / 0.7753 GB, free: 5.832 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000485/0.6199, allocations: 55.33 kB / 0.7753 GB, free: 5.781 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001893/0.6201, allocations: 58.69 kB / 0.7754 GB, free: 5.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.865e-05/0.6202, allocations: 10.94 kB / 0.7754 GB, free: 5.723 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001792/0.6204, allocations: 135.8 kB / 0.7755 GB, free: 5.605 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.6204, allocations: 0 / 0.7755 GB, free: 5.605 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005564/0.621, allocations: 82.06 kB / 0.7756 GB, free: 5.535 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (25): * Single equations (assignments): 24 * 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.0002837/0.6213, allocations: 125.7 kB / 0.7757 GB, free: 5.41 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001223/0.6225, allocations: 343 kB / 0.7761 GB, free: 5.156 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.6225, allocations: 0 / 0.7761 GB, free: 5.156 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00058/0.6231, allocations: 158.9 kB / 0.7762 GB, free: 5.043 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006155/0.6238, allocations: 37.23 kB / 0.7762 GB, free: 5.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003499/0.6273, allocations: 0.9398 MB / 0.7772 GB, free: 4.105 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003907/0.6277, allocations: 0.7639 MB / 0.7779 GB, free: 3.312 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001751/0.6279, allocations: 22.38 kB / 0.7779 GB, free: 3.293 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.578e-05/0.628, allocations: 22.94 kB / 0.778 GB, free: 3.277 MB / 362.7 MB Notification: Performance of SimCode: time 1.543e-06/0.628, allocations: 4 kB / 0.778 GB, free: 3.273 MB / 362.7 MB Notification: Performance of Templates: time 0.01398/0.642, allocations: 4.361 MB / 0.7822 GB, free: 14.95 MB / 378.7 MB