Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") translateModel(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00109/0.00109, allocations: 156.2 kB / 7.633 MB, free: 1.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.257/1.257, allocations: 170.7 MB / 178.7 MB, free: 7.039 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001675/0.001675, allocations: 108.8 kB / 218 MB, free: 15.33 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2027/0.2027, allocations: 37.98 MB / 295.1 MB, free: 2.086 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.388e-05/1.391e-05, allocations: 0 / 350 MB, free: 32.51 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3089, allocations: 48.69 MB / 398.7 MB, free: 6.074 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1258/0.4348, allocations: 76.15 MB / 474.9 MB, free: 6.988 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002694/0.4351, allocations: 67.97 kB / 474.9 MB, free: 6.922 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01265/0.4478, allocations: 4.295 MB / 479.2 MB, free: 2.633 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.185e-06/0.4478, allocations: 0 / 479.2 MB, free: 2.633 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.773e-05/0.4478, allocations: 4 kB / 479.2 MB, free: 2.629 MB / 330.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.001002/0.4488, allocations: 0.5177 MB / 479.7 MB, free: 2.07 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.4489, allocations: 12.03 kB / 479.8 MB, free: 2.059 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.279e-05/0.449, allocations: 23.72 kB / 479.8 MB, free: 2.035 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003518/0.4494, allocations: 235.4 kB / 480 MB, free: 1.762 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.714e-05/0.4494, allocations: 4 kB / 480 MB, free: 1.758 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.941e-05/0.4495, allocations: 20 kB / 480 MB, free: 1.738 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004082/0.4499, allocations: 212.7 kB / 480.2 MB, free: 1.531 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003974/0.4503, allocations: 222.4 kB / 480.5 MB, free: 1.309 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/0.4503, allocations: 7.906 kB / 480.5 MB, free: 1.301 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.612e-05/0.4503, allocations: 0 / 480.5 MB, free: 1.301 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.4504, allocations: 4 kB / 480.5 MB, free: 1.297 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001291/0.4517, allocations: 0.6775 MB / 481.1 MB, free: 0.582 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004333/0.4521, allocations: 222.5 kB / 481.4 MB, free: 364 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002215/0.4523, allocations: 128.8 kB / 481.5 MB, free: 232 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.93e-05/0.4524, allocations: 4 kB / 481.5 MB, free: 228 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.4524, allocations: 34.56 kB / 481.5 MB, free: 184 kB / 330.7 MB Notification: Performance of pre-optimization done (n=25): time 3.246e-06/0.4524, allocations: 0 / 481.5 MB, free: 184 kB / 330.7 MB Notification: Performance of matching and sorting (n=33): time 0.002472/0.4549, allocations: 1.16 MB / 482.7 MB, free: 14.93 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.372e-05/0.455, allocations: 55.41 kB / 482.7 MB, free: 14.86 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002498/0.4552, allocations: 149.5 kB / 482.9 MB, free: 14.71 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.679e-05/0.4553, allocations: 29.7 kB / 482.9 MB, free: 14.67 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/0.4555, allocations: 148.8 kB / 483.1 MB, free: 14.52 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001155/0.4556, allocations: 110.5 kB / 483.2 MB, free: 14.41 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.85e-05/0.4556, allocations: 0 / 483.2 MB, free: 14.41 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.4558, allocations: 326.8 kB / 483.5 MB, free: 14.09 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000198/0.456, allocations: 107.9 kB / 483.6 MB, free: 13.98 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002426/0.4563, allocations: 151.3 kB / 483.7 MB, free: 13.82 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000263/0.4565, allocations: 107.8 kB / 483.8 MB, free: 13.71 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.4566, allocations: 4 kB / 483.9 MB, free: 13.71 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008632/0.4574, allocations: 447.1 kB / 484.3 MB, free: 13.27 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.4575, allocations: 8 kB / 484.3 MB, free: 13.26 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.4575, allocations: 0 / 484.3 MB, free: 13.26 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004938/0.458, allocations: 244.6 kB / 484.5 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002225/0.4582, allocations: 55.89 kB / 484.6 MB, free: 12.96 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009421/0.4592, allocations: 0.7709 MB / 485.4 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000261/0.4594, allocations: 43.98 kB / 485.4 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.604e-05/0.4595, allocations: 8 kB / 485.4 MB, free: 12.11 MB / 346.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: bearingFriction1.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real 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 () * 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.0001878/0.4597, allocations: 120 kB / 485.5 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.317e-05/0.4598, allocations: 27.67 kB / 485.6 MB, free: 11.97 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.819e-05/0.4599, allocations: 35.33 kB / 485.6 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.4599, allocations: 4 kB / 485.6 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.4599, allocations: 0 / 485.6 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.4599, allocations: 3.938 kB / 485.6 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001573/0.4615, allocations: 0.9269 MB / 486.5 MB, free: 10.94 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.4615, allocations: 0 / 486.5 MB, free: 10.94 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002312/0.4617, allocations: 51.91 kB / 486.6 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004132/0.4622, allocations: 216.7 kB / 486.8 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.955e-05/0.4622, allocations: 3.984 kB / 486.8 MB, free: 10.67 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008239/0.463, allocations: 0.7279 MB / 487.5 MB, free: 9.918 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.463, allocations: 3.984 kB / 487.5 MB, free: 9.914 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001082/0.4641, allocations: 0.6432 MB / 488.2 MB, free: 9.242 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001717/0.4643, allocations: 124.8 kB / 488.3 MB, free: 9.102 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.845e-05/0.4644, allocations: 8 kB / 488.3 MB, free: 9.094 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002571/0.4647, allocations: 44.02 kB / 488.3 MB, free: 9.051 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001359/0.4648, allocations: 55.84 kB / 488.4 MB, free: 8.996 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.472e-05/0.4648, allocations: 15.98 kB / 488.4 MB, free: 8.98 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001086/0.465, allocations: 128.6 kB / 488.5 MB, free: 8.855 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.465, allocations: 96 / 488.5 MB, free: 8.855 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004077/0.4654, allocations: 75.88 kB / 488.6 MB, free: 8.781 MB / 346.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) * 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.0002468/0.4656, allocations: 112.1 kB / 488.7 MB, free: 8.664 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005718/0.4662, allocations: 279.6 kB / 489 MB, free: 8.391 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4662, allocations: 4 kB / 489 MB, free: 8.387 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002851/0.4665, allocations: 143.8 kB / 489.1 MB, free: 8.246 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/0.4668, allocations: 19.11 kB / 489.2 MB, free: 8.23 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001732/0.4686, allocations: 0.6594 MB / 489.8 MB, free: 7.547 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/0.4689, allocations: 0.7605 MB / 490.6 MB, free: 6.762 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.727e-05/0.4691, allocations: 22.06 kB / 490.6 MB, free: 6.742 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.959e-05/0.4691, allocations: 19.44 kB / 490.6 MB, free: 6.723 MB / 346.7 MB Notification: Performance of SimCode: time 2.7e-07/0.4691, allocations: 0 / 490.6 MB, free: 6.723 MB / 346.7 MB Notification: Performance of Templates: time 0.00847/0.4776, allocations: 3.927 MB / 494.5 MB, free: 2.801 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.sim & ./ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe 2>&1)