Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Mechanics.Rotational.Examples.ElasticBearing") translateModel(Modelica.Mechanics.Rotational.Examples.ElasticBearing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.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.006572/0.006572, allocations: 101.6 kB / 15.73 MB, free: 6.457 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.001202/0.001202, allocations: 204.4 kB / 16.68 MB, free: 6.355 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.534/1.534, allocations: 205.1 MB / 222.6 MB, free: 4.566 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.001403/0.001403, allocations: 49.27 kB / 326.5 MB, free: 14.31 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.118, allocations: 46.63 MB / 373.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.004192/0.1222, allocations: 2.407 MB / 375.6 MB, free: 14.9 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001126/0.1234, allocations: 0.624 MB / 376.2 MB, free: 14.27 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001462/0.1236, allocations: 4 kB / 376.2 MB, free: 14.26 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001774/0.1238, allocations: 35.59 kB / 376.2 MB, free: 14.23 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001666/0.1239, allocations: 87.27 kB / 376.3 MB, free: 14.14 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001803/0.1241, allocations: 55.92 kB / 376.4 MB, free: 14.09 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003253/0.1244, allocations: 310.5 kB / 376.7 MB, free: 13.78 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002089/0.1247, allocations: 110.8 kB / 376.8 MB, free: 13.67 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.1248, allocations: 103.6 kB / 376.9 MB, free: 13.57 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001454/0.125, allocations: 135.4 kB / 377 MB, free: 13.44 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.888e-05/0.125, allocations: 24 kB / 377 MB, free: 13.41 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.723e-05/0.1251, allocations: 24 kB / 377.1 MB, free: 13.39 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.153e-05/0.1251, allocations: 51.83 kB / 377.1 MB, free: 13.34 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.1252, allocations: 143.3 kB / 377.3 MB, free: 13.2 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003287/0.1256, allocations: 286.8 kB / 377.5 MB, free: 12.92 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1256, allocations: 0 / 377.5 MB, free: 12.92 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1256, allocations: 0 / 377.5 MB, free: 12.92 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.1256, allocations: 0 / 377.5 MB, free: 12.92 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.0008559/0.1265, allocations: 0.5495 MB / 378.1 MB, free: 12.32 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.1265, allocations: 8.031 kB / 378.1 MB, free: 12.31 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.727e-05/0.1266, allocations: 28.8 kB / 378.1 MB, free: 12.29 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003537/0.127, allocations: 240.5 kB / 378.4 MB, free: 12.01 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/0.127, allocations: 24.88 kB / 378.4 MB, free: 11.99 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.581e-05/0.1271, allocations: 32.08 kB / 378.4 MB, free: 11.96 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004535/0.1275, allocations: 232.8 kB / 378.6 MB, free: 11.72 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.1275, allocations: 0 / 378.6 MB, free: 11.72 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.86e-05/0.1276, allocations: 15.98 kB / 378.7 MB, free: 11.71 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.1276, allocations: 4 kB / 378.7 MB, free: 11.7 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003891/0.128, allocations: 174.1 kB / 378.8 MB, free: 11.53 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001205/0.1292, allocations: 0.7657 MB / 379.6 MB, free: 10.71 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005047/0.1297, allocations: 210.5 kB / 379.8 MB, free: 10.49 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002119/0.13, allocations: 112.8 kB / 379.9 MB, free: 10.38 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.13, allocations: 4.438 kB / 379.9 MB, free: 10.38 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.91e-05/0.13, allocations: 38.5 kB / 380 MB, free: 10.33 MB / 318.1 MB Notification: Performance of pre-optimization done (n=26): time 1.423e-06/0.13, allocations: 0 / 380 MB, free: 10.33 MB / 318.1 MB Notification: Performance of matching and sorting (n=28): time 0.00174/0.1318, allocations: 0.9622 MB / 380.9 MB, free: 9.277 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.1318, allocations: 55.41 kB / 381 MB, free: 9.211 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.132, allocations: 151.1 kB / 381.1 MB, free: 9.055 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.132, allocations: 33.7 kB / 381.2 MB, free: 9.016 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.914e-05/0.1321, allocations: 148.7 kB / 381.3 MB, free: 8.867 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.9e-05/0.1322, allocations: 103.1 kB / 381.4 MB, free: 8.766 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.958e-05/0.1323, allocations: 53.56 kB / 381.5 MB, free: 8.707 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.1324, allocations: 330.8 kB / 381.8 MB, free: 8.375 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001755/0.1326, allocations: 83.95 kB / 381.9 MB, free: 8.293 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000217/0.1328, allocations: 119.2 kB / 382 MB, free: 8.164 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003783/0.1332, allocations: 199.3 kB / 382.2 MB, free: 7.957 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.1332, allocations: 4 kB / 382.2 MB, free: 7.953 MB / 318.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004686/0.1337, allocations: 261.4 kB / 382.4 MB, free: 7.691 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.1337, allocations: 7.984 kB / 382.4 MB, free: 7.684 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.1338, allocations: 0 / 382.4 MB, free: 7.684 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.1338, allocations: 4 kB / 382.4 MB, free: 7.68 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002743/0.1341, allocations: 80 kB / 382.5 MB, free: 7.602 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.1341, allocations: 0 / 382.5 MB, free: 7.602 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.1342, allocations: 19.92 kB / 382.5 MB, free: 7.582 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.658e-05/0.1342, allocations: 4 kB / 382.5 MB, free: 7.578 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.0001381/0.1344, allocations: 145.7 kB / 382.7 MB, free: 7.426 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.188e-05/0.1344, allocations: 15.91 kB / 382.7 MB, free: 7.41 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.482e-05/0.1345, allocations: 30.55 kB / 382.7 MB, free: 7.379 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.1345, allocations: 8 kB / 382.7 MB, free: 7.371 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.1345, allocations: 0 / 382.7 MB, free: 7.371 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.1345, allocations: 0 / 382.7 MB, free: 7.371 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009579/0.1355, allocations: 0.657 MB / 383.4 MB, free: 6.652 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.1355, allocations: 0 / 383.4 MB, free: 6.652 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003246/0.1358, allocations: 79.95 kB / 383.5 MB, free: 6.574 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.1358, allocations: 4 kB / 383.5 MB, free: 6.57 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.92e-05/0.1359, allocations: 4 kB / 383.5 MB, free: 6.566 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/0.1359, allocations: 7.938 kB / 383.5 MB, free: 6.559 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1359, allocations: 0 / 383.5 MB, free: 6.559 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006974/0.1366, allocations: 447.5 kB / 383.9 MB, free: 6.102 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.551e-05/0.1366, allocations: 101 kB / 384 MB, free: 5.984 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.015e-05/0.1367, allocations: 4.062 kB / 384 MB, free: 5.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/0.1368, allocations: 19.88 kB / 384 MB, free: 5.961 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.918e-05/0.1369, allocations: 15.97 kB / 384.1 MB, free: 5.945 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.432e-05/0.1369, allocations: 8 kB / 384.1 MB, free: 5.938 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.994e-05/0.137, allocations: 119.2 kB / 384.2 MB, free: 5.82 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.137, allocations: 4 kB / 384.2 MB, free: 5.816 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002914/0.1373, allocations: 56 kB / 384.2 MB, free: 5.762 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.0001368/0.1374, allocations: 111.2 kB / 384.4 MB, free: 5.645 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004578/0.1379, allocations: 199.8 kB / 384.5 MB, free: 5.449 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1379, allocations: 0 / 384.5 MB, free: 5.449 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001959/0.1381, allocations: 112.1 kB / 384.7 MB, free: 5.34 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004066/0.1385, allocations: 51.92 kB / 384.7 MB, free: 5.289 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001335/0.1399, allocations: 0.8027 MB / 385.5 MB, free: 4.453 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/0.1402, allocations: 0.7522 MB / 386.3 MB, free: 3.672 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.056e-05/0.1403, allocations: 25.92 kB / 386.3 MB, free: 3.645 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5e-05/0.1404, allocations: 19.44 kB / 386.3 MB, free: 3.625 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1404, allocations: 0 / 386.3 MB, free: 3.625 MB / 318.1 MB Notification: Performance of Templates: time 0.005333/0.1457, allocations: 2.193 MB / 388.5 MB, free: 1.43 MB / 318.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & ./Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.ElasticBearing -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1)