Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") translateModel(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.006815/0.006815, allocations: 176.6 kB / 15.12 MB, free: 5.988 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.534/1.534, allocations: 194.5 MB / 210.3 MB, free: 7.535 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001728/0.001728, allocations: 116.6 kB / 255.6 MB, free: 10.15 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1762/0.1762, allocations: 40 MB / 340.8 MB, free: 11.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003965/0.0003966, allocations: 13.03 kB / 406.1 MB, free: 51.85 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1311, allocations: 54.87 MB / 461 MB, free: 3.309 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4163/0.5473, allocations: 83.28 MB / 0.5315 GB, free: 81.93 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004135/0.5479, allocations: 78.81 kB / 0.5316 GB, free: 81.93 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01422/0.5621, allocations: 4.308 MB / 0.5358 GB, free: 81.39 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.5622, allocations: 0 / 0.5358 GB, free: 81.39 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.386e-05/0.5622, allocations: 5.312 kB / 0.5358 GB, free: 81.39 MB / 378.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.001061/0.5633, allocations: 0.5235 MB / 0.5363 GB, free: 80.96 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.887e-05/0.5633, allocations: 9.812 kB / 0.5363 GB, free: 80.96 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.221e-05/0.5634, allocations: 25.12 kB / 0.5364 GB, free: 80.95 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003247/0.5638, allocations: 238.9 kB / 0.5366 GB, free: 80.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.217e-05/0.5638, allocations: 13.94 kB / 0.5366 GB, free: 80.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.117e-05/0.5639, allocations: 23.53 kB / 0.5366 GB, free: 80.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006181/0.5645, allocations: 257.4 kB / 0.5369 GB, free: 80.69 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/0.5646, allocations: 6.281 kB / 0.5369 GB, free: 80.69 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.763e-05/0.5646, allocations: 12.27 kB / 0.5369 GB, free: 80.68 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.5646, allocations: 5.844 kB / 0.5369 GB, free: 80.68 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005554/0.5652, allocations: 222.8 kB / 0.5371 GB, free: 80.67 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001533/0.5667, allocations: 0.7081 MB / 0.5378 GB, free: 80.36 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004826/0.5672, allocations: 213.5 kB / 0.538 GB, free: 80.33 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.427e-05/0.5673, allocations: 4.125 kB / 0.538 GB, free: 80.33 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.5673, allocations: 35.66 kB / 0.538 GB, free: 80.29 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 1.703e-06/0.5673, allocations: 7.938 kB / 0.5381 GB, free: 80.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=35): time 0.00354/0.5709, allocations: 1.483 MB / 0.5395 GB, free: 79.66 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/0.5709, allocations: 59.73 kB / 0.5396 GB, free: 79.59 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002258/0.5712, allocations: 162.2 kB / 0.5397 GB, free: 79.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.848e-05/0.5712, allocations: 36 kB / 0.5398 GB, free: 79.47 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.5713, allocations: 132.9 kB / 0.5399 GB, free: 79.37 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.5715, allocations: 114.5 kB / 0.54 GB, free: 79.3 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.182e-05/0.5715, allocations: 10.31 kB / 0.54 GB, free: 79.3 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.197e-05/0.5716, allocations: 331.9 kB / 0.5403 GB, free: 78.98 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002853/0.5719, allocations: 115.7 kB / 0.5404 GB, free: 78.98 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002877/0.5722, allocations: 160.9 kB / 0.5406 GB, free: 78.95 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002415/0.5724, allocations: 107.8 kB / 0.5407 GB, free: 78.94 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.5724, allocations: 0 / 0.5407 GB, free: 78.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007961/0.5732, allocations: 413.5 kB / 0.5411 GB, free: 78.87 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/0.5733, allocations: 4.938 kB / 0.5411 GB, free: 78.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/0.5733, allocations: 2.406 kB / 0.5411 GB, free: 78.87 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004897/0.5738, allocations: 202.6 kB / 0.5413 GB, free: 78.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002131/0.574, allocations: 51.3 kB / 0.5413 GB, free: 78.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006194/0.5747, allocations: 0.7145 MB / 0.542 GB, free: 78.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002461/0.5749, allocations: 48.92 kB / 0.5421 GB, free: 78.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.687e-05/0.575, allocations: 15.22 kB / 0.5421 GB, free: 78.31 MB / 378.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.0001534/0.5751, allocations: 142.6 kB / 0.5422 GB, free: 78.19 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.688e-05/0.5752, allocations: 30.41 kB / 0.5422 GB, free: 78.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009365/0.5761, allocations: 441.9 kB / 0.5427 GB, free: 78.1 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.5762, allocations: 8.062 kB / 0.5427 GB, free: 78.1 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.5762, allocations: 1.594 kB / 0.5427 GB, free: 78.1 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.5762, allocations: 1.312 kB / 0.5427 GB, free: 78.1 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001536/0.5777, allocations: 0.9481 MB / 0.5436 GB, free: 77.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.5777, allocations: 1.062 kB / 0.5436 GB, free: 77.53 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002535/0.578, allocations: 59.08 kB / 0.5437 GB, free: 77.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004227/0.5784, allocations: 173.4 kB / 0.5438 GB, free: 77.46 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.385e-05/0.5785, allocations: 14.3 kB / 0.5438 GB, free: 77.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000554/0.579, allocations: 0.6813 MB / 0.5445 GB, free: 76.86 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.579, allocations: 0 / 0.5445 GB, free: 76.86 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/0.5802, allocations: 0.6565 MB / 0.5451 GB, free: 76.47 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001526/0.5803, allocations: 124.6 kB / 0.5453 GB, free: 76.35 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.639e-05/0.5804, allocations: 12.19 kB / 0.5453 GB, free: 76.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002743/0.5807, allocations: 50.41 kB / 0.5453 GB, free: 76.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000151/0.5808, allocations: 52.84 kB / 0.5454 GB, free: 76.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.255e-05/0.5809, allocations: 20.58 kB / 0.5454 GB, free: 76.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001334/0.581, allocations: 142.1 kB / 0.5455 GB, free: 76.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.581, allocations: 0 / 0.5455 GB, free: 76.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004902/0.5815, allocations: 80.28 kB / 0.5456 GB, free: 76.21 MB / 378.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.0002379/0.5818, allocations: 130 kB / 0.5457 GB, free: 76.11 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007545/0.5825, allocations: 327.4 kB / 0.546 GB, free: 75.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.5825, allocations: 4 kB / 0.546 GB, free: 75.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003452/0.5829, allocations: 166.7 kB / 0.5462 GB, free: 75.92 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/0.5832, allocations: 30.08 kB / 0.5462 GB, free: 75.9 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001912/0.5851, allocations: 0.9278 MB / 0.5471 GB, free: 75.42 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002194/0.5854, allocations: 0.7621 MB / 0.5479 GB, free: 74.71 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.656e-05/0.5855, allocations: 24.94 kB / 0.5479 GB, free: 74.7 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.653e-05/0.5855, allocations: 18.78 kB / 0.5479 GB, free: 74.69 MB / 378.7 MB Notification: Performance of SimCode: time 6.31e-07/0.5855, allocations: 0 / 0.5479 GB, free: 74.69 MB / 378.7 MB Notification: Performance of Templates: time 0.008249/0.5938, allocations: 4.357 MB / 0.5522 GB, free: 72.46 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.sim & ./ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe 2>&1)