Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Mechanics.Translational.Examples.PreLoad") translateModel(Modelica.Mechanics.Translational.Examples.PreLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.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.001483/0.001483, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001624/0.001624, allocations: 192.1 kB / 16.14 MB, free: 6.707 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.1 MB / 222 MB, free: 4.793 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.002173/0.002173, allocations: 51.92 kB / 278.1 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.3099, allocations: 46.63 MB / 324.7 MB, free: 1.918 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.00603/0.316, allocations: 3.542 MB / 328.2 MB, free: 15.12 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001891/0.3179, allocations: 0.9073 MB / 329.1 MB, free: 14.36 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000245/0.3182, allocations: 9.312 kB / 329.1 MB, free: 14.36 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002607/0.3185, allocations: 54.7 kB / 329.2 MB, free: 14.32 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002806/0.3188, allocations: 127.4 kB / 329.3 MB, free: 14.21 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004673/0.3193, allocations: 129.3 kB / 329.4 MB, free: 14.1 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008684/0.3201, allocations: 0.5712 MB / 330 MB, free: 13.76 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004793/0.3206, allocations: 161 kB / 330.2 MB, free: 13.66 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004089/0.321, allocations: 225 kB / 330.4 MB, free: 13.54 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000428/0.3215, allocations: 261.3 kB / 330.6 MB, free: 13.36 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.893e-05/0.3216, allocations: 33.94 kB / 330.7 MB, free: 13.36 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.884e-05/0.3217, allocations: 34.03 kB / 330.7 MB, free: 13.36 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001182/0.3218, allocations: 102.1 kB / 330.8 MB, free: 13.28 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004745/0.3223, allocations: 255.9 kB / 331.1 MB, free: 13.11 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000764/0.3231, allocations: 0.5611 MB / 331.6 MB, free: 12.68 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/0.3231, allocations: 0 / 331.6 MB, free: 12.68 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3231, allocations: 1.312 kB / 331.6 MB, free: 12.68 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.989e-06/0.3231, allocations: 0 / 331.6 MB, free: 12.68 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.00209/0.3252, allocations: 0.8481 MB / 332.5 MB, free: 12 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.553e-05/0.3253, allocations: 9.688 kB / 332.5 MB, free: 12 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001552/0.3254, allocations: 56.41 kB / 332.5 MB, free: 11.97 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005565/0.326, allocations: 329.3 kB / 332.9 MB, free: 11.65 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.74e-05/0.3261, allocations: 40.75 kB / 332.9 MB, free: 11.63 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.3262, allocations: 53.25 kB / 332.9 MB, free: 11.61 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001303/0.3275, allocations: 452.7 kB / 333.4 MB, free: 11.31 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.792e-05/0.3276, allocations: 11.92 kB / 333.4 MB, free: 11.3 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.753e-05/0.3276, allocations: 20 kB / 333.4 MB, free: 11.28 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/0.3276, allocations: 12 kB / 333.4 MB, free: 11.27 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/0.3287, allocations: 455.7 kB / 333.9 MB, free: 10.82 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002483/0.3312, allocations: 1.386 MB / 335.3 MB, free: 9.375 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001214/0.3325, allocations: 0.5362 MB / 335.8 MB, free: 8.828 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007978/0.3333, allocations: 374.9 kB / 336.2 MB, free: 8.461 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.195e-05/0.3333, allocations: 16.55 kB / 336.2 MB, free: 8.445 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.3334, allocations: 39.12 kB / 336.2 MB, free: 8.398 MB / 270.1 MB Notification: Performance of pre-optimization done (n=67): time 2.455e-06/0.3334, allocations: 0 / 336.2 MB, free: 8.398 MB / 270.1 MB Notification: Performance of matching and sorting (n=103): time 0.007555/0.341, allocations: 3.127 MB / 339.3 MB, free: 5.184 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.118e-05/0.3411, allocations: 68.34 kB / 339.4 MB, free: 5.105 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003/0.3414, allocations: 258.9 kB / 339.7 MB, free: 4.84 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.83e-05/0.3414, allocations: 41.7 kB / 339.7 MB, free: 4.793 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/0.3416, allocations: 193.3 kB / 339.9 MB, free: 4.598 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002561/0.3418, allocations: 350.8 kB / 340.2 MB, free: 4.25 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002137/0.3421, allocations: 146.7 kB / 340.4 MB, free: 4.102 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002666/0.3423, allocations: 362.7 kB / 340.7 MB, free: 3.738 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005822/0.3429, allocations: 277.8 kB / 341 MB, free: 3.465 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006781/0.3436, allocations: 341.4 kB / 341.3 MB, free: 3.125 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00131/0.3449, allocations: 0.6273 MB / 342 MB, free: 2.492 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.3449, allocations: 0 / 342 MB, free: 2.492 MB / 270.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001596/0.3465, allocations: 0.7819 MB / 342.8 MB, free: 1.699 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.517e-05/0.3466, allocations: 7.984 kB / 342.8 MB, free: 1.691 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.3466, allocations: 4 kB / 342.8 MB, free: 1.688 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.43e-05/0.3466, allocations: 7.938 kB / 342.8 MB, free: 1.68 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008052/0.3474, allocations: 207.7 kB / 343 MB, free: 1.477 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.3475, allocations: 8.062 kB / 343 MB, free: 1.469 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003448/0.3478, allocations: 51.97 kB / 343 MB, free: 1.418 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-05/0.3479, allocations: 27.98 kB / 343.1 MB, free: 1.391 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.0003401/0.3482, allocations: 189.7 kB / 343.2 MB, free: 1.195 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.046e-05/0.3483, allocations: 59.28 kB / 343.3 MB, free: 1.137 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000143/0.3485, allocations: 77.33 kB / 343.4 MB, free: 1.062 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.3485, allocations: 12 kB / 343.4 MB, free: 1.051 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/0.3485, allocations: 0 / 343.4 MB, free: 1.051 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.3485, allocations: 3.984 kB / 343.4 MB, free: 1.047 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003201/0.3517, allocations: 1.99 MB / 345.4 MB, free: 14.94 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.732e-06/0.3517, allocations: 4.062 kB / 345.4 MB, free: 14.94 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008557/0.3526, allocations: 207.7 kB / 345.6 MB, free: 14.73 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.039e-05/0.3526, allocations: 8 kB / 345.6 MB, free: 14.73 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.845e-05/0.3527, allocations: 27.94 kB / 345.6 MB, free: 14.7 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-05/0.3527, allocations: 15.92 kB / 345.6 MB, free: 14.68 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/0.3527, allocations: 8 kB / 345.6 MB, free: 14.68 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002431/0.3551, allocations: 1.368 MB / 347 MB, free: 13.23 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.3553, allocations: 132.5 kB / 347.1 MB, free: 13.09 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.703e-05/0.3554, allocations: 36.05 kB / 347.2 MB, free: 13.05 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003621/0.3557, allocations: 43.97 kB / 347.2 MB, free: 13.01 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/0.3559, allocations: 76.78 kB / 347.3 MB, free: 12.93 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.09e-05/0.3559, allocations: 32 kB / 347.3 MB, free: 12.9 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001656/0.3561, allocations: 182 kB / 347.5 MB, free: 12.73 MB / 286.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3561, allocations: 0 / 347.5 MB, free: 12.73 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004966/0.3566, allocations: 156 kB / 347.7 MB, free: 12.58 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.0001702/0.3568, allocations: 123.1 kB / 347.8 MB, free: 12.45 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001284/0.3581, allocations: 0.7231 MB / 348.5 MB, free: 11.72 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.3581, allocations: 7.938 kB / 348.5 MB, free: 11.71 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007453/0.3588, allocations: 446.6 kB / 348.9 MB, free: 11.28 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007999/0.3596, allocations: 112.7 kB / 349.1 MB, free: 11.17 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002584/0.3622, allocations: 1.775 MB / 350.8 MB, free: 9.309 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005974/0.3629, allocations: 0.8725 MB / 351.7 MB, free: 8.41 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0003116/0.3632, allocations: 80.97 kB / 351.8 MB, free: 8.328 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001607/0.3633, allocations: 55.42 kB / 351.8 MB, free: 8.273 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3633, allocations: 0 / 351.8 MB, free: 8.273 MB / 286.1 MB Notification: Performance of Templates: time 0.01102/0.3744, allocations: 6.047 MB / 357.9 MB, free: 2.227 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.PreLoad.makefile (rm -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_3.1_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1)