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.005713/0.005713, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.00126/0.00126, allocations: 202.1 kB / 16.68 MB, free: 5.926 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.456/1.456, allocations: 205.1 MB / 222.5 MB, free: 4.496 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.001408/0.001409, allocations: 54.64 kB / 326.5 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1176, allocations: 46.62 MB / 373.2 MB, free: 1.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.003899/0.1215, allocations: 2.407 MB / 375.6 MB, free: 14.89 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001133/0.1227, allocations: 0.6201 MB / 376.2 MB, free: 14.27 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001314/0.1228, allocations: 4 kB / 376.2 MB, free: 14.26 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001588/0.123, allocations: 39.58 kB / 376.2 MB, free: 14.22 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000159/0.1232, allocations: 83.27 kB / 376.3 MB, free: 14.14 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001866/0.1234, allocations: 63.91 kB / 376.4 MB, free: 14.08 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003324/0.1237, allocations: 294.6 kB / 376.7 MB, free: 13.79 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002143/0.1239, allocations: 118.8 kB / 376.8 MB, free: 13.67 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.1241, allocations: 111.6 kB / 376.9 MB, free: 13.56 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001551/0.1242, allocations: 131.5 kB / 377 MB, free: 13.43 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.888e-05/0.1243, allocations: 24 kB / 377 MB, free: 13.41 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.086e-05/0.1243, allocations: 24 kB / 377.1 MB, free: 13.39 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.661e-05/0.1244, allocations: 43.84 kB / 377.1 MB, free: 13.34 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001326/0.1245, allocations: 143.3 kB / 377.2 MB, free: 13.2 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003145/0.1249, allocations: 291 kB / 377.5 MB, free: 12.92 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1249, allocations: 0 / 377.5 MB, free: 12.92 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1249, allocations: 0 / 377.5 MB, free: 12.92 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.1249, 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.0008757/0.1258, allocations: 0.5382 MB / 378.1 MB, free: 12.33 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.1258, allocations: 8.031 kB / 378.1 MB, free: 12.32 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.341e-05/0.1259, allocations: 28.66 kB / 378.1 MB, free: 12.3 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003785/0.1263, allocations: 240.4 kB / 378.3 MB, free: 12.02 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.67e-05/0.1263, allocations: 32.81 kB / 378.4 MB, free: 11.99 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.528e-05/0.1264, allocations: 28.12 kB / 378.4 MB, free: 11.96 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005014/0.1269, allocations: 228.9 kB / 378.6 MB, free: 11.73 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.394e-05/0.1269, allocations: 3.906 kB / 378.6 MB, free: 11.73 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.481e-05/0.1269, allocations: 12 kB / 378.6 MB, free: 11.72 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.127, allocations: 4 kB / 378.6 MB, free: 11.71 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004909/0.1275, allocations: 182.1 kB / 378.8 MB, free: 11.54 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001192/0.1287, allocations: 0.75 MB / 379.6 MB, free: 10.73 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004986/0.1292, allocations: 226.4 kB / 379.8 MB, free: 10.5 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002137/0.1294, allocations: 112.8 kB / 379.9 MB, free: 10.38 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.038e-05/0.1294, allocations: 4.438 kB / 379.9 MB, free: 10.38 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.1295, allocations: 34.56 kB / 379.9 MB, free: 10.34 MB / 318.1 MB Notification: Performance of pre-optimization done (n=26): time 2.174e-06/0.1295, allocations: 0 / 379.9 MB, free: 10.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=28): time 0.001722/0.1312, allocations: 0.9579 MB / 380.9 MB, free: 9.289 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/0.1312, allocations: 55.41 kB / 380.9 MB, free: 9.223 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.1314, allocations: 155.1 kB / 381.1 MB, free: 9.062 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.1314, allocations: 29.7 kB / 381.1 MB, free: 9.027 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.421e-05/0.1315, allocations: 140.5 kB / 381.3 MB, free: 8.887 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.83e-05/0.1316, allocations: 106.5 kB / 381.4 MB, free: 8.781 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.145e-05/0.1317, allocations: 53.56 kB / 381.4 MB, free: 8.723 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.1318, allocations: 330.8 kB / 381.7 MB, free: 8.391 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001747/0.132, allocations: 79.95 kB / 381.8 MB, free: 8.312 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001944/0.1322, allocations: 115.2 kB / 381.9 MB, free: 8.188 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004028/0.1326, allocations: 203.3 kB / 382.1 MB, free: 7.977 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.1326, allocations: 0 / 382.1 MB, free: 7.977 MB / 318.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005655/0.1332, allocations: 261.3 kB / 382.4 MB, free: 7.715 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.1332, allocations: 5.094 kB / 382.4 MB, free: 7.711 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.1332, allocations: 4 kB / 382.4 MB, free: 7.707 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.1333, allocations: 0 / 382.4 MB, free: 7.707 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002786/0.1336, allocations: 79.98 kB / 382.5 MB, free: 7.629 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.1336, allocations: 0 / 382.5 MB, free: 7.629 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001183/0.1337, allocations: 15.98 kB / 382.5 MB, free: 7.613 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.959e-05/0.1337, allocations: 12 kB / 382.5 MB, free: 7.602 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.0001359/0.1339, allocations: 141.7 kB / 382.6 MB, free: 7.453 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.104e-05/0.1339, allocations: 15.81 kB / 382.7 MB, free: 7.438 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.831e-05/0.134, allocations: 30.55 kB / 382.7 MB, free: 7.406 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.85e-06/0.134, allocations: 8 kB / 382.7 MB, free: 7.398 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.134, allocations: 0 / 382.7 MB, free: 7.398 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.134, allocations: 0 / 382.7 MB, free: 7.398 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001191/0.1352, allocations: 0.6531 MB / 383.3 MB, free: 6.684 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.034e-06/0.1352, allocations: 7.922 kB / 383.4 MB, free: 6.676 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003442/0.1356, allocations: 68.03 kB / 383.4 MB, free: 6.609 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/0.1356, allocations: 4 kB / 383.4 MB, free: 6.605 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.758e-05/0.1356, allocations: 4 kB / 383.4 MB, free: 6.602 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.491e-06/0.1356, allocations: 7.938 kB / 383.4 MB, free: 6.594 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.1356, allocations: 7.922 kB / 383.4 MB, free: 6.586 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007094/0.1364, allocations: 451.4 kB / 383.9 MB, free: 6.125 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.451e-05/0.1364, allocations: 92.98 kB / 384 MB, free: 6.016 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.92e-05/0.1365, allocations: 8 kB / 384 MB, free: 6.008 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.1366, allocations: 11.92 kB / 384 MB, free: 5.996 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.109e-05/0.1367, allocations: 19.97 kB / 384 MB, free: 5.977 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.1367, allocations: 8 kB / 384 MB, free: 5.969 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.745e-05/0.1368, allocations: 115.2 kB / 384.1 MB, free: 5.855 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.074e-06/0.1368, allocations: 4 kB / 384.1 MB, free: 5.852 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003016/0.1371, allocations: 63.94 kB / 384.2 MB, free: 5.789 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.0001237/0.1373, allocations: 103.2 kB / 384.3 MB, free: 5.68 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005021/0.1378, allocations: 203.7 kB / 384.5 MB, free: 5.48 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1378, allocations: 0 / 384.5 MB, free: 5.48 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002188/0.138, allocations: 112 kB / 384.6 MB, free: 5.371 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004036/0.1384, allocations: 43.97 kB / 384.7 MB, free: 5.328 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.1398, allocations: 0.8076 MB / 385.5 MB, free: 4.488 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003423/0.1401, allocations: 0.7522 MB / 386.2 MB, free: 3.707 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.952e-05/0.1402, allocations: 21.94 kB / 386.2 MB, free: 3.684 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.787e-05/0.1403, allocations: 19.44 kB / 386.3 MB, free: 3.664 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1403, allocations: 0 / 386.3 MB, free: 3.664 MB / 318.1 MB Notification: Performance of Templates: time 0.005499/0.1458, allocations: 2.263 MB / 388.5 MB, free: 1.398 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)