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.001592/0.001592, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001489/0.001489, allocations: 193.1 kB / 16.13 MB, free: 6.66 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 MB, free: 4.738 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.001918/0.001918, allocations: 43.94 kB / 278 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2833/0.2853, allocations: 46.63 MB / 324.7 MB, free: 1.938 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.004149/0.2895, allocations: 3.539 MB / 328.2 MB, free: 15.14 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001609/0.2911, allocations: 0.9074 MB / 329.1 MB, free: 14.39 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002841/0.2914, allocations: 15.75 kB / 329.1 MB, free: 14.38 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002462/0.2917, allocations: 59.66 kB / 329.2 MB, free: 14.33 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002902/0.292, allocations: 126.7 kB / 329.3 MB, free: 14.22 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004819/0.2925, allocations: 129.3 kB / 329.4 MB, free: 14.11 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006782/0.2932, allocations: 0.5718 MB / 330 MB, free: 13.77 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003309/0.2936, allocations: 161.7 kB / 330.2 MB, free: 13.68 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003244/0.2939, allocations: 209.2 kB / 330.4 MB, free: 13.57 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002963/0.2942, allocations: 269.1 kB / 330.6 MB, free: 13.38 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.493e-05/0.2943, allocations: 33.47 kB / 330.7 MB, free: 13.38 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.455e-05/0.2944, allocations: 34.06 kB / 330.7 MB, free: 13.38 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.945e-05/0.2945, allocations: 106.2 kB / 330.8 MB, free: 13.29 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002516/0.2947, allocations: 251.5 kB / 331.1 MB, free: 13.13 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005007/0.2952, allocations: 0.5616 MB / 331.6 MB, free: 12.7 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.2953, allocations: 0 / 331.6 MB, free: 12.7 MB / 270.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.2953, allocations: 0 / 331.6 MB, free: 12.7 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.256e-05/0.2953, allocations: 1.406 kB / 331.6 MB, free: 12.7 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.001687/0.297, allocations: 0.8478 MB / 332.5 MB, free: 12.02 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.297, allocations: 13.3 kB / 332.5 MB, free: 12.02 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001084/0.2971, allocations: 55.62 kB / 332.5 MB, free: 11.99 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004094/0.2976, allocations: 330.3 kB / 332.9 MB, free: 11.67 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.596e-05/0.2976, allocations: 35.84 kB / 332.9 MB, free: 11.65 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.111e-05/0.2977, allocations: 54.95 kB / 332.9 MB, free: 11.63 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009517/0.2987, allocations: 456.1 kB / 333.4 MB, free: 11.34 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.46e-05/0.2987, allocations: 4 kB / 333.4 MB, free: 11.33 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.328e-05/0.2987, allocations: 20 kB / 333.4 MB, free: 11.31 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.2988, allocations: 8 kB / 333.4 MB, free: 11.3 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/0.2998, allocations: 463.6 kB / 333.9 MB, free: 10.85 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002359/0.3022, allocations: 1.386 MB / 335.3 MB, free: 9.402 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000934/0.3031, allocations: 0.5401 MB / 335.8 MB, free: 8.852 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008275/0.304, allocations: 374.9 kB / 336.2 MB, free: 8.484 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.303e-05/0.304, allocations: 12.5 kB / 336.2 MB, free: 8.473 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.3041, allocations: 43.12 kB / 336.2 MB, free: 8.422 MB / 270.1 MB Notification: Performance of pre-optimization done (n=67): time 2.124e-06/0.3041, allocations: 0 / 336.2 MB, free: 8.422 MB / 270.1 MB Notification: Performance of matching and sorting (n=103): time 0.007647/0.3117, allocations: 3.128 MB / 339.3 MB, free: 5.207 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.254e-05/0.3118, allocations: 64.41 kB / 339.4 MB, free: 5.133 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002688/0.3121, allocations: 254.9 kB / 339.7 MB, free: 4.871 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 5.048e-05/0.3122, allocations: 41.7 kB / 339.7 MB, free: 4.824 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.3123, allocations: 197.3 kB / 339.9 MB, free: 4.625 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002451/0.3126, allocations: 354.7 kB / 340.2 MB, free: 4.273 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002185/0.3128, allocations: 146.7 kB / 340.4 MB, free: 4.125 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001939/0.313, allocations: 358.8 kB / 340.7 MB, free: 3.766 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005739/0.3136, allocations: 281.8 kB / 341 MB, free: 3.488 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006379/0.3142, allocations: 349.4 kB / 341.3 MB, free: 3.141 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001271/0.3155, allocations: 0.6196 MB / 342 MB, free: 2.516 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3155, allocations: 0 / 342 MB, free: 2.516 MB / 270.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.00174/0.3173, allocations: 0.782 MB / 342.8 MB, free: 1.723 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/0.3173, allocations: 4 kB / 342.8 MB, free: 1.719 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.3173, allocations: 4 kB / 342.8 MB, free: 1.715 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.712e-05/0.3173, allocations: 7.938 kB / 342.8 MB, free: 1.707 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008007/0.3181, allocations: 207.7 kB / 343 MB, free: 1.504 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.493e-05/0.3182, allocations: 7.984 kB / 343 MB, free: 1.496 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000442/0.3186, allocations: 55.95 kB / 343 MB, free: 1.441 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.806e-05/0.3187, allocations: 32 kB / 343.1 MB, free: 1.41 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.0003063/0.319, allocations: 189.7 kB / 343.2 MB, free: 1.215 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001305/0.3192, allocations: 59.33 kB / 343.3 MB, free: 1.156 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001784/0.3193, allocations: 73.34 kB / 343.4 MB, free: 1.086 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/0.3194, allocations: 8 kB / 343.4 MB, free: 1.078 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.43e-05/0.3194, allocations: 0 / 343.4 MB, free: 1.078 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189e-05/0.3194, allocations: 7.969 kB / 343.4 MB, free: 1.07 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003791/0.3232, allocations: 1.998 MB / 345.4 MB, free: 14.96 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/0.3232, allocations: 4 kB / 345.4 MB, free: 14.95 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00085/0.3241, allocations: 200.3 kB / 345.6 MB, free: 14.76 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-05/0.3241, allocations: 8 kB / 345.6 MB, free: 14.75 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.973e-05/0.3242, allocations: 39.92 kB / 345.6 MB, free: 14.71 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.033e-05/0.3242, allocations: 11.94 kB / 345.6 MB, free: 14.7 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.241e-06/0.3242, allocations: 8 kB / 345.7 MB, free: 14.69 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002221/0.3264, allocations: 1.364 MB / 347 MB, free: 13.25 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000183/0.3266, allocations: 132.5 kB / 347.2 MB, free: 13.11 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.906e-05/0.3267, allocations: 27.88 kB / 347.2 MB, free: 13.08 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004308/0.3272, allocations: 44.09 kB / 347.2 MB, free: 13.04 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/0.3273, allocations: 84.72 kB / 347.3 MB, free: 12.95 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.474e-05/0.3274, allocations: 35.98 kB / 347.3 MB, free: 12.92 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001964/0.3276, allocations: 178 kB / 347.5 MB, free: 12.75 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3276, allocations: 0 / 347.5 MB, free: 12.75 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006368/0.3283, allocations: 156 kB / 347.7 MB, free: 12.6 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.0002244/0.3285, allocations: 131 kB / 347.8 MB, free: 12.46 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001551/0.3301, allocations: 0.7231 MB / 348.5 MB, free: 11.73 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.3301, allocations: 4 kB / 348.5 MB, free: 11.73 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008225/0.3309, allocations: 442.6 kB / 349 MB, free: 11.3 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008672/0.3318, allocations: 116.8 kB / 349.1 MB, free: 11.18 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003177/0.335, allocations: 1.764 MB / 350.8 MB, free: 9.336 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005634/0.3356, allocations: 0.8648 MB / 351.7 MB, free: 8.445 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0004177/0.336, allocations: 76.97 kB / 351.8 MB, free: 8.367 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001897/0.3362, allocations: 59.42 kB / 351.8 MB, free: 8.309 MB / 286.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3362, allocations: 0 / 351.8 MB, free: 8.309 MB / 286.1 MB Notification: Performance of Templates: time 0.01351/0.3497, allocations: 6.058 MB / 357.9 MB, free: 2.25 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)