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.008063/0.008063, allocations: 99.23 kB / 15.73 MB, free: 5.953 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.001421/0.001421, allocations: 198.9 kB / 16.68 MB, free: 5.887 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.608/1.608, allocations: 205.1 MB / 222.5 MB, free: 4.48 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.001293/0.001293, allocations: 51.25 kB / 326.5 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1124, allocations: 46.62 MB / 373.2 MB, free: 1.332 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.005273/0.1177, allocations: 2.411 MB / 375.6 MB, free: 14.9 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001672/0.1195, allocations: 0.6161 MB / 376.2 MB, free: 14.28 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003294/0.1198, allocations: 4 kB / 376.2 MB, free: 14.27 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002512/0.1201, allocations: 47.58 kB / 376.2 MB, free: 14.23 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003672/0.1205, allocations: 79.27 kB / 376.3 MB, free: 14.15 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003074/0.1208, allocations: 59.86 kB / 376.4 MB, free: 14.09 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004341/0.1212, allocations: 294.7 kB / 376.7 MB, free: 13.8 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002608/0.1215, allocations: 126.8 kB / 376.8 MB, free: 13.68 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002462/0.1218, allocations: 111.6 kB / 376.9 MB, free: 13.57 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000218/0.122, allocations: 115.5 kB / 377 MB, free: 13.45 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.213e-05/0.1221, allocations: 24 kB / 377 MB, free: 13.43 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.123e-05/0.1221, allocations: 24 kB / 377.1 MB, free: 13.41 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.765e-05/0.1222, allocations: 55.81 kB / 377.1 MB, free: 13.35 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001639/0.1223, allocations: 139.3 kB / 377.2 MB, free: 13.21 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003701/0.1227, allocations: 283 kB / 377.5 MB, free: 12.94 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1227, allocations: 0 / 377.5 MB, free: 12.94 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1227, allocations: 4 kB / 377.5 MB, free: 12.93 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.1228, allocations: 0 / 377.5 MB, free: 12.93 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.0009639/0.1237, allocations: 0.5382 MB / 378.1 MB, free: 12.35 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.1238, allocations: 8.031 kB / 378.1 MB, free: 12.34 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.157e-05/0.1239, allocations: 28.66 kB / 378.1 MB, free: 12.31 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004213/0.1243, allocations: 248.3 kB / 378.3 MB, free: 12.03 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.291e-05/0.1243, allocations: 28.94 kB / 378.4 MB, free: 12 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.45e-05/0.1244, allocations: 32.12 kB / 378.4 MB, free: 11.97 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005074/0.1249, allocations: 220.9 kB / 378.6 MB, free: 11.75 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.47e-05/0.125, allocations: 11.84 kB / 378.6 MB, free: 11.74 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.765e-05/0.125, allocations: 12 kB / 378.6 MB, free: 11.73 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.125, allocations: 4 kB / 378.6 MB, free: 11.72 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003989/0.1254, allocations: 178.1 kB / 378.8 MB, free: 11.55 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001281/0.1267, allocations: 0.7461 MB / 379.6 MB, free: 10.74 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004987/0.1272, allocations: 222.4 kB / 379.8 MB, free: 10.52 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002187/0.1274, allocations: 116.7 kB / 379.9 MB, free: 10.4 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.731e-05/0.1275, allocations: 12.42 kB / 379.9 MB, free: 10.39 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.1275, allocations: 30.56 kB / 379.9 MB, free: 10.35 MB / 318.1 MB Notification: Performance of pre-optimization done (n=26): time 1.603e-06/0.1275, allocations: 0 / 379.9 MB, free: 10.35 MB / 318.1 MB Notification: Performance of matching and sorting (n=28): time 0.001752/0.1293, allocations: 0.9578 MB / 380.9 MB, free: 9.301 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.076e-05/0.1294, allocations: 55.41 kB / 380.9 MB, free: 9.234 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.1295, allocations: 159.1 kB / 381.1 MB, free: 9.07 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.1295, allocations: 29.7 kB / 381.1 MB, free: 9.035 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.317e-05/0.1296, allocations: 140.5 kB / 381.3 MB, free: 8.895 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.413e-05/0.1297, allocations: 106.5 kB / 381.4 MB, free: 8.789 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.876e-05/0.1298, allocations: 53.56 kB / 381.4 MB, free: 8.73 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.13, allocations: 334.8 kB / 381.8 MB, free: 8.395 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001816/0.1301, allocations: 75.95 kB / 381.8 MB, free: 8.32 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001971/0.1304, allocations: 107.2 kB / 381.9 MB, free: 8.203 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003671/0.1307, allocations: 207.3 kB / 382.1 MB, free: 7.988 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1307, allocations: 4 kB / 382.1 MB, free: 7.984 MB / 318.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000458/0.1312, allocations: 265.4 kB / 382.4 MB, free: 7.719 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.1312, allocations: 5.094 kB / 382.4 MB, free: 7.715 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.1313, allocations: 4 kB / 382.4 MB, free: 7.711 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.1313, allocations: 0 / 382.4 MB, free: 7.711 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000285/0.1316, allocations: 75.89 kB / 382.5 MB, free: 7.637 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.1316, allocations: 0 / 382.5 MB, free: 7.637 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001281/0.1317, allocations: 15.98 kB / 382.5 MB, free: 7.621 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/0.1317, allocations: 11.94 kB / 382.5 MB, free: 7.609 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.000125/0.1319, allocations: 145.8 kB / 382.6 MB, free: 7.457 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.286e-05/0.1319, allocations: 15.81 kB / 382.7 MB, free: 7.441 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.587e-05/0.132, allocations: 26.56 kB / 382.7 MB, free: 7.414 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.132, allocations: 4 kB / 382.7 MB, free: 7.41 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.132, allocations: 0 / 382.7 MB, free: 7.41 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.132, allocations: 3.984 kB / 382.7 MB, free: 7.406 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009325/0.133, allocations: 0.657 MB / 383.4 MB, free: 6.688 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.133, allocations: 0 / 383.4 MB, free: 6.688 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000316/0.1333, allocations: 67.95 kB / 383.4 MB, free: 6.621 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.623e-06/0.1333, allocations: 4 kB / 383.4 MB, free: 6.617 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.954e-05/0.1333, allocations: 7.938 kB / 383.4 MB, free: 6.609 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.747e-06/0.1334, allocations: 11.92 kB / 383.4 MB, free: 6.598 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.1334, allocations: 3.938 kB / 383.4 MB, free: 6.594 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007194/0.1341, allocations: 451.5 kB / 383.9 MB, free: 6.133 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.837e-05/0.1342, allocations: 88.92 kB / 384 MB, free: 6.027 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.177e-05/0.1342, allocations: 12.06 kB / 384 MB, free: 6.016 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.1343, allocations: 15.92 kB / 384 MB, free: 6 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.64e-05/0.1344, allocations: 19.98 kB / 384 MB, free: 5.98 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.1344, allocations: 7.984 kB / 384 MB, free: 5.973 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.161e-05/0.1345, allocations: 119.2 kB / 384.1 MB, free: 5.855 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.194e-06/0.1345, allocations: 0 / 384.1 MB, free: 5.855 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003142/0.1349, allocations: 63.94 kB / 384.2 MB, free: 5.793 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.0001258/0.135, allocations: 103.2 kB / 384.3 MB, free: 5.684 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004689/0.1355, allocations: 207.8 kB / 384.5 MB, free: 5.48 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1355, allocations: 0 / 384.5 MB, free: 5.48 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000199/0.1357, allocations: 107.8 kB / 384.6 MB, free: 5.375 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004132/0.1361, allocations: 43.92 kB / 384.7 MB, free: 5.332 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001419/0.1375, allocations: 0.8037 MB / 385.5 MB, free: 4.496 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003707/0.1379, allocations: 0.7522 MB / 386.2 MB, free: 3.715 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.69e-05/0.138, allocations: 17.95 kB / 386.2 MB, free: 3.695 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.77e-05/0.1381, allocations: 19.44 kB / 386.3 MB, free: 3.676 MB / 318.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1381, allocations: 4 kB / 386.3 MB, free: 3.672 MB / 318.1 MB Notification: Performance of Templates: time 0.005584/0.1437, allocations: 2.197 MB / 388.5 MB, free: 1.473 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)