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.001045/0.001045, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001195/0.001195, allocations: 172.7 kB / 15.95 MB, free: 208 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.551/1.551, allocations: 205.4 MB / 222.1 MB, free: 5.512 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.0005608/0.0005608, allocations: 12 kB / 278.9 MB, free: 12.7 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3119, allocations: 47.58 MB / 326.5 MB, free: 1.453 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.003326/0.3153, allocations: 3.005 MB / 329.5 MB, free: 15.09 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001655/0.317, allocations: 0.8712 MB / 330.3 MB, free: 14.36 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001913/0.3172, allocations: 8.5 kB / 330.4 MB, free: 14.36 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001715/0.3174, allocations: 59.44 kB / 330.4 MB, free: 14.31 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002521/0.3177, allocations: 130.8 kB / 330.5 MB, free: 14.2 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003737/0.318, allocations: 117 kB / 330.7 MB, free: 14.1 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005603/0.3186, allocations: 0.5418 MB / 331.2 MB, free: 13.77 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002979/0.3189, allocations: 151.5 kB / 331.3 MB, free: 13.68 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002708/0.3192, allocations: 197.4 kB / 331.5 MB, free: 13.58 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003029/0.3195, allocations: 239.8 kB / 331.8 MB, free: 13.43 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.325e-05/0.3196, allocations: 30.44 kB / 331.8 MB, free: 13.42 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.523e-05/0.3197, allocations: 27.59 kB / 331.8 MB, free: 13.42 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.568e-05/0.3198, allocations: 86.62 kB / 331.9 MB, free: 13.35 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.3199, allocations: 112.6 kB / 332 MB, free: 13.28 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004027/0.3203, allocations: 432.3 kB / 332.4 MB, free: 12.96 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3203, allocations: 0 / 332.4 MB, free: 12.96 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3203, allocations: 0 / 332.4 MB, free: 12.96 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.3203, allocations: 0 / 332.4 MB, free: 12.96 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.001506/0.3218, allocations: 0.8025 MB / 333.2 MB, free: 12.33 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.3219, allocations: 8.844 kB / 333.3 MB, free: 12.33 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001005/0.322, allocations: 55.59 kB / 333.3 MB, free: 12.3 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004073/0.3224, allocations: 319.9 kB / 333.6 MB, free: 11.99 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.039e-05/0.3225, allocations: 35.91 kB / 333.7 MB, free: 11.97 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.57e-05/0.3226, allocations: 46.28 kB / 333.7 MB, free: 11.96 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009364/0.3235, allocations: 466 kB / 334.2 MB, free: 11.68 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.445e-05/0.3235, allocations: 11.91 kB / 334.2 MB, free: 11.67 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.065e-05/0.3236, allocations: 23.98 kB / 334.2 MB, free: 11.64 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.3236, allocations: 11.94 kB / 334.2 MB, free: 11.63 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001021/0.3246, allocations: 491.7 kB / 334.7 MB, free: 11.15 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002218/0.3269, allocations: 1.386 MB / 336.1 MB, free: 9.707 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009252/0.3278, allocations: 0.5557 MB / 336.6 MB, free: 9.145 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007332/0.3285, allocations: 394.9 kB / 337 MB, free: 8.758 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.661e-05/0.3286, allocations: 12.55 kB / 337 MB, free: 8.746 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.3286, allocations: 35.12 kB / 337.1 MB, free: 8.699 MB / 270.1 MB Notification: Performance of pre-optimization done (n=67): time 2.124e-06/0.3286, allocations: 4 kB / 337.1 MB, free: 8.695 MB / 270.1 MB Notification: Performance of matching and sorting (n=103): time 0.007034/0.3357, allocations: 3.282 MB / 340.3 MB, free: 5.332 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.231e-05/0.3358, allocations: 68.41 kB / 340.4 MB, free: 5.254 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002743/0.3361, allocations: 247 kB / 340.7 MB, free: 4.996 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.597e-05/0.3361, allocations: 41.7 kB / 340.7 MB, free: 4.949 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/0.3363, allocations: 201.2 kB / 340.9 MB, free: 4.746 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002481/0.3365, allocations: 346.9 kB / 341.2 MB, free: 4.402 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.716e-05/0.3366, allocations: 20 kB / 341.2 MB, free: 4.383 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.3367, allocations: 362.7 kB / 341.6 MB, free: 4.02 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006066/0.3374, allocations: 293.8 kB / 341.9 MB, free: 3.73 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006813/0.3381, allocations: 361.4 kB / 342.2 MB, free: 3.371 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006181/0.3387, allocations: 315 kB / 342.6 MB, free: 3.066 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3387, allocations: 0 / 342.6 MB, free: 3.066 MB / 270.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001516/0.3402, allocations: 0.8172 MB / 343.4 MB, free: 2.238 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.3402, allocations: 7.938 kB / 343.4 MB, free: 2.23 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.3403, allocations: 0 / 343.4 MB, free: 2.23 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.3403, allocations: 7.953 kB / 343.4 MB, free: 2.223 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008188/0.3411, allocations: 219.7 kB / 343.6 MB, free: 2.008 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.3411, allocations: 4 kB / 343.6 MB, free: 2.004 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003547/0.3415, allocations: 63.95 kB / 343.7 MB, free: 1.941 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.89e-05/0.3416, allocations: 31.98 kB / 343.7 MB, free: 1.91 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.0002508/0.3418, allocations: 197.6 kB / 343.9 MB, free: 1.707 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.603e-05/0.3419, allocations: 51.44 kB / 343.9 MB, free: 1.656 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001737/0.3421, allocations: 69.39 kB / 344 MB, free: 1.59 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/0.3421, allocations: 12 kB / 344 MB, free: 1.578 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.92e-05/0.3421, allocations: 7.938 kB / 344 MB, free: 1.57 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.3421, allocations: 3.984 kB / 344 MB, free: 1.566 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00313/0.3453, allocations: 2.025 MB / 346.1 MB, free: 15.43 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/0.3453, allocations: 4 kB / 346.1 MB, free: 15.43 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007895/0.3461, allocations: 220.3 kB / 346.3 MB, free: 15.21 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.527e-05/0.3461, allocations: 8 kB / 346.3 MB, free: 15.2 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-05/0.3462, allocations: 31.98 kB / 346.3 MB, free: 15.17 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.165e-05/0.3462, allocations: 8 kB / 346.3 MB, free: 15.16 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.314e-06/0.3462, allocations: 7.938 kB / 346.3 MB, free: 15.16 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002299/0.3485, allocations: 1.422 MB / 347.8 MB, free: 13.66 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001795/0.3487, allocations: 132.5 kB / 347.9 MB, free: 13.51 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.22e-05/0.3488, allocations: 20 kB / 347.9 MB, free: 13.49 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003882/0.3492, allocations: 63.95 kB / 348 MB, free: 13.43 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.3493, allocations: 76.81 kB / 348 MB, free: 13.36 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.8e-05/0.3494, allocations: 31.98 kB / 348.1 MB, free: 13.32 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002112/0.3496, allocations: 178 kB / 348.2 MB, free: 13.15 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3496, allocations: 0 / 348.2 MB, free: 13.15 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005764/0.3502, allocations: 156 kB / 348.4 MB, free: 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 (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.0001722/0.3504, allocations: 127.1 kB / 348.5 MB, free: 12.86 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001433/0.3518, allocations: 0.7581 MB / 349.3 MB, free: 12.1 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3518, allocations: 0 / 349.3 MB, free: 12.1 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007589/0.3526, allocations: 466.7 kB / 349.7 MB, free: 11.65 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000801/0.3534, allocations: 120.7 kB / 349.9 MB, free: 11.53 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002777/0.3562, allocations: 1.84 MB / 351.7 MB, free: 9.605 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004689/0.3567, allocations: 0.8648 MB / 352.6 MB, free: 8.715 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0003315/0.357, allocations: 76.98 kB / 352.6 MB, free: 8.637 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001654/0.3572, allocations: 55.42 kB / 352.7 MB, free: 8.582 MB / 286.1 MB Notification: Performance of SimCode: time 9.21e-07/0.3572, allocations: 0 / 352.7 MB, free: 8.582 MB / 286.1 MB Notification: Performance of Templates: time 0.01135/0.3686, allocations: 5.772 MB / 358.5 MB, free: 2.809 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)