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.001772/0.001772, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002346/0.002346, allocations: 189.5 kB / 16.25 MB, free: 6.625 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.679/1.679, allocations: 205.1 MB / 222.1 MB, free: 4.734 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.001596/0.001596, allocations: 51.92 kB / 278.2 MB, free: 12.67 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2699, allocations: 46.63 MB / 324.8 MB, free: 2.047 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.005143/0.2751, allocations: 3.554 MB / 328.4 MB, free: 15.23 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001782/0.2769, allocations: 0.9042 MB / 329.3 MB, free: 14.48 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002654/0.2772, allocations: 8 kB / 329.3 MB, free: 14.48 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002669/0.2775, allocations: 52.02 kB / 329.4 MB, free: 14.44 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002821/0.2778, allocations: 127.5 kB / 329.5 MB, free: 14.33 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000446/0.2782, allocations: 140.7 kB / 329.6 MB, free: 14.21 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006152/0.2789, allocations: 0.5937 MB / 330.2 MB, free: 13.86 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003561/0.2792, allocations: 183.5 kB / 330.4 MB, free: 13.76 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002976/0.2795, allocations: 246.2 kB / 330.6 MB, free: 13.62 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003076/0.2799, allocations: 269.2 kB / 330.9 MB, free: 13.43 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.016e-05/0.2799, allocations: 49.16 kB / 330.9 MB, free: 13.43 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.613e-05/0.28, allocations: 52.59 kB / 331 MB, free: 13.43 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.433e-05/0.2801, allocations: 121.2 kB / 331.1 MB, free: 13.33 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002489/0.2804, allocations: 272.3 kB / 331.4 MB, free: 13.14 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005981/0.281, allocations: 0.5889 MB / 332 MB, free: 12.7 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.281, allocations: 0 / 332 MB, free: 12.7 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.281, allocations: 1.219 kB / 332 MB, free: 12.7 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.12e-05/0.281, allocations: 0 / 332 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.001745/0.2828, allocations: 0.8448 MB / 332.8 MB, free: 12.02 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.2828, allocations: 8.719 kB / 332.8 MB, free: 12.02 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001299/0.283, allocations: 56.47 kB / 332.9 MB, free: 11.99 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004101/0.2834, allocations: 325.6 kB / 333.2 MB, free: 11.67 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.079e-05/0.2834, allocations: 44.22 kB / 333.2 MB, free: 11.65 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.9e-05/0.2836, allocations: 50.88 kB / 333.3 MB, free: 11.63 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000984/0.2845, allocations: 452.4 kB / 333.7 MB, free: 11.21 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.682e-05/0.2846, allocations: 15.97 kB / 333.7 MB, free: 11.2 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.579e-05/0.2846, allocations: 19.94 kB / 333.8 MB, free: 11.18 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.366e-05/0.2847, allocations: 8 kB / 333.8 MB, free: 11.17 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001097/0.2858, allocations: 459.7 kB / 334.2 MB, free: 10.72 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0026/0.2884, allocations: 1.39 MB / 335.6 MB, free: 9.27 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/0.2895, allocations: 0.5362 MB / 336.2 MB, free: 8.723 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007824/0.2903, allocations: 370.9 kB / 336.5 MB, free: 8.359 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.215e-05/0.2903, allocations: 16.53 kB / 336.5 MB, free: 8.344 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/0.2904, allocations: 35.12 kB / 336.6 MB, free: 8.301 MB / 270.1 MB Notification: Performance of pre-optimization done (n=67): time 3.066e-06/0.2904, allocations: 4 kB / 336.6 MB, free: 8.297 MB / 270.1 MB Notification: Performance of matching and sorting (n=103): time 0.007486/0.2979, allocations: 3.131 MB / 339.7 MB, free: 5.078 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.932e-05/0.298, allocations: 68.34 kB / 339.8 MB, free: 4.996 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002737/0.2982, allocations: 250.9 kB / 340 MB, free: 4.742 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 5.488e-05/0.2983, allocations: 37.7 kB / 340 MB, free: 4.699 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001573/0.2985, allocations: 205.3 kB / 340.2 MB, free: 4.492 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002749/0.2988, allocations: 350.8 kB / 340.6 MB, free: 4.145 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000222/0.299, allocations: 146.7 kB / 340.7 MB, free: 3.996 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001877/0.2992, allocations: 358.8 kB / 341.1 MB, free: 3.637 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005839/0.2998, allocations: 269.8 kB / 341.3 MB, free: 3.375 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000656/0.3004, allocations: 353.4 kB / 341.7 MB, free: 3.02 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001209/0.3017, allocations: 0.6234 MB / 342.3 MB, free: 2.391 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3017, allocations: 0 / 342.3 MB, free: 2.391 MB / 270.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001554/0.3032, allocations: 0.782 MB / 343.1 MB, free: 1.598 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.3033, allocations: 10.95 kB / 343.1 MB, free: 1.59 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.3033, allocations: 4 kB / 343.1 MB, free: 1.586 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.387e-05/0.3033, allocations: 7.938 kB / 343.1 MB, free: 1.578 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008181/0.3041, allocations: 207.7 kB / 343.3 MB, free: 1.375 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.839e-05/0.3042, allocations: 4 kB / 343.3 MB, free: 1.371 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003738/0.3045, allocations: 43.97 kB / 343.4 MB, free: 1.328 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.288e-05/0.3046, allocations: 31.98 kB / 343.4 MB, free: 1.297 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.0002858/0.3049, allocations: 193.7 kB / 343.6 MB, free: 1.098 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/0.305, allocations: 55.34 kB / 343.6 MB, free: 1.043 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001539/0.3052, allocations: 73.33 kB / 343.7 MB, free: 0.9727 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/0.3052, allocations: 15.94 kB / 343.7 MB, free: 0.957 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.318e-05/0.3052, allocations: 0 / 343.7 MB, free: 0.957 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.374e-05/0.3053, allocations: 7.984 kB / 343.7 MB, free: 0.9492 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00324/0.3085, allocations: 2.002 MB / 345.7 MB, free: 14.83 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.065e-05/0.3086, allocations: 4 kB / 345.7 MB, free: 14.83 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008325/0.3094, allocations: 212.3 kB / 346 MB, free: 14.62 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.135e-05/0.3094, allocations: 8 kB / 346 MB, free: 14.61 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.066e-05/0.3095, allocations: 27.94 kB / 346 MB, free: 14.59 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.109e-05/0.3095, allocations: 15.92 kB / 346 MB, free: 14.57 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.3095, allocations: 4 kB / 346 MB, free: 14.57 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002078/0.3116, allocations: 1.368 MB / 347.4 MB, free: 13.12 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/0.3117, allocations: 128.5 kB / 347.5 MB, free: 12.98 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.605e-05/0.3118, allocations: 27.92 kB / 347.5 MB, free: 12.95 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000381/0.3122, allocations: 51.97 kB / 347.6 MB, free: 12.9 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/0.3123, allocations: 72.78 kB / 347.6 MB, free: 12.83 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-05/0.3124, allocations: 32 kB / 347.7 MB, free: 12.8 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001817/0.3126, allocations: 178 kB / 347.9 MB, free: 12.63 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.3126, allocations: 4 kB / 347.9 MB, free: 12.62 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005288/0.3131, allocations: 156 kB / 348 MB, free: 12.47 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.0002028/0.3133, allocations: 127.1 kB / 348.1 MB, free: 12.34 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001784/0.3151, allocations: 0.7737 MB / 348.9 MB, free: 11.56 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3151, allocations: 0 / 348.9 MB, free: 11.56 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007259/0.3158, allocations: 450.7 kB / 349.3 MB, free: 11.12 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000828/0.3167, allocations: 116.9 kB / 349.5 MB, free: 11.01 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002569/0.3193, allocations: 1.767 MB / 351.2 MB, free: 9.156 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003749/0.3197, allocations: 0.8723 MB / 352.1 MB, free: 8.258 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0003169/0.32, allocations: 76.97 kB / 352.2 MB, free: 8.18 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001553/0.3201, allocations: 55.42 kB / 352.2 MB, free: 8.125 MB / 286.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3201, allocations: 0 / 352.2 MB, free: 8.125 MB / 286.1 MB Notification: Performance of Templates: time 0.01144/0.3316, allocations: 6.367 MB / 358.6 MB, free: 1.754 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)