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.0008573/0.0008575, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008472/0.008472, allocations: 170 kB / 16.26 MB, free: 6.613 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.641/1.641, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.0005425/0.0005428, allocations: 12 kB / 279.4 MB, free: 12.53 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3127, allocations: 47.59 MB / 327 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.004532/0.3173, allocations: 3.154 MB / 330.2 MB, free: 14.91 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002894/0.3203, allocations: 0.8949 MB / 331.1 MB, free: 14.17 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000384/0.3207, allocations: 10.72 kB / 331.1 MB, free: 14.17 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002501/0.321, allocations: 55.55 kB / 331.1 MB, free: 14.12 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004024/0.3214, allocations: 127.6 kB / 331.3 MB, free: 14.01 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005734/0.322, allocations: 136.8 kB / 331.4 MB, free: 13.89 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008891/0.3229, allocations: 0.5795 MB / 332 MB, free: 13.55 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005202/0.3234, allocations: 152.7 kB / 332.1 MB, free: 13.46 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000492/0.3239, allocations: 206.2 kB / 332.3 MB, free: 13.35 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003925/0.3243, allocations: 239.5 kB / 332.6 MB, free: 13.2 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.587e-05/0.3244, allocations: 27.5 kB / 332.6 MB, free: 13.2 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.947e-05/0.3245, allocations: 29.91 kB / 332.6 MB, free: 13.19 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001179/0.3246, allocations: 94.78 kB / 332.7 MB, free: 13.11 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004385/0.3251, allocations: 266.7 kB / 333 MB, free: 12.93 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008369/0.3259, allocations: 0.5507 MB / 333.5 MB, free: 12.51 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.087e-06/0.3259, allocations: 4 kB / 333.5 MB, free: 12.51 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.616e-06/0.3259, allocations: 1.156 kB / 333.5 MB, free: 12.51 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.326, allocations: 0 / 333.5 MB, free: 12.51 MB / 270.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.001915/0.3279, allocations: 0.7978 MB / 334.3 MB, free: 11.88 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/0.3279, allocations: 12.5 kB / 334.3 MB, free: 11.88 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001558/0.3281, allocations: 57.59 kB / 334.4 MB, free: 11.85 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004695/0.3286, allocations: 320.2 kB / 334.7 MB, free: 11.54 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.601e-05/0.3287, allocations: 40.09 kB / 334.7 MB, free: 11.52 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.3288, allocations: 50.78 kB / 334.8 MB, free: 11.5 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.3298, allocations: 477.2 kB / 335.3 MB, free: 11.04 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.93e-05/0.3298, allocations: 4 kB / 335.3 MB, free: 11.03 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.556e-05/0.3299, allocations: 20 kB / 335.3 MB, free: 11.01 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.7e-05/0.33, allocations: 12 kB / 335.3 MB, free: 11 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001092/0.3311, allocations: 495.7 kB / 335.8 MB, free: 10.52 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002577/0.3337, allocations: 1.394 MB / 337.2 MB, free: 9.059 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/0.3347, allocations: 0.5674 MB / 337.7 MB, free: 8.48 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008599/0.3356, allocations: 386.9 kB / 338.1 MB, free: 8.102 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.901e-05/0.3357, allocations: 8.562 kB / 338.1 MB, free: 8.094 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.867e-05/0.3357, allocations: 43.12 kB / 338.2 MB, free: 8.043 MB / 270.1 MB Notification: Performance of pre-optimization done (n=67): time 2.555e-06/0.3357, allocations: 0 / 338.2 MB, free: 8.043 MB / 270.1 MB Notification: Performance of matching and sorting (n=103): time 0.008031/0.3438, allocations: 3.295 MB / 341.5 MB, free: 4.66 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/0.3439, allocations: 68.41 kB / 341.5 MB, free: 4.582 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003087/0.3442, allocations: 247 kB / 341.8 MB, free: 4.328 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 5.017e-05/0.3443, allocations: 45.7 kB / 341.8 MB, free: 4.277 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00017/0.3445, allocations: 197.2 kB / 342 MB, free: 4.078 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002704/0.3447, allocations: 350.8 kB / 342.3 MB, free: 3.73 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001519/0.3449, allocations: 81.61 kB / 342.4 MB, free: 3.645 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.3451, allocations: 362.8 kB / 342.8 MB, free: 3.281 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005945/0.3457, allocations: 289.8 kB / 343.1 MB, free: 3 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006508/0.3463, allocations: 373.4 kB / 343.4 MB, free: 2.625 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001305/0.3476, allocations: 0.6546 MB / 344.1 MB, free: 1.965 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3477, allocations: 4 kB / 344.1 MB, free: 1.961 MB / 270.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001741/0.3494, allocations: 0.821 MB / 344.9 MB, free: 1.129 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.3494, allocations: 8.062 kB / 344.9 MB, free: 1.121 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.916e-06/0.3495, allocations: 0 / 344.9 MB, free: 1.121 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/0.3495, allocations: 7.938 kB / 344.9 MB, free: 1.113 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008044/0.3503, allocations: 219.7 kB / 345.1 MB, free: 0.8984 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.47e-05/0.3503, allocations: 7.938 kB / 345.1 MB, free: 0.8906 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004055/0.3507, allocations: 55.97 kB / 345.2 MB, free: 0.8359 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.117e-05/0.3508, allocations: 31.98 kB / 345.2 MB, free: 0.8047 MB / 270.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.0002537/0.3511, allocations: 193.7 kB / 345.4 MB, free: 0.6055 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.405e-05/0.3511, allocations: 47.44 kB / 345.5 MB, free: 0.5586 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001892/0.3513, allocations: 81.33 kB / 345.5 MB, free: 492 kB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/0.3514, allocations: 12 kB / 345.6 MB, free: 480 kB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/0.3514, allocations: 0 / 345.6 MB, free: 480 kB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/0.3514, allocations: 7.969 kB / 345.6 MB, free: 472 kB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003262/0.3547, allocations: 2.037 MB / 347.6 MB, free: 14.31 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.718e-06/0.3547, allocations: 8 kB / 347.6 MB, free: 14.3 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008287/0.3555, allocations: 211.7 kB / 347.8 MB, free: 14.09 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.186e-05/0.3556, allocations: 8.375 kB / 347.8 MB, free: 14.09 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.566e-05/0.3556, allocations: 35.92 kB / 347.9 MB, free: 14.05 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-05/0.3556, allocations: 12 kB / 347.9 MB, free: 14.04 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.705e-06/0.3556, allocations: 7.938 kB / 347.9 MB, free: 14.03 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002391/0.358, allocations: 1.43 MB / 349.3 MB, free: 12.53 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/0.3582, allocations: 116.5 kB / 349.4 MB, free: 12.39 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.513e-05/0.3583, allocations: 31.98 kB / 349.5 MB, free: 12.36 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004008/0.3587, allocations: 67.91 kB / 349.5 MB, free: 12.3 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/0.3588, allocations: 72.78 kB / 349.6 MB, free: 12.23 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.048e-05/0.3589, allocations: 35.98 kB / 349.6 MB, free: 12.19 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000174/0.3591, allocations: 170 kB / 349.8 MB, free: 12.03 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3591, allocations: 4 kB / 349.8 MB, free: 12.03 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005541/0.3596, allocations: 156 kB / 350 MB, free: 11.88 MB / 286.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.0001804/0.3598, allocations: 131 kB / 350.1 MB, free: 11.73 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001498/0.3613, allocations: 0.7621 MB / 350.8 MB, free: 10.97 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.3613, allocations: 4 kB / 350.8 MB, free: 10.96 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008317/0.3622, allocations: 462.7 kB / 351.3 MB, free: 10.52 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009943/0.3632, allocations: 120.7 kB / 351.4 MB, free: 10.39 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002893/0.3661, allocations: 1.903 MB / 353.3 MB, free: 8.406 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004665/0.3666, allocations: 0.8648 MB / 354.2 MB, free: 7.516 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0003446/0.3669, allocations: 80.97 kB / 354.3 MB, free: 7.434 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001581/0.3671, allocations: 51.42 kB / 354.3 MB, free: 7.383 MB / 286.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3671, allocations: 0 / 354.3 MB, free: 7.383 MB / 286.1 MB Notification: Performance of Templates: time 0.01157/0.3787, allocations: 5.995 MB / 360.3 MB, free: 1.387 MB / 286.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)