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.001185/0.001185, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 199.7 kB / 16.54 MB, free: 6.672 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.434/1.434, allocations: 205.1 MB / 222.4 MB, free: 4.625 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.001199/0.001199, allocations: 55.92 kB / 278.7 MB, free: 12.37 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.2691, allocations: 46.63 MB / 325.3 MB, free: 1.836 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.004893/0.2741, allocations: 3.515 MB / 328.8 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001792/0.2759, allocations: 0.9155 MB / 329.7 MB, free: 14.28 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002521/0.2762, allocations: 7.906 kB / 329.7 MB, free: 14.28 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002539/0.2765, allocations: 79.73 kB / 329.8 MB, free: 14.21 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003169/0.2768, allocations: 146.2 kB / 330 MB, free: 14.08 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005097/0.2773, allocations: 153.8 kB / 330.1 MB, free: 13.95 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006834/0.278, allocations: 0.5931 MB / 330.7 MB, free: 13.6 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003885/0.2784, allocations: 191.8 kB / 330.9 MB, free: 13.49 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003205/0.2787, allocations: 241.8 kB / 331.1 MB, free: 13.35 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003422/0.2791, allocations: 268.6 kB / 331.4 MB, free: 13.17 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001201/0.2792, allocations: 51.03 kB / 331.4 MB, free: 13.17 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.2793, allocations: 51.19 kB / 331.5 MB, free: 13.17 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.2794, allocations: 122.3 kB / 331.6 MB, free: 13.06 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002815/0.2797, allocations: 271.8 kB / 331.9 MB, free: 12.88 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006157/0.2803, allocations: 0.5855 MB / 332.5 MB, free: 12.44 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2804, allocations: 0 / 332.5 MB, free: 12.44 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.2804, allocations: 1.094 kB / 332.5 MB, free: 12.44 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.989e-06/0.2804, allocations: 4 kB / 332.5 MB, free: 12.43 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.001729/0.2821, allocations: 0.8447 MB / 333.3 MB, free: 11.75 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.2822, allocations: 9.531 kB / 333.3 MB, free: 11.75 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001199/0.2823, allocations: 60.12 kB / 333.4 MB, free: 11.72 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004252/0.2827, allocations: 328.6 kB / 333.7 MB, free: 11.4 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.969e-05/0.2828, allocations: 33.5 kB / 333.7 MB, free: 11.37 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.806e-05/0.2829, allocations: 56.22 kB / 333.8 MB, free: 11.32 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009012/0.2838, allocations: 458.7 kB / 334.2 MB, free: 10.86 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.386e-05/0.2838, allocations: 4 kB / 334.2 MB, free: 10.86 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.391e-05/0.2839, allocations: 16 kB / 334.3 MB, free: 10.84 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.2839, allocations: 8 kB / 334.3 MB, free: 10.84 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001006/0.2849, allocations: 463.6 kB / 334.7 MB, free: 10.38 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002339/0.2873, allocations: 1.39 MB / 336.1 MB, free: 8.926 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009365/0.2882, allocations: 0.5285 MB / 336.6 MB, free: 8.387 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008069/0.289, allocations: 378.8 kB / 337 MB, free: 8.016 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.113e-05/0.2891, allocations: 8.562 kB / 337 MB, free: 8.008 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.2891, allocations: 39.12 kB / 337.1 MB, free: 7.961 MB / 270.1 MB Notification: Performance of pre-optimization done (n=67): time 1.783e-06/0.2891, allocations: 0 / 337.1 MB, free: 7.961 MB / 270.1 MB Notification: Performance of matching and sorting (n=103): time 0.007157/0.2963, allocations: 3.139 MB / 340.2 MB, free: 4.734 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.291e-05/0.2964, allocations: 60.41 kB / 340.3 MB, free: 4.66 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002705/0.2966, allocations: 250.9 kB / 340.5 MB, free: 4.406 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.923e-05/0.2967, allocations: 49.7 kB / 340.5 MB, free: 4.352 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.2968, allocations: 197.3 kB / 340.7 MB, free: 4.152 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002345/0.2971, allocations: 350.8 kB / 341.1 MB, free: 3.805 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001928/0.2973, allocations: 142.6 kB / 341.2 MB, free: 3.66 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.2974, allocations: 362.8 kB / 341.6 MB, free: 3.297 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005775/0.298, allocations: 277.8 kB / 341.8 MB, free: 3.027 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006167/0.2986, allocations: 353.4 kB / 342.2 MB, free: 2.672 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/0.2998, allocations: 0.6156 MB / 342.8 MB, free: 2.051 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2999, allocations: 0 / 342.8 MB, free: 2.051 MB / 270.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001412/0.3013, allocations: 0.7859 MB / 343.6 MB, free: 1.258 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.3013, allocations: 4 kB / 343.6 MB, free: 1.254 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.3013, allocations: 0 / 343.6 MB, free: 1.254 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/0.3013, allocations: 11.94 kB / 343.6 MB, free: 1.242 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007762/0.3021, allocations: 207.7 kB / 343.8 MB, free: 1.039 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.3021, allocations: 4 kB / 343.8 MB, free: 1.035 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003344/0.3025, allocations: 43.97 kB / 343.9 MB, free: 0.9922 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.236e-05/0.3025, allocations: 35.98 kB / 343.9 MB, free: 0.957 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.0002264/0.3028, allocations: 193.7 kB / 344.1 MB, free: 0.7578 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.131e-05/0.3029, allocations: 55.34 kB / 344.1 MB, free: 0.7031 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001492/0.303, allocations: 73.33 kB / 344.2 MB, free: 0.6328 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.926e-06/0.303, allocations: 12 kB / 344.2 MB, free: 0.6211 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.3031, allocations: 4 kB / 344.2 MB, free: 0.6172 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.46e-05/0.3031, allocations: 3.984 kB / 344.2 MB, free: 0.6133 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002975/0.3061, allocations: 2.005 MB / 346.2 MB, free: 14.49 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.573e-06/0.3061, allocations: 4 kB / 346.2 MB, free: 14.48 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008075/0.3069, allocations: 208.3 kB / 346.4 MB, free: 14.28 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.167e-06/0.3069, allocations: 8 kB / 346.4 MB, free: 14.27 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.418e-05/0.307, allocations: 31.92 kB / 346.5 MB, free: 14.24 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.838e-06/0.307, allocations: 11.94 kB / 346.5 MB, free: 14.23 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.307, allocations: 4 kB / 346.5 MB, free: 14.23 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002261/0.3093, allocations: 1.372 MB / 347.9 MB, free: 12.78 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.3094, allocations: 124.5 kB / 348 MB, free: 12.64 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.046e-05/0.3095, allocations: 31.98 kB / 348 MB, free: 12.61 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003983/0.3099, allocations: 47.97 kB / 348.1 MB, free: 12.56 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/0.31, allocations: 72.78 kB / 348.1 MB, free: 12.49 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.028e-05/0.3101, allocations: 32 kB / 348.2 MB, free: 12.46 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001596/0.3103, allocations: 186 kB / 348.3 MB, free: 12.28 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3103, allocations: 0 / 348.3 MB, free: 12.28 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004939/0.3108, allocations: 152 kB / 348.5 MB, free: 12.13 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.0001798/0.311, allocations: 131 kB / 348.6 MB, free: 11.99 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.00184/0.3128, allocations: 0.7697 MB / 349.4 MB, free: 11.22 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.3128, allocations: 0 / 349.4 MB, free: 11.22 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000766/0.3136, allocations: 450.7 kB / 349.8 MB, free: 10.79 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008526/0.3144, allocations: 127.3 kB / 350 MB, free: 10.66 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002663/0.3171, allocations: 1.533 MB / 351.5 MB, free: 9.047 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004296/0.3176, allocations: 0.8684 MB / 352.4 MB, free: 8.152 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0003121/0.3179, allocations: 76.97 kB / 352.4 MB, free: 8.074 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001595/0.3181, allocations: 59.42 kB / 352.5 MB, free: 8.016 MB / 286.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3181, allocations: 0 / 352.5 MB, free: 8.016 MB / 286.1 MB Notification: Performance of Templates: time 0.01155/0.3296, allocations: 6.515 MB / 359 MB, free: 1.496 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)