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.00123/0.00123, allocations: 90.72 kB / 16.65 MB, free: 6.535 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.001611/0.001611, allocations: 177 kB / 17.56 MB, free: 6.18 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.567/1.567, allocations: 205.4 MB / 223.7 MB, free: 13.06 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.0004603/0.0004605, allocations: 8 kB / 280.7 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1185, allocations: 47.59 MB / 328.3 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.002686/0.1213, allocations: 2.106 MB / 330.4 MB, free: 1.633 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009875/0.1223, allocations: 0.6087 MB / 331 MB, free: 1.016 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001251/0.1224, allocations: 4 kB / 331 MB, free: 1.012 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001369/0.1226, allocations: 27.77 kB / 331.1 MB, free: 0.9844 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001518/0.1227, allocations: 63.47 kB / 331.1 MB, free: 0.9219 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001733/0.1229, allocations: 59.94 kB / 331.2 MB, free: 0.8633 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003022/0.1232, allocations: 286.7 kB / 331.5 MB, free: 0.582 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002154/0.1234, allocations: 87.48 kB / 331.5 MB, free: 0.5 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.1236, allocations: 95.59 kB / 331.6 MB, free: 416 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001293/0.1237, allocations: 103.5 kB / 331.7 MB, free: 312 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.422e-05/0.1238, allocations: 16 kB / 331.8 MB, free: 296 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.477e-05/0.1238, allocations: 12 kB / 331.8 MB, free: 284 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.136e-05/0.1238, allocations: 51.75 kB / 331.8 MB, free: 232 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001243/0.124, allocations: 141.1 kB / 332 MB, free: 84 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002726/0.1242, allocations: 271.2 kB / 332.2 MB, free: 15.82 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1243, allocations: 0 / 332.2 MB, free: 15.82 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.767e-06/0.1243, allocations: 3.938 kB / 332.2 MB, free: 15.81 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.1243, allocations: 3.938 kB / 332.2 MB, free: 15.81 MB / 286.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.0007544/0.1251, allocations: 0.507 MB / 332.7 MB, free: 15.25 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.1251, allocations: 8.031 kB / 332.7 MB, free: 15.25 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.64e-05/0.1252, allocations: 32.56 kB / 332.8 MB, free: 15.21 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000274/0.1255, allocations: 244.4 kB / 333 MB, free: 14.94 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.331e-05/0.1255, allocations: 20.94 kB / 333 MB, free: 14.92 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.277e-05/0.1255, allocations: 28.12 kB / 333.1 MB, free: 14.89 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005044/0.1261, allocations: 228.9 kB / 333.3 MB, free: 14.66 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.1261, allocations: 4 kB / 333.3 MB, free: 14.66 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.739e-05/0.1261, allocations: 15.98 kB / 333.3 MB, free: 14.64 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.1261, allocations: 4 kB / 333.3 MB, free: 14.64 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003972/0.1265, allocations: 186.1 kB / 333.5 MB, free: 14.45 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001155/0.1277, allocations: 0.7695 MB / 334.3 MB, free: 13.63 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005087/0.1282, allocations: 230.4 kB / 334.5 MB, free: 13.39 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002306/0.1285, allocations: 116.8 kB / 334.6 MB, free: 13.28 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.1285, allocations: 4 kB / 334.6 MB, free: 13.27 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.1285, allocations: 34.56 kB / 334.6 MB, free: 13.23 MB / 286.1 MB Notification: Performance of pre-optimization done (n=26): time 1.533e-06/0.1285, allocations: 4 kB / 334.6 MB, free: 13.23 MB / 286.1 MB Notification: Performance of matching and sorting (n=28): time 0.001776/0.1303, allocations: 0.9924 MB / 335.6 MB, free: 12.14 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.1304, allocations: 51.41 kB / 335.7 MB, free: 12.08 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.1305, allocations: 167 kB / 335.8 MB, free: 11.91 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.1306, allocations: 29.7 kB / 335.9 MB, free: 11.88 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.1307, allocations: 148.6 kB / 336 MB, free: 11.72 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.083e-05/0.1307, allocations: 94.56 kB / 336.1 MB, free: 11.63 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.48e-05/0.1308, allocations: 33.7 kB / 336.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.1309, allocations: 334.8 kB / 336.5 MB, free: 11.25 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002224/0.1312, allocations: 71.97 kB / 336.5 MB, free: 11.18 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002166/0.1314, allocations: 123.2 kB / 336.7 MB, free: 11.05 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004598/0.1319, allocations: 211.3 kB / 336.9 MB, free: 10.83 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1319, allocations: 0 / 336.9 MB, free: 10.83 MB / 286.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005185/0.1324, allocations: 273.4 kB / 337.1 MB, free: 10.56 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.1324, allocations: 8 kB / 337.1 MB, free: 10.55 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.1324, allocations: 8 kB / 337.2 MB, free: 10.54 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.1325, allocations: 0 / 337.2 MB, free: 10.54 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002739/0.1327, allocations: 83.83 kB / 337.2 MB, free: 10.46 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.1328, allocations: 4 kB / 337.2 MB, free: 10.46 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.1329, allocations: 12 kB / 337.3 MB, free: 10.45 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.501e-05/0.1329, allocations: 8 kB / 337.3 MB, free: 10.44 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.0001422/0.1331, allocations: 153.6 kB / 337.4 MB, free: 10.28 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.1331, allocations: 23.75 kB / 337.4 MB, free: 10.25 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.763e-05/0.1332, allocations: 26.56 kB / 337.5 MB, free: 10.23 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.1332, allocations: 0 / 337.5 MB, free: 10.23 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.1332, allocations: 0 / 337.5 MB, free: 10.23 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.1332, allocations: 3.984 kB / 337.5 MB, free: 10.23 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009634/0.1342, allocations: 0.6638 MB / 338.1 MB, free: 9.5 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.1342, allocations: 0 / 338.1 MB, free: 9.5 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003174/0.1345, allocations: 83.95 kB / 338.2 MB, free: 9.418 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.1345, allocations: 0 / 338.2 MB, free: 9.418 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/0.1346, allocations: 8 kB / 338.2 MB, free: 9.41 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/0.1346, allocations: 7.938 kB / 338.2 MB, free: 9.402 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.1346, allocations: 0 / 338.2 MB, free: 9.402 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007425/0.1353, allocations: 455.1 kB / 338.7 MB, free: 8.938 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.682e-05/0.1354, allocations: 92.91 kB / 338.8 MB, free: 8.828 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.513e-05/0.1354, allocations: 8.062 kB / 338.8 MB, free: 8.82 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.1356, allocations: 23.92 kB / 338.8 MB, free: 8.797 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.363e-05/0.1357, allocations: 11.98 kB / 338.8 MB, free: 8.785 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.1357, allocations: 8 kB / 338.8 MB, free: 8.777 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.924e-05/0.1358, allocations: 119.2 kB / 338.9 MB, free: 8.66 MB / 286.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.1358, allocations: 0 / 338.9 MB, free: 8.66 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003005/0.1361, allocations: 56 kB / 339 MB, free: 8.605 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.0001582/0.1363, allocations: 103.2 kB / 339.1 MB, free: 8.492 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000486/0.1368, allocations: 213.7 kB / 339.3 MB, free: 8.285 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.1368, allocations: 0 / 339.3 MB, free: 8.285 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002248/0.137, allocations: 116.1 kB / 339.4 MB, free: 8.172 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005288/0.1376, allocations: 47.33 kB / 339.5 MB, free: 8.129 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/0.1392, allocations: 1.027 MB / 340.5 MB, free: 7.074 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004327/0.1397, allocations: 0.7486 MB / 341.2 MB, free: 6.297 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 9.371e-05/0.1398, allocations: 25.94 kB / 341.3 MB, free: 6.27 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.762e-05/0.1398, allocations: 19.44 kB / 341.3 MB, free: 6.25 MB / 286.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1398, allocations: 0 / 341.3 MB, free: 6.25 MB / 286.1 MB Notification: Performance of Templates: time 0.005323/0.1452, allocations: 1.977 MB / 343.2 MB, free: 4.277 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)