Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Mechanics.Rotational.Examples.ElasticBearing") translateModel(Modelica.Mechanics.Rotational.Examples.ElasticBearing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001619/0.001619, allocations: 112.5 kB / 16.51 MB, free: 6.707 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.002068/0.002069, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.5/1.5, allocations: 205.1 MB / 223.3 MB, free: 12.48 MB / 190.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.001305/0.001305, allocations: 51.92 kB / 279.3 MB, free: 3.582 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1191, allocations: 46.62 MB / 326 MB, free: 4.898 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.004398/0.1236, allocations: 2.46 MB / 328.4 MB, free: 2.414 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.1247, allocations: 0.6164 MB / 329 MB, free: 1.789 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001544/0.1249, allocations: 4 kB / 329 MB, free: 1.785 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000195/0.1251, allocations: 39.7 kB / 329.1 MB, free: 1.746 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001502/0.1252, allocations: 59.47 kB / 329.1 MB, free: 1.688 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002399/0.1255, allocations: 59.94 kB / 329.2 MB, free: 1.629 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004717/0.126, allocations: 286.7 kB / 329.5 MB, free: 1.348 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003058/0.1263, allocations: 91.48 kB / 329.6 MB, free: 1.262 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.1264, allocations: 99.59 kB / 329.7 MB, free: 1.164 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001647/0.1266, allocations: 119.5 kB / 329.8 MB, free: 1.047 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.426e-05/0.1266, allocations: 20 kB / 329.8 MB, free: 1.027 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.393e-05/0.1267, allocations: 16 kB / 329.8 MB, free: 1.012 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.881e-05/0.1267, allocations: 47.84 kB / 329.9 MB, free: 0.9648 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001299/0.1269, allocations: 131.3 kB / 330 MB, free: 0.8359 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000313/0.1272, allocations: 275.2 kB / 330.2 MB, free: 0.5664 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1272, allocations: 0 / 330.2 MB, free: 0.5664 MB / 270.1 MB Notification: Performance of FrontEnd: time 7.82e-07/0.1272, allocations: 0 / 330.2 MB, free: 0.5664 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.1272, allocations: 0 / 330.2 MB, free: 0.5664 MB / 270.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.0008854/0.1281, allocations: 0.5423 MB / 330.8 MB, free: 15.97 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.1281, allocations: 8.031 kB / 330.8 MB, free: 15.96 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.439e-05/0.1282, allocations: 32.56 kB / 330.8 MB, free: 15.93 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002547/0.1285, allocations: 236.5 kB / 331.1 MB, free: 15.66 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.1285, allocations: 20.94 kB / 331.1 MB, free: 15.64 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.367e-05/0.1286, allocations: 32.03 kB / 331.1 MB, free: 15.61 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004638/0.129, allocations: 224.9 kB / 331.3 MB, free: 15.39 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/0.1291, allocations: 0 / 331.3 MB, free: 15.39 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.565e-05/0.1291, allocations: 12 kB / 331.3 MB, free: 15.38 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.1291, allocations: 4 kB / 331.3 MB, free: 15.37 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003993/0.1295, allocations: 186.1 kB / 331.5 MB, free: 15.19 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001224/0.1307, allocations: 0.7539 MB / 332.3 MB, free: 14.38 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005037/0.1313, allocations: 214.5 kB / 332.5 MB, free: 14.16 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003875/0.1317, allocations: 120.8 kB / 332.6 MB, free: 14.04 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.1317, allocations: 4 kB / 332.6 MB, free: 14.04 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.1317, allocations: 34.56 kB / 332.7 MB, free: 13.99 MB / 286.1 MB Notification: Performance of pre-optimization done (n=26): time 1.252e-06/0.1317, allocations: 0 / 332.7 MB, free: 13.99 MB / 286.1 MB Notification: Performance of matching and sorting (n=28): time 0.001799/0.1335, allocations: 0.9651 MB / 333.6 MB, free: 12.94 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/0.1336, allocations: 55.41 kB / 333.7 MB, free: 12.87 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.1337, allocations: 155.1 kB / 333.8 MB, free: 12.71 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.1338, allocations: 33.7 kB / 333.9 MB, free: 12.67 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.731e-05/0.1339, allocations: 140.5 kB / 334 MB, free: 12.53 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.508e-05/0.1339, allocations: 102.5 kB / 334.1 MB, free: 12.43 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.21e-05/0.134, allocations: 61.58 kB / 334.2 MB, free: 12.36 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.1342, allocations: 330.8 kB / 334.5 MB, free: 12.03 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001777/0.1343, allocations: 75.95 kB / 334.5 MB, free: 11.95 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000199/0.1345, allocations: 115.2 kB / 334.7 MB, free: 11.83 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003752/0.1349, allocations: 199.3 kB / 334.9 MB, free: 11.62 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.1349, allocations: 0 / 334.9 MB, free: 11.62 MB / 286.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004652/0.1354, allocations: 261.4 kB / 335.1 MB, free: 11.36 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.1354, allocations: 8 kB / 335.1 MB, free: 11.35 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.1354, allocations: 3.938 kB / 335.1 MB, free: 11.35 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.1355, allocations: 4 kB / 335.1 MB, free: 11.34 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002849/0.1358, allocations: 71.95 kB / 335.2 MB, free: 11.27 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.1358, allocations: 7.938 kB / 335.2 MB, free: 11.27 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.1359, allocations: 15.97 kB / 335.2 MB, free: 11.25 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.1359, allocations: 8 kB / 335.2 MB, free: 11.24 MB / 286.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.0001454/0.1361, allocations: 149.7 kB / 335.4 MB, free: 11.09 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.156e-05/0.1361, allocations: 15.81 kB / 335.4 MB, free: 11.07 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.693e-05/0.1362, allocations: 30.55 kB / 335.4 MB, free: 11.04 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.1362, allocations: 4 kB / 335.4 MB, free: 11.04 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.1362, allocations: 0 / 335.4 MB, free: 11.04 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.1362, allocations: 0 / 335.4 MB, free: 11.04 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/0.1374, allocations: 0.6521 MB / 336.1 MB, free: 10.32 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1374, allocations: 0 / 336.1 MB, free: 10.32 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003286/0.1377, allocations: 75.89 kB / 336.1 MB, free: 10.25 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.199e-06/0.1378, allocations: 4 kB / 336.2 MB, free: 10.25 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.1378, allocations: 4 kB / 336.2 MB, free: 10.24 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.1378, allocations: 7.938 kB / 336.2 MB, free: 10.23 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.1378, allocations: 3.984 kB / 336.2 MB, free: 10.23 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008303/0.1386, allocations: 435.3 kB / 336.6 MB, free: 9.785 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001685/0.1388, allocations: 96.83 kB / 336.7 MB, free: 9.672 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.006e-05/0.1389, allocations: 4.062 kB / 336.7 MB, free: 9.668 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.139, allocations: 19.92 kB / 336.7 MB, free: 9.648 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.248e-05/0.1391, allocations: 19.97 kB / 336.7 MB, free: 9.629 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.1391, allocations: 8 kB / 336.7 MB, free: 9.621 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.635e-05/0.1392, allocations: 119.2 kB / 336.9 MB, free: 9.504 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1392, allocations: 0 / 336.9 MB, free: 9.504 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002981/0.1395, allocations: 56 kB / 336.9 MB, free: 9.449 MB / 286.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.0001355/0.1396, allocations: 107.1 kB / 337 MB, free: 9.332 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000448/0.1401, allocations: 205.6 kB / 337.2 MB, free: 9.133 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1401, allocations: 3.938 kB / 337.2 MB, free: 9.129 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002046/0.1403, allocations: 107.9 kB / 337.3 MB, free: 9.023 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005054/0.1408, allocations: 37.05 kB / 337.4 MB, free: 8.988 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001533/0.1424, allocations: 0.9111 MB / 338.3 MB, free: 8.047 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003385/0.1427, allocations: 0.7486 MB / 339 MB, free: 7.273 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.65e-05/0.1428, allocations: 21.94 kB / 339 MB, free: 7.25 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.538e-05/0.1429, allocations: 23.44 kB / 339.1 MB, free: 7.227 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1429, allocations: 0 / 339.1 MB, free: 7.227 MB / 286.1 MB Notification: Performance of Templates: time 0.005041/0.1479, allocations: 2.004 MB / 341.1 MB, free: 5.227 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & ./Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.ElasticBearing -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1)