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.000925/0.000925, allocations: 187.3 kB / 7.654 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.516/1.516, allocations: 194.3 MB / 202.4 MB, free: 8.477 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.001649/0.001649, allocations: 108.7 kB / 247.4 MB, free: 6.219 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2261/0.2261, allocations: 39.94 MB / 332.2 MB, free: 4.773 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.808e-05/1.812e-05, allocations: 0 / 393.3 MB, free: 75.55 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1156, allocations: 54.87 MB / 448.2 MB, free: 20.66 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.43/0.5457, allocations: 82.52 MB / 0.5183 GB, free: 10.25 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002172/0.5459, allocations: 73.36 kB / 0.5183 GB, free: 10.25 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01063/0.5566, allocations: 4.272 MB / 0.5225 GB, free: 8.781 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.5566, allocations: 0 / 0.5225 GB, free: 8.781 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.231e-05/0.5566, allocations: 11.72 kB / 0.5225 GB, free: 8.777 MB / 346.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.0006783/0.5573, allocations: 0.5037 MB / 0.523 GB, free: 8.332 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.5574, allocations: 7.781 kB / 0.523 GB, free: 8.332 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.431e-05/0.5574, allocations: 23.28 kB / 0.523 GB, free: 8.32 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002216/0.5576, allocations: 240.1 kB / 0.5233 GB, free: 8.09 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.636e-05/0.5577, allocations: 7.781 kB / 0.5233 GB, free: 8.09 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.693e-05/0.5577, allocations: 15.28 kB / 0.5233 GB, free: 8.09 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003071/0.558, allocations: 186 kB / 0.5235 GB, free: 8.07 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003212/0.5584, allocations: 213.4 kB / 0.5237 GB, free: 8 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.5584, allocations: 7.891 kB / 0.5237 GB, free: 7.992 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.579e-05/0.5584, allocations: 0 / 0.5237 GB, free: 7.992 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.5584, allocations: 7.875 kB / 0.5237 GB, free: 7.988 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/0.5595, allocations: 0.6461 MB / 0.5243 GB, free: 7.59 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002707/0.5598, allocations: 203.8 kB / 0.5245 GB, free: 7.547 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001534/0.56, allocations: 125.4 kB / 0.5246 GB, free: 7.531 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.8e-05/0.56, allocations: 4.109 kB / 0.5246 GB, free: 7.531 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/0.56, allocations: 37.83 kB / 0.5247 GB, free: 7.492 MB / 346.7 MB Notification: Performance of pre-optimization done (n=27): time 1.482e-06/0.56, allocations: 0 / 0.5247 GB, free: 7.492 MB / 346.7 MB Notification: Performance of matching and sorting (n=35): time 0.001952/0.562, allocations: 1.1 MB / 0.5257 GB, free: 6.863 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.135e-05/0.562, allocations: 63.16 kB / 0.5258 GB, free: 6.793 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.491e-05/0.5621, allocations: 141.9 kB / 0.5259 GB, free: 6.691 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.902e-05/0.5622, allocations: 33.3 kB / 0.526 GB, free: 6.66 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.385e-05/0.5622, allocations: 126.8 kB / 0.5261 GB, free: 6.551 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.733e-05/0.5623, allocations: 118.5 kB / 0.5262 GB, free: 6.465 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.718e-05/0.5623, allocations: 0 / 0.5262 GB, free: 6.465 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.944e-05/0.5624, allocations: 333.5 kB / 0.5265 GB, free: 6.141 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/0.5625, allocations: 96.22 kB / 0.5266 GB, free: 6.141 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001547/0.5627, allocations: 135.7 kB / 0.5267 GB, free: 6.102 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000192/0.5629, allocations: 107.1 kB / 0.5268 GB, free: 6.074 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.5629, allocations: 3.844 kB / 0.5268 GB, free: 6.074 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005441/0.5634, allocations: 353.1 kB / 0.5272 GB, free: 5.988 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.5635, allocations: 7.812 kB / 0.5272 GB, free: 5.988 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.5635, allocations: 3.984 kB / 0.5272 GB, free: 5.984 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003498/0.5638, allocations: 193.3 kB / 0.5274 GB, free: 5.934 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001902/0.564, allocations: 50.12 kB / 0.5274 GB, free: 5.922 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005553/0.5646, allocations: 0.7297 MB / 0.5281 GB, free: 5.375 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002244/0.5648, allocations: 46.86 kB / 0.5282 GB, free: 5.359 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.405e-05/0.5649, allocations: 14.95 kB / 0.5282 GB, free: 5.355 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 ($PRE.bearingFriction1.startForward,bearingFriction1.startForward,$PRE.bearingFriction1.startBackward,bearingFriction1.startBackward,bearingFriction1.locked,$PRE.bearingFriction1.mode,bearingFriction1.mode,bearingFriction1.free) * Number of discrete 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.0001261/0.565, allocations: 120.5 kB / 0.5283 GB, free: 5.238 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.62e-05/0.5651, allocations: 23.3 kB / 0.5283 GB, free: 5.227 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007353/0.5658, allocations: 404.8 kB / 0.5287 GB, free: 5.086 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.5658, allocations: 3.938 kB / 0.5287 GB, free: 5.086 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.5658, allocations: 0 / 0.5287 GB, free: 5.086 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.5659, allocations: 7.984 kB / 0.5287 GB, free: 5.078 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/0.5669, allocations: 0.8486 MB / 0.5296 GB, free: 4.602 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.567, allocations: 0 / 0.5296 GB, free: 4.602 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002123/0.5672, allocations: 57.83 kB / 0.5296 GB, free: 4.586 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002648/0.5674, allocations: 170.1 kB / 0.5298 GB, free: 4.535 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.3e-05/0.5675, allocations: 7.188 kB / 0.5298 GB, free: 4.535 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004615/0.568, allocations: 0.6882 MB / 0.5305 GB, free: 3.984 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.568, allocations: 0 / 0.5305 GB, free: 3.984 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007592/0.5687, allocations: 0.598 MB / 0.531 GB, free: 3.723 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.711e-05/0.5688, allocations: 127.2 kB / 0.5312 GB, free: 3.602 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.72e-05/0.5689, allocations: 14.92 kB / 0.5312 GB, free: 3.594 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002486/0.5691, allocations: 43.08 kB / 0.5312 GB, free: 3.582 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.5693, allocations: 58.62 kB / 0.5313 GB, free: 3.551 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.326e-05/0.5693, allocations: 11.31 kB / 0.5313 GB, free: 3.547 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.75e-05/0.5694, allocations: 124.6 kB / 0.5314 GB, free: 3.461 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5694, allocations: 0 / 0.5314 GB, free: 3.461 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003276/0.5697, allocations: 69.91 kB / 0.5315 GB, free: 3.453 MB / 346.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) * 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.0001729/0.5699, allocations: 125.7 kB / 0.5316 GB, free: 3.355 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004767/0.5704, allocations: 293.9 kB / 0.5319 GB, free: 3.301 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.5704, allocations: 0 / 0.5319 GB, free: 3.301 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002131/0.5706, allocations: 144 kB / 0.532 GB, free: 3.281 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002739/0.5709, allocations: 23.59 kB / 0.532 GB, free: 3.273 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.5723, allocations: 0.6593 MB / 0.5327 GB, free: 2.707 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001963/0.5725, allocations: 0.7602 MB / 0.5334 GB, free: 1.922 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.217e-05/0.5726, allocations: 18.06 kB / 0.5334 GB, free: 1.906 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.419e-05/0.5727, allocations: 19.44 kB / 0.5335 GB, free: 1.887 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5727, allocations: 0 / 0.5335 GB, free: 1.887 MB / 346.7 MB Notification: Performance of Templates: time 0.006996/0.5797, allocations: 4.131 MB / 0.5375 GB, free: 13.78 MB / 362.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)