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.0009504/0.0009503, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001025/0.001025, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.643/1.643, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.0006579/0.0006579, allocations: 12 kB / 278.9 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.2741, allocations: 47.59 MB / 326.4 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.003613/0.2778, allocations: 2.824 MB / 329.3 MB, free: 15.22 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001511/0.2794, allocations: 0.9026 MB / 330.2 MB, free: 14.48 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002009/0.2796, allocations: 10.84 kB / 330.2 MB, free: 14.48 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001121/0.2797, allocations: 59.16 kB / 330.2 MB, free: 14.43 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003176/0.28, allocations: 166.1 kB / 330.4 MB, free: 14.29 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000372/0.2804, allocations: 117.1 kB / 330.5 MB, free: 14.19 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005297/0.2809, allocations: 399.1 kB / 330.9 MB, free: 13.94 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003052/0.2813, allocations: 149.9 kB / 331.1 MB, free: 13.85 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003177/0.2816, allocations: 203.1 kB / 331.3 MB, free: 13.74 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003165/0.2819, allocations: 231.6 kB / 331.5 MB, free: 13.59 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.622e-05/0.282, allocations: 30.72 kB / 331.5 MB, free: 13.59 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.007e-05/0.2821, allocations: 27.53 kB / 331.5 MB, free: 13.59 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.155e-05/0.2822, allocations: 90.5 kB / 331.6 MB, free: 13.52 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001117/0.2823, allocations: 112.8 kB / 331.7 MB, free: 13.45 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003994/0.2827, allocations: 437.2 kB / 332.2 MB, free: 13.12 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.2827, allocations: 0 / 332.2 MB, free: 13.12 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.2827, allocations: 0 / 332.2 MB, free: 13.12 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.147e-05/0.2827, allocations: 0 / 332.2 MB, free: 13.12 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.001613/0.2843, allocations: 0.8022 MB / 333 MB, free: 12.49 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.2844, allocations: 8.375 kB / 333 MB, free: 12.49 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.2845, allocations: 59.69 kB / 333 MB, free: 12.46 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004187/0.285, allocations: 315.8 kB / 333.3 MB, free: 12.15 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.004e-05/0.285, allocations: 39.5 kB / 333.4 MB, free: 12.13 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.151e-05/0.2851, allocations: 46.78 kB / 333.4 MB, free: 12.11 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009695/0.2861, allocations: 462.1 kB / 333.9 MB, free: 11.86 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.51e-05/0.2861, allocations: 9.344 kB / 333.9 MB, free: 11.85 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.595e-05/0.2862, allocations: 19.22 kB / 333.9 MB, free: 11.83 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.477e-05/0.2862, allocations: 12.06 kB / 333.9 MB, free: 11.83 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001054/0.2873, allocations: 493.9 kB / 334.4 MB, free: 11.46 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002312/0.2896, allocations: 1.386 MB / 335.8 MB, free: 10.01 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00096/0.2906, allocations: 0.5557 MB / 336.3 MB, free: 9.449 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.496e-05/0.2906, allocations: 16.48 kB / 336.4 MB, free: 9.434 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.2907, allocations: 43.12 kB / 336.4 MB, free: 9.383 MB / 270.1 MB Notification: Performance of pre-optimization done (n=67): time 1.963e-06/0.2907, allocations: 0 / 336.4 MB, free: 9.383 MB / 270.1 MB Notification: Performance of matching and sorting (n=103): time 0.007201/0.2979, allocations: 3.278 MB / 339.7 MB, free: 6.02 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.298, allocations: 60.41 kB / 339.7 MB, free: 5.949 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002448/0.2982, allocations: 251 kB / 340 MB, free: 5.695 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.742e-05/0.2983, allocations: 37.7 kB / 340 MB, free: 5.652 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.2984, allocations: 201.2 kB / 340.2 MB, free: 5.449 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002452/0.2987, allocations: 350.8 kB / 340.6 MB, free: 5.102 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.659e-05/0.2987, allocations: 16 kB / 340.6 MB, free: 5.086 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.2989, allocations: 362.8 kB / 340.9 MB, free: 4.723 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005669/0.2995, allocations: 285.8 kB / 341.2 MB, free: 4.441 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000614/0.3001, allocations: 361.4 kB / 341.6 MB, free: 4.082 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005861/0.3007, allocations: 310.9 kB / 341.9 MB, free: 3.781 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.3007, allocations: 0 / 341.9 MB, free: 3.781 MB / 270.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001413/0.3021, allocations: 0.8132 MB / 342.7 MB, free: 2.957 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.3021, allocations: 4 kB / 342.7 MB, free: 2.953 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.3021, allocations: 0 / 342.7 MB, free: 2.953 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.3022, allocations: 7.938 kB / 342.7 MB, free: 2.945 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007725/0.303, allocations: 223.7 kB / 342.9 MB, free: 2.727 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/0.303, allocations: 4 kB / 342.9 MB, free: 2.723 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003229/0.3033, allocations: 59.91 kB / 343 MB, free: 2.664 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.96e-05/0.3034, allocations: 31.98 kB / 343 MB, free: 2.633 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 (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 initialization (113): * Single equations (assignments): 113 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002211/0.3036, allocations: 189.7 kB / 343.2 MB, free: 2.438 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.323e-05/0.3037, allocations: 51.44 kB / 343.2 MB, free: 2.387 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001539/0.3038, allocations: 73.39 kB / 343.3 MB, free: 2.316 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.3039, allocations: 12 kB / 343.3 MB, free: 2.305 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.3039, allocations: 3.953 kB / 343.3 MB, free: 2.301 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/0.3039, allocations: 11.97 kB / 343.3 MB, free: 2.289 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002923/0.3068, allocations: 2.022 MB / 345.4 MB, free: 156 kB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/0.3068, allocations: 7.938 kB / 345.4 MB, free: 148 kB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007819/0.3076, allocations: 219.8 kB / 345.6 MB, free: 15.93 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.23e-05/0.3077, allocations: 12 kB / 345.6 MB, free: 15.92 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.731e-05/0.3077, allocations: 24 kB / 345.6 MB, free: 15.89 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-05/0.3077, allocations: 15.92 kB / 345.6 MB, free: 15.88 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/0.3077, allocations: 4 kB / 345.6 MB, free: 15.88 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002306/0.31, allocations: 1.638 MB / 347.3 MB, free: 14.05 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.491e-05/0.3102, allocations: 124.5 kB / 347.4 MB, free: 13.91 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.689e-05/0.3102, allocations: 32.05 kB / 347.4 MB, free: 13.88 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003798/0.3106, allocations: 63.92 kB / 347.5 MB, free: 13.81 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.3108, allocations: 76.8 kB / 347.6 MB, free: 13.74 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-05/0.3108, allocations: 35.98 kB / 347.6 MB, free: 13.7 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001409/0.311, allocations: 174 kB / 347.8 MB, free: 13.53 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.311, allocations: 0 / 347.8 MB, free: 13.53 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004668/0.3114, allocations: 148 kB / 347.9 MB, free: 13.39 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001714/0.3116, allocations: 135 kB / 348 MB, free: 13.24 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001376/0.313, allocations: 0.7465 MB / 348.8 MB, free: 12.49 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.313, allocations: 4 kB / 348.8 MB, free: 12.49 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007662/0.3138, allocations: 470.6 kB / 349.2 MB, free: 12.03 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005801/0.3144, allocations: 92.81 kB / 349.3 MB, free: 11.94 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002497/0.3169, allocations: 1.833 MB / 351.2 MB, free: 10.02 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005512/0.3175, allocations: 0.8774 MB / 352 MB, free: 9.121 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0003072/0.3178, allocations: 76.97 kB / 352.1 MB, free: 9.043 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001708/0.318, allocations: 55.42 kB / 352.2 MB, free: 8.988 MB / 286.1 MB Notification: Performance of SimCode: time 2.31e-07/0.318, allocations: 0 / 352.2 MB, free: 8.988 MB / 286.1 MB Notification: Performance of Templates: time 0.01041/0.3284, allocations: 5.737 MB / 357.9 MB, free: 3.25 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.PreLoad.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: