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.005957/0.005957, allocations: 101.5 kB / 15.73 MB, free: 5.98 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.00139/0.00139, allocations: 190.5 kB / 16.67 MB, free: 5.918 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.475/1.475, allocations: 205.1 MB / 222.6 MB, free: 4.535 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.001112/0.001113, allocations: 50.14 kB / 326.5 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1217, allocations: 46.63 MB / 373.2 MB, free: 1.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.005101/0.1269, allocations: 2.407 MB / 375.6 MB, free: 14.91 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001496/0.1284, allocations: 0.6161 MB / 376.2 MB, free: 14.29 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001783/0.1286, allocations: 7.938 kB / 376.2 MB, free: 14.28 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002137/0.1288, allocations: 39.59 kB / 376.2 MB, free: 14.24 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002353/0.1291, allocations: 83.33 kB / 376.3 MB, free: 14.16 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002693/0.1294, allocations: 63.84 kB / 376.4 MB, free: 14.1 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004557/0.1298, allocations: 298.6 kB / 376.7 MB, free: 13.8 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003049/0.1302, allocations: 118.8 kB / 376.8 MB, free: 13.69 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00019/0.1304, allocations: 107.6 kB / 376.9 MB, free: 13.58 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002192/0.1306, allocations: 127.5 kB / 377 MB, free: 13.46 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.311e-05/0.1307, allocations: 24 kB / 377 MB, free: 13.43 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.194e-05/0.1307, allocations: 24 kB / 377.1 MB, free: 13.41 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.5e-05/0.1308, allocations: 51.83 kB / 377.1 MB, free: 13.36 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001935/0.131, allocations: 139.3 kB / 377.2 MB, free: 13.22 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004557/0.1315, allocations: 287 kB / 377.5 MB, free: 12.94 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.1315, allocations: 0 / 377.5 MB, free: 12.94 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1315, allocations: 0 / 377.5 MB, free: 12.94 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.1315, allocations: 0 / 377.5 MB, free: 12.94 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.001149/0.1327, allocations: 0.542 MB / 378.1 MB, free: 12.35 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.633e-05/0.1327, allocations: 8.031 kB / 378.1 MB, free: 12.34 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.656e-05/0.1328, allocations: 28.66 kB / 378.1 MB, free: 12.32 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005381/0.1334, allocations: 244.4 kB / 378.3 MB, free: 12.04 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.031e-05/0.1334, allocations: 24.88 kB / 378.4 MB, free: 12.02 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.899e-05/0.1335, allocations: 32.12 kB / 378.4 MB, free: 11.98 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006844/0.1342, allocations: 224.9 kB / 378.6 MB, free: 11.76 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.097e-05/0.1343, allocations: 11.89 kB / 378.6 MB, free: 11.75 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.92e-05/0.1343, allocations: 12 kB / 378.6 MB, free: 11.73 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.1343, allocations: 4 kB / 378.6 MB, free: 11.73 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000588/0.1349, allocations: 170.1 kB / 378.8 MB, free: 11.56 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001319/0.1363, allocations: 0.7539 MB / 379.6 MB, free: 10.75 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004888/0.1368, allocations: 226.4 kB / 379.8 MB, free: 10.52 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002177/0.137, allocations: 112.7 kB / 379.9 MB, free: 10.41 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.137, allocations: 8.438 kB / 379.9 MB, free: 10.4 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.1371, allocations: 34.56 kB / 379.9 MB, free: 10.36 MB / 318.1 MB Notification: Performance of pre-optimization done (n=26): time 1.874e-06/0.1371, allocations: 0 / 379.9 MB, free: 10.36 MB / 318.1 MB Notification: Performance of matching and sorting (n=28): time 0.002182/0.1393, allocations: 0.9501 MB / 380.9 MB, free: 9.316 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.148e-05/0.1393, allocations: 59.34 kB / 380.9 MB, free: 9.246 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001932/0.1395, allocations: 159.1 kB / 381.1 MB, free: 9.082 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.2e-05/0.1396, allocations: 33.7 kB / 381.1 MB, free: 9.043 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.1397, allocations: 140.5 kB / 381.3 MB, free: 8.902 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/0.1398, allocations: 102.5 kB / 381.4 MB, free: 8.801 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.1399, allocations: 53.56 kB / 381.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.1401, allocations: 334.8 kB / 381.8 MB, free: 8.406 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002355/0.1404, allocations: 75.97 kB / 381.8 MB, free: 8.332 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002715/0.1406, allocations: 111.2 kB / 381.9 MB, free: 8.211 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005347/0.1412, allocations: 207.3 kB / 382.1 MB, free: 7.996 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.1412, allocations: 4 kB / 382.1 MB, free: 7.992 MB / 318.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006327/0.1418, allocations: 261.4 kB / 382.4 MB, free: 7.73 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.1419, allocations: 4 kB / 382.4 MB, free: 7.727 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.1419, allocations: 0 / 382.4 MB, free: 7.727 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.48e-05/0.1419, allocations: 4 kB / 382.4 MB, free: 7.723 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003959/0.1423, allocations: 76 kB / 382.5 MB, free: 7.648 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.463e-05/0.1424, allocations: 3.984 kB / 382.5 MB, free: 7.645 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001677/0.1425, allocations: 12 kB / 382.5 MB, free: 7.633 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.611e-05/0.1426, allocations: 8 kB / 382.5 MB, free: 7.625 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.000168/0.1427, allocations: 145.7 kB / 382.6 MB, free: 7.473 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.588e-05/0.1428, allocations: 19.8 kB / 382.7 MB, free: 7.453 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.21e-05/0.1429, allocations: 26.56 kB / 382.7 MB, free: 7.426 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.1429, allocations: 11.94 kB / 382.7 MB, free: 7.414 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/0.1429, allocations: 0 / 382.7 MB, free: 7.414 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.143, allocations: 3.938 kB / 382.7 MB, free: 7.41 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001349/0.1443, allocations: 0.6532 MB / 383.4 MB, free: 6.695 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.1443, allocations: 0 / 383.4 MB, free: 6.695 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004358/0.1448, allocations: 75.95 kB / 383.4 MB, free: 6.621 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.785e-06/0.1448, allocations: 4 kB / 383.4 MB, free: 6.617 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.447e-05/0.1448, allocations: 4 kB / 383.4 MB, free: 6.613 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.765e-06/0.1448, allocations: 7.938 kB / 383.4 MB, free: 6.605 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.1449, allocations: 0 / 383.4 MB, free: 6.605 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009489/0.1458, allocations: 447.3 kB / 383.9 MB, free: 6.148 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.146e-05/0.1459, allocations: 96.91 kB / 384 MB, free: 6.035 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.004e-05/0.146, allocations: 4.062 kB / 384 MB, free: 6.031 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002041/0.1462, allocations: 15.94 kB / 384 MB, free: 6.016 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.26e-05/0.1463, allocations: 19.97 kB / 384 MB, free: 5.996 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.74e-05/0.1463, allocations: 4 kB / 384 MB, free: 5.992 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000121/0.1464, allocations: 119.2 kB / 384.1 MB, free: 5.875 MB / 318.1 MB Notification: Performance of sort global known variables: time 5e-07/0.1464, allocations: 4 kB / 384.1 MB, free: 5.871 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004886/0.1469, allocations: 56 kB / 384.2 MB, free: 5.816 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.0002046/0.1471, allocations: 111.1 kB / 384.3 MB, free: 5.699 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006845/0.1478, allocations: 203.7 kB / 384.5 MB, free: 5.5 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.1479, allocations: 0 / 384.5 MB, free: 5.5 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000258/0.1481, allocations: 108.1 kB / 384.6 MB, free: 5.395 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006787/0.1488, allocations: 56.02 kB / 384.7 MB, free: 5.34 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001976/0.1508, allocations: 0.7996 MB / 385.5 MB, free: 4.508 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004572/0.1513, allocations: 0.7561 MB / 386.2 MB, free: 3.723 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001299/0.1514, allocations: 21.94 kB / 386.2 MB, free: 3.699 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.282e-05/0.1515, allocations: 23.38 kB / 386.3 MB, free: 3.676 MB / 318.1 MB Notification: Performance of SimCode: time 8.01e-07/0.1515, allocations: 0 / 386.3 MB, free: 3.676 MB / 318.1 MB Notification: Performance of Templates: time 0.008119/0.1597, allocations: 2.193 MB / 388.5 MB, free: 1.48 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)