Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.PreLoad.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.Translational.Examples.PreLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.PreLoad") translateModel(Modelica.Mechanics.Translational.Examples.PreLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.PreLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005652/0.005652, allocations: 104.8 kB / 15.74 MB, free: 6.059 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.001145/0.001145, allocations: 196.5 kB / 16.68 MB, free: 5.969 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.51/1.51, allocations: 205.1 MB / 222.5 MB, free: 12.23 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.001283/0.001283, allocations: 55.92 kB / 326.5 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1015, allocations: 46.61 MB / 373.2 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.005266/0.1068, allocations: 3.519 MB / 376.7 MB, free: 1.035 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001882/0.1088, allocations: 0.912 MB / 377.6 MB, free: 116 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004467/0.1092, allocations: 8 kB / 377.6 MB, free: 108 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003577/0.1096, allocations: 87.16 kB / 377.7 MB, free: 20 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2258/0.3354, allocations: 137.3 kB / 377.8 MB, free: 9.727 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007846/0.3363, allocations: 157.2 kB / 378 MB, free: 9.727 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00116/0.3374, allocations: 0.5965 MB / 378.6 MB, free: 9.727 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004887/0.338, allocations: 193.8 kB / 378.7 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006607/0.3386, allocations: 241.6 kB / 379 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005535/0.3392, allocations: 276.1 kB / 379.3 MB, free: 9.625 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002008/0.3394, allocations: 51.53 kB / 379.3 MB, free: 9.625 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001919/0.3396, allocations: 50.31 kB / 379.4 MB, free: 9.625 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001287/0.3397, allocations: 119.3 kB / 379.5 MB, free: 9.605 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004315/0.3402, allocations: 276.4 kB / 379.7 MB, free: 9.531 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000857/0.341, allocations: 0.5901 MB / 380.3 MB, free: 9.445 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.3411, allocations: 0.5312 kB / 380.3 MB, free: 9.445 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.3411, allocations: 2.719 kB / 380.3 MB, free: 9.445 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.81e-05/0.3411, allocations: 0.5 kB / 380.3 MB, free: 9.445 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.002052/0.3432, allocations: 0.8525 MB / 381.2 MB, free: 8.934 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.3432, allocations: 9.656 kB / 381.2 MB, free: 8.934 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001266/0.3433, allocations: 56.47 kB / 381.3 MB, free: 8.906 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000488/0.3438, allocations: 330.1 kB / 381.6 MB, free: 8.672 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.667e-05/0.3439, allocations: 34.66 kB / 381.6 MB, free: 8.668 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.421e-05/0.344, allocations: 46.59 kB / 381.7 MB, free: 8.668 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009602/0.345, allocations: 457.9 kB / 382.1 MB, free: 8.621 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.63e-05/0.345, allocations: 9.609 kB / 382.1 MB, free: 8.613 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.463e-05/0.345, allocations: 19.59 kB / 382.1 MB, free: 8.613 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.597e-05/0.3451, allocations: 10.94 kB / 382.1 MB, free: 8.613 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001064/0.3461, allocations: 460.3 kB / 382.6 MB, free: 8.562 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002321/0.3485, allocations: 1.375 MB / 384 MB, free: 7.801 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009825/0.3495, allocations: 0.5451 MB / 384.5 MB, free: 7.57 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008129/0.3503, allocations: 372.6 kB / 384.9 MB, free: 7.457 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.878e-05/0.3503, allocations: 15.41 kB / 384.9 MB, free: 7.457 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.8e-05/0.3504, allocations: 37.91 kB / 384.9 MB, free: 7.414 MB / 318.1 MB Notification: Performance of pre-optimization done (n=67): time 2.444e-06/0.3504, allocations: 0 / 384.9 MB, free: 7.414 MB / 318.1 MB Notification: Performance of matching and sorting (n=103): time 0.007548/0.3579, allocations: 3.14 MB / 388.1 MB, free: 5.996 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/0.358, allocations: 62.12 kB / 388.1 MB, free: 5.934 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003128/0.3583, allocations: 252.1 kB / 388.4 MB, free: 5.789 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.67e-05/0.3584, allocations: 41.33 kB / 388.4 MB, free: 5.746 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.3585, allocations: 197.1 kB / 388.6 MB, free: 5.582 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002136/0.3587, allocations: 352.5 kB / 388.9 MB, free: 5.309 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001957/0.3589, allocations: 142.6 kB / 389.1 MB, free: 5.234 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.51e-05/0.359, allocations: 361.3 kB / 389.4 MB, free: 4.898 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005881/0.3596, allocations: 274.1 kB / 389.7 MB, free: 4.812 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006405/0.3603, allocations: 352.6 kB / 390.1 MB, free: 4.68 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001208/0.3615, allocations: 0.6205 MB / 390.7 MB, free: 4.402 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.3615, allocations: 3.938 kB / 390.7 MB, free: 4.398 MB / 318.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001814/0.3633, allocations: 0.7847 MB / 391.5 MB, free: 4.094 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.5e-05/0.3634, allocations: 5 kB / 391.5 MB, free: 4.094 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.3634, allocations: 1.125 kB / 391.5 MB, free: 4.094 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.585e-05/0.3635, allocations: 8.531 kB / 391.5 MB, free: 4.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009531/0.3644, allocations: 215.5 kB / 391.7 MB, free: 4.066 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.758e-05/0.3644, allocations: 4.219 kB / 391.7 MB, free: 4.066 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004237/0.3649, allocations: 43.66 kB / 391.7 MB, free: 4.055 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.468e-05/0.3649, allocations: 31.97 kB / 391.8 MB, free: 4.047 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (outerContactB.contact,outerContactA.contact,innerContactB.contact,innerContactA.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 113 * 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.0002667/0.3652, allocations: 192.3 kB / 392 MB, free: 3.875 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.956e-05/0.3653, allocations: 54.75 kB / 392 MB, free: 3.848 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001582/0.3655, allocations: 72.17 kB / 392.1 MB, free: 3.781 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.35e-05/0.3655, allocations: 14.16 kB / 392.1 MB, free: 3.777 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.306e-05/0.3655, allocations: 0 / 392.1 MB, free: 3.777 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.364e-05/0.3655, allocations: 5.906 kB / 392.1 MB, free: 3.777 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003043/0.3686, allocations: 1.973 MB / 394.1 MB, free: 2.711 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/0.3686, allocations: 6.656 kB / 394.1 MB, free: 2.711 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008174/0.3694, allocations: 205.3 kB / 394.3 MB, free: 2.691 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.917e-05/0.3695, allocations: 8.953 kB / 394.3 MB, free: 2.691 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.385e-05/0.3695, allocations: 25.77 kB / 394.3 MB, free: 2.68 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.328e-05/0.3696, allocations: 16.88 kB / 394.3 MB, free: 2.672 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.3696, allocations: 5.5 kB / 394.3 MB, free: 2.672 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002186/0.3718, allocations: 1.382 MB / 395.7 MB, free: 1.922 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001318/0.3719, allocations: 124.3 kB / 395.8 MB, free: 1.805 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.049e-05/0.372, allocations: 22.61 kB / 395.9 MB, free: 1.793 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003942/0.3724, allocations: 53.53 kB / 395.9 MB, free: 1.773 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001487/0.3725, allocations: 74.98 kB / 396 MB, free: 1.754 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.268e-05/0.3726, allocations: 34.14 kB / 396 MB, free: 1.746 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001723/0.3728, allocations: 178.5 kB / 396.2 MB, free: 1.641 MB / 318.1 MB Notification: Performance of sort global known variables: time 7.42e-07/0.3728, allocations: 1.219 kB / 396.2 MB, free: 1.641 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005759/0.3734, allocations: 154.1 kB / 396.3 MB, free: 1.613 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 6 (outerContactA.s_rel,outerContactA.v_rel,outerContactB.s_rel,outerContactB.v_rel,friction.s_rel,friction.v_rel) * Number of discrete variables: 4 (innerContactA.contact,innerContactB.contact,outerContactA.contact,outerContactB.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 103 * 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.0001465/0.3735, allocations: 133.8 kB / 396.5 MB, free: 1.496 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001522/0.3751, allocations: 0.7343 MB / 397.2 MB, free: 1.266 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.3751, allocations: 1.188 kB / 397.2 MB, free: 1.266 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008494/0.3759, allocations: 447.2 kB / 397.6 MB, free: 1.129 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008046/0.3767, allocations: 125.4 kB / 397.8 MB, free: 1.082 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002708/0.3795, allocations: 1.527 MB / 399.3 MB, free: 96 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005265/0.38, allocations: 0.8683 MB / 400.2 MB, free: 15.38 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003715/0.3804, allocations: 75.97 kB / 400.2 MB, free: 15.37 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001854/0.3806, allocations: 58.38 kB / 400.3 MB, free: 15.36 MB / 334.1 MB Notification: Performance of SimCode: time 8.51e-07/0.3806, allocations: 0 / 400.3 MB, free: 15.36 MB / 334.1 MB Notification: Performance of Templates: time 0.01367/0.3943, allocations: 6.668 MB / 407 MB, free: 12.25 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.PreLoad.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1)