Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.Rotational.Examples.ElasticBearing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.ElasticBearing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Rotational.Examples.ElasticBearing") translateModel(Modelica.Mechanics.Rotational.Examples.ElasticBearing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Rotational.Examples.ElasticBearing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008661/0.008661, allocations: 99.83 kB / 15.73 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001532/0.001533, allocations: 189.4 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.596/1.596, allocations: 205.1 MB / 222.6 MB, free: 4.48 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 56.8 kB / 326.5 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1137, allocations: 46.63 MB / 373.2 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.003929/0.1177, allocations: 2.411 MB / 375.6 MB, free: 14.89 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001631/0.1194, allocations: 0.6161 MB / 376.2 MB, free: 14.26 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005694/0.12, allocations: 7.938 kB / 376.2 MB, free: 14.25 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003393/0.1204, allocations: 51.52 kB / 376.3 MB, free: 14.2 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004426/0.1208, allocations: 79.33 kB / 376.3 MB, free: 14.12 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003559/0.1212, allocations: 51.94 kB / 376.4 MB, free: 14.07 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005917/0.1218, allocations: 290.6 kB / 376.7 MB, free: 13.79 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003325/0.1221, allocations: 122.8 kB / 376.8 MB, free: 13.67 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002337/0.1224, allocations: 111.6 kB / 376.9 MB, free: 13.56 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002267/0.1226, allocations: 119.5 kB / 377 MB, free: 13.44 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.456e-05/0.1227, allocations: 24 kB / 377 MB, free: 13.42 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.297e-05/0.1227, allocations: 24 kB / 377.1 MB, free: 13.39 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.468e-05/0.1228, allocations: 55.83 kB / 377.1 MB, free: 13.34 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000176/0.123, allocations: 135.3 kB / 377.2 MB, free: 13.21 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005152/0.1235, allocations: 286.8 kB / 377.5 MB, free: 12.93 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.1235, allocations: 0 / 377.5 MB, free: 12.93 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.1236, allocations: 0 / 377.5 MB, free: 12.93 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.91e-05/0.1236, allocations: 0 / 377.5 MB, free: 12.93 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001003/0.1246, allocations: 0.5495 MB / 378.1 MB, free: 12.33 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.383e-05/0.1247, allocations: 15.97 kB / 378.1 MB, free: 12.31 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.256e-05/0.1248, allocations: 36.72 kB / 378.1 MB, free: 12.28 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004116/0.1252, allocations: 248.5 kB / 378.4 MB, free: 12 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.1252, allocations: 16.94 kB / 378.4 MB, free: 11.98 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.552e-05/0.1253, allocations: 36.08 kB / 378.4 MB, free: 11.95 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005553/0.1259, allocations: 224.9 kB / 378.6 MB, free: 11.72 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.545e-05/0.1259, allocations: 0 / 378.6 MB, free: 11.72 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.78e-05/0.1259, allocations: 12 kB / 378.6 MB, free: 11.71 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.489e-05/0.126, allocations: 8 kB / 378.7 MB, free: 11.7 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000449/0.1264, allocations: 174.1 kB / 378.8 MB, free: 11.53 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001513/0.1279, allocations: 0.7618 MB / 379.6 MB, free: 10.71 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005192/0.1285, allocations: 210.5 kB / 379.8 MB, free: 10.49 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002396/0.1287, allocations: 124.7 kB / 379.9 MB, free: 10.37 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.1288, allocations: 4.438 kB / 379.9 MB, free: 10.36 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.1288, allocations: 38.56 kB / 380 MB, free: 10.32 MB / 318.1 MB Notification: Performance of pre-optimization done (n=26): time 1.653e-06/0.1288, allocations: 0 / 380 MB, free: 10.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=28): time 0.001779/0.1306, allocations: 0.9544 MB / 380.9 MB, free: 9.273 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/0.1306, allocations: 51.41 kB / 381 MB, free: 9.211 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.1308, allocations: 155.1 kB / 381.1 MB, free: 9.051 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/0.1308, allocations: 29.7 kB / 381.1 MB, free: 9.016 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.131, allocations: 156.6 kB / 381.3 MB, free: 8.859 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.903e-05/0.131, allocations: 103.1 kB / 381.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.157e-05/0.1311, allocations: 57.56 kB / 381.5 MB, free: 8.695 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.1312, allocations: 334.8 kB / 381.8 MB, free: 8.359 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001738/0.1314, allocations: 71.95 kB / 381.9 MB, free: 8.289 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000207/0.1316, allocations: 115.2 kB / 382 MB, free: 8.164 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003743/0.132, allocations: 199.3 kB / 382.2 MB, free: 7.957 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.132, allocations: 0 / 382.2 MB, free: 7.957 MB / 318.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004634/0.1325, allocations: 265.4 kB / 382.4 MB, free: 7.691 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.1325, allocations: 8 kB / 382.4 MB, free: 7.684 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1325, allocations: 4.094 kB / 382.4 MB, free: 7.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.1326, allocations: 0 / 382.4 MB, free: 7.68 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003014/0.1329, allocations: 79.89 kB / 382.5 MB, free: 7.602 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.1329, allocations: 7.938 kB / 382.5 MB, free: 7.594 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/0.133, allocations: 8 kB / 382.5 MB, free: 7.586 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.812e-05/0.133, allocations: 11.98 kB / 382.5 MB, free: 7.574 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001291/0.1332, allocations: 145.7 kB / 382.7 MB, free: 7.422 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.035e-05/0.1332, allocations: 23.91 kB / 382.7 MB, free: 7.398 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.764e-05/0.1333, allocations: 26.56 kB / 382.7 MB, free: 7.371 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.1333, allocations: 0 / 382.7 MB, free: 7.371 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.1333, allocations: 0 / 382.7 MB, free: 7.371 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.1333, allocations: 11.91 kB / 382.7 MB, free: 7.359 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000945/0.1343, allocations: 0.6454 MB / 383.4 MB, free: 6.652 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.1343, allocations: 8.062 kB / 383.4 MB, free: 6.645 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003224/0.1346, allocations: 75.89 kB / 383.5 MB, free: 6.57 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.1346, allocations: 0 / 383.5 MB, free: 6.57 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.035e-05/0.1347, allocations: 8 kB / 383.5 MB, free: 6.562 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/0.1347, allocations: 7.938 kB / 383.5 MB, free: 6.555 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1347, allocations: 0 / 383.5 MB, free: 6.555 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007018/0.1354, allocations: 459.4 kB / 383.9 MB, free: 6.086 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.846e-05/0.1355, allocations: 92.97 kB / 384 MB, free: 5.977 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.378e-05/0.1355, allocations: 8.062 kB / 384 MB, free: 5.969 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.1357, allocations: 15.92 kB / 384 MB, free: 5.953 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.591e-05/0.1357, allocations: 11.98 kB / 384.1 MB, free: 5.941 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.1357, allocations: 16 kB / 384.1 MB, free: 5.926 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.67e-05/0.1358, allocations: 115.2 kB / 384.2 MB, free: 5.812 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1358, allocations: 0 / 384.2 MB, free: 5.812 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003043/0.1362, allocations: 60 kB / 384.2 MB, free: 5.754 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (shaft.phi,shaft.w,load.phi,load.w,springDamper.phi_rel,springDamper.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001445/0.1363, allocations: 111.2 kB / 384.4 MB, free: 5.637 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004622/0.1368, allocations: 191.8 kB / 384.5 MB, free: 5.449 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.1368, allocations: 8.188 kB / 384.5 MB, free: 5.441 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001951/0.137, allocations: 107.8 kB / 384.7 MB, free: 5.336 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004383/0.1374, allocations: 35.92 kB / 384.7 MB, free: 5.301 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.1388, allocations: 0.8224 MB / 385.5 MB, free: 4.445 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.1392, allocations: 0.7522 MB / 386.3 MB, free: 3.664 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.264e-05/0.1393, allocations: 17.95 kB / 386.3 MB, free: 3.645 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.907e-05/0.1393, allocations: 19.44 kB / 386.3 MB, free: 3.625 MB / 318.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1393, allocations: 3.938 kB / 386.3 MB, free: 3.621 MB / 318.1 MB Notification: Performance of Templates: time 0.005472/0.1448, allocations: 2.197 MB / 388.5 MB, free: 1.422 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile (rm -f Modelica_3.1_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & ./Modelica_3.1_Modelica.Mechanics.Rotational.Examples.ElasticBearing -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1)