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.002175/0.002175, allocations: 107.3 kB / 15.33 MB, free: 0.5039 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.002929/0.002929, allocations: 199.8 kB / 16.26 MB, free: 6.629 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.543/1.543, allocations: 205.1 MB / 222.1 MB, free: 4.754 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.001382/0.001382, allocations: 43.92 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.2689, allocations: 46.64 MB / 324.8 MB, free: 2.062 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.004871/0.2738, allocations: 3.543 MB / 328.4 MB, free: 15.26 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002156/0.276, allocations: 0.9043 MB / 329.3 MB, free: 14.51 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003282/0.2764, allocations: 7.906 kB / 329.3 MB, free: 14.51 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002523/0.2767, allocations: 60.25 kB / 329.4 MB, free: 14.46 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000319/0.277, allocations: 126.1 kB / 329.5 MB, free: 14.35 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005137/0.2775, allocations: 132.7 kB / 329.6 MB, free: 14.24 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007034/0.2783, allocations: 0.5977 MB / 330.2 MB, free: 13.88 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003666/0.2786, allocations: 186.8 kB / 330.4 MB, free: 13.78 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003352/0.279, allocations: 242.3 kB / 330.6 MB, free: 13.64 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003269/0.2793, allocations: 269.3 kB / 330.9 MB, free: 13.46 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.173e-05/0.2794, allocations: 51.06 kB / 330.9 MB, free: 13.46 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.558e-05/0.2795, allocations: 50.66 kB / 331 MB, free: 13.46 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001165/0.2796, allocations: 122.9 kB / 331.1 MB, free: 13.35 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002523/0.2799, allocations: 267.5 kB / 331.4 MB, free: 13.17 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006723/0.2806, allocations: 0.5888 MB / 332 MB, free: 12.73 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.2806, allocations: 1.312 kB / 332 MB, free: 12.73 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.2806, allocations: 0 / 332 MB, free: 12.73 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.152e-05/0.2806, allocations: 0 / 332 MB, free: 12.73 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.001821/0.2824, allocations: 0.848 MB / 332.8 MB, free: 12.04 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.468e-05/0.2825, allocations: 14.06 kB / 332.8 MB, free: 12.04 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001322/0.2827, allocations: 56.69 kB / 332.9 MB, free: 12.01 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004335/0.2831, allocations: 320.8 kB / 333.2 MB, free: 11.7 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.522e-05/0.2832, allocations: 40.41 kB / 333.2 MB, free: 11.68 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.562e-05/0.2833, allocations: 50.06 kB / 333.3 MB, free: 11.66 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009802/0.2843, allocations: 459.8 kB / 333.7 MB, free: 11.25 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.493e-05/0.2843, allocations: 8 kB / 333.7 MB, free: 11.24 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.356e-05/0.2844, allocations: 16 kB / 333.8 MB, free: 11.23 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.43e-05/0.2844, allocations: 12 kB / 333.8 MB, free: 11.21 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009876/0.2854, allocations: 451.7 kB / 334.2 MB, free: 10.77 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002399/0.2878, allocations: 1.398 MB / 335.6 MB, free: 9.312 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009065/0.2887, allocations: 0.5362 MB / 336.1 MB, free: 8.766 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006942/0.2894, allocations: 370.9 kB / 336.5 MB, free: 8.402 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.488e-05/0.2895, allocations: 8.562 kB / 336.5 MB, free: 8.395 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.2895, allocations: 43.11 kB / 336.6 MB, free: 8.344 MB / 270.1 MB Notification: Performance of pre-optimization done (n=67): time 2.404e-06/0.2895, allocations: 0 / 336.6 MB, free: 8.344 MB / 270.1 MB Notification: Performance of matching and sorting (n=103): time 0.007195/0.2967, allocations: 3.135 MB / 339.7 MB, free: 5.121 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.07e-05/0.2968, allocations: 68.41 kB / 339.8 MB, free: 5.039 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002819/0.2971, allocations: 254.9 kB / 340 MB, free: 4.781 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.998e-05/0.2972, allocations: 41.7 kB / 340 MB, free: 4.734 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.2973, allocations: 193.3 kB / 340.2 MB, free: 4.539 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002517/0.2976, allocations: 354.8 kB / 340.6 MB, free: 4.188 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001857/0.2978, allocations: 142.7 kB / 340.7 MB, free: 4.043 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.2979, allocations: 362.8 kB / 341.1 MB, free: 3.68 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005334/0.2985, allocations: 273.8 kB / 341.3 MB, free: 3.414 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005712/0.299, allocations: 345.4 kB / 341.7 MB, free: 3.066 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001144/0.3002, allocations: 0.6234 MB / 342.3 MB, free: 2.438 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.3002, allocations: 0 / 342.3 MB, free: 2.438 MB / 270.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001444/0.3017, allocations: 0.782 MB / 343.1 MB, free: 1.645 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.701e-05/0.3017, allocations: 8 kB / 343.1 MB, free: 1.637 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.3017, allocations: 0 / 343.1 MB, free: 1.637 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.3017, allocations: 7.938 kB / 343.1 MB, free: 1.629 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008741/0.3026, allocations: 219.7 kB / 343.3 MB, free: 1.414 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.415e-05/0.3026, allocations: 7.984 kB / 343.3 MB, free: 1.406 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003785/0.303, allocations: 43.97 kB / 343.4 MB, free: 1.363 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.144e-05/0.3031, allocations: 31.98 kB / 343.4 MB, free: 1.332 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.0002712/0.3034, allocations: 193.6 kB / 343.6 MB, free: 1.133 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.201e-05/0.3035, allocations: 55.34 kB / 343.6 MB, free: 1.078 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001635/0.3036, allocations: 81.33 kB / 343.7 MB, free: 1 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.3036, allocations: 8 kB / 343.7 MB, free: 0.9922 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.381e-05/0.3037, allocations: 3.938 kB / 343.7 MB, free: 0.9883 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.316e-05/0.3037, allocations: 7.984 kB / 343.7 MB, free: 0.9805 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003039/0.3067, allocations: 2.002 MB / 345.7 MB, free: 14.86 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/0.3068, allocations: 4 kB / 345.7 MB, free: 14.86 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008183/0.3076, allocations: 207.7 kB / 345.9 MB, free: 14.66 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.071e-05/0.3076, allocations: 8 kB / 346 MB, free: 14.65 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-05/0.3077, allocations: 23.94 kB / 346 MB, free: 14.62 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.126e-05/0.3077, allocations: 11.98 kB / 346 MB, free: 14.61 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/0.3077, allocations: 11.94 kB / 346 MB, free: 14.6 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002251/0.3099, allocations: 1.364 MB / 347.4 MB, free: 13.16 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001501/0.3101, allocations: 128.4 kB / 347.5 MB, free: 13.02 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.333e-05/0.3102, allocations: 28 kB / 347.5 MB, free: 12.99 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003726/0.3106, allocations: 51.95 kB / 347.6 MB, free: 12.94 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.3107, allocations: 76.78 kB / 347.6 MB, free: 12.87 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.89e-05/0.3108, allocations: 35.98 kB / 347.7 MB, free: 12.83 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001563/0.3109, allocations: 178 kB / 347.9 MB, free: 12.66 MB / 286.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3109, allocations: 0 / 347.9 MB, free: 12.66 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004911/0.3114, allocations: 152 kB / 348 MB, free: 12.51 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.0001571/0.3116, allocations: 127.1 kB / 348.1 MB, free: 12.38 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001678/0.3133, allocations: 0.7737 MB / 348.9 MB, free: 11.6 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.3133, allocations: 4 kB / 348.9 MB, free: 11.59 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006972/0.314, allocations: 442.3 kB / 349.3 MB, free: 11.16 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007756/0.3148, allocations: 128.1 kB / 349.5 MB, free: 11.04 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002443/0.3172, allocations: 1.771 MB / 351.2 MB, free: 9.188 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004014/0.3177, allocations: 0.8684 MB / 352.1 MB, free: 8.293 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0003094/0.318, allocations: 76.97 kB / 352.2 MB, free: 8.215 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001555/0.3181, allocations: 59.42 kB / 352.2 MB, free: 8.156 MB / 286.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3181, allocations: 0 / 352.2 MB, free: 8.156 MB / 286.1 MB Notification: Performance of Templates: time 0.01081/0.329, allocations: 6.351 MB / 358.6 MB, free: 1.801 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)