Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Mechanics.Translational.Examples.PreLoad") translateModel(Modelica.Mechanics.Translational.Examples.PreLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001175/0.001175, allocations: 113.1 kB / 17.06 MB, free: 5.973 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.00117/0.00117, allocations: 200 kB / 18.01 MB, free: 5.055 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.516/1.516, allocations: 205.1 MB / 223.9 MB, free: 12.21 MB / 190.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.001298/0.001298, allocations: 51.94 kB / 327.9 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1152, allocations: 46.61 MB / 374.5 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.005083/0.1204, allocations: 3.515 MB / 378 MB, free: 1.039 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001957/0.1223, allocations: 0.9081 MB / 378.9 MB, free: 124 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000432/0.1228, allocations: 11.94 kB / 378.9 MB, free: 112 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003003/0.1232, allocations: 79.22 kB / 379 MB, free: 32 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2223/0.3454, allocations: 145.4 kB / 379.1 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006727/0.3461, allocations: 152.3 kB / 379.3 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006929/0.3468, allocations: 0.595 MB / 379.9 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000327/0.3472, allocations: 196.8 kB / 380.1 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003078/0.3475, allocations: 244.7 kB / 380.3 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003041/0.3478, allocations: 268.5 kB / 380.6 MB, free: 9.605 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.439e-05/0.3479, allocations: 51.31 kB / 380.6 MB, free: 9.605 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.711e-05/0.348, allocations: 50.84 kB / 380.7 MB, free: 9.605 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.216e-05/0.3481, allocations: 125 kB / 380.8 MB, free: 9.586 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002234/0.3483, allocations: 268.8 kB / 381 MB, free: 9.512 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007735/0.3491, allocations: 0.6028 MB / 381.7 MB, free: 9.422 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3491, allocations: 0.6094 kB / 381.7 MB, free: 9.422 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3491, allocations: 0.5 kB / 381.7 MB, free: 9.422 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.122e-05/0.3491, allocations: 0.5 kB / 381.7 MB, free: 9.422 MB / 318.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.001759/0.3509, allocations: 0.8498 MB / 382.5 MB, free: 8.91 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.3509, allocations: 8.594 kB / 382.5 MB, free: 8.91 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001177/0.3511, allocations: 57.05 kB / 382.6 MB, free: 8.883 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004678/0.3515, allocations: 325.2 kB / 382.9 MB, free: 8.648 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.427e-05/0.3516, allocations: 36.59 kB / 382.9 MB, free: 8.645 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.919e-05/0.3517, allocations: 46.38 kB / 383 MB, free: 8.645 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009399/0.3526, allocations: 459.7 kB / 383.4 MB, free: 8.598 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.673e-05/0.3527, allocations: 9.484 kB / 383.4 MB, free: 8.59 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.982e-05/0.3527, allocations: 19.25 kB / 383.4 MB, free: 8.59 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.509e-05/0.3527, allocations: 11.36 kB / 383.5 MB, free: 8.59 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001202/0.354, allocations: 456.5 kB / 383.9 MB, free: 8.562 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002321/0.3563, allocations: 1.383 MB / 385.3 MB, free: 7.797 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009842/0.3573, allocations: 0.5391 MB / 385.8 MB, free: 7.57 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008427/0.3581, allocations: 376.4 kB / 386.2 MB, free: 7.453 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.354e-05/0.3582, allocations: 14.31 kB / 386.2 MB, free: 7.453 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.3582, allocations: 38.81 kB / 386.2 MB, free: 7.41 MB / 318.1 MB Notification: Performance of pre-optimization done (n=67): time 2.545e-06/0.3582, allocations: 0 / 386.2 MB, free: 7.41 MB / 318.1 MB Notification: Performance of matching and sorting (n=103): time 0.007675/0.3659, allocations: 3.137 MB / 389.4 MB, free: 6.004 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.366, allocations: 70.52 kB / 389.4 MB, free: 5.934 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003026/0.3663, allocations: 251.7 kB / 389.7 MB, free: 5.789 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.17e-05/0.3664, allocations: 40.36 kB / 389.7 MB, free: 5.746 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.3665, allocations: 199 kB / 389.9 MB, free: 5.582 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002314/0.3667, allocations: 347 kB / 390.3 MB, free: 5.312 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002219/0.367, allocations: 144.8 kB / 390.4 MB, free: 5.234 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.3671, allocations: 361.9 kB / 390.8 MB, free: 4.902 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006187/0.3677, allocations: 275.5 kB / 391 MB, free: 4.812 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006618/0.3684, allocations: 348.2 kB / 391.4 MB, free: 4.68 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001275/0.3697, allocations: 0.6207 MB / 392 MB, free: 4.402 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.3697, allocations: 3.938 kB / 392 MB, free: 4.398 MB / 318.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001605/0.3713, allocations: 0.7849 MB / 392.8 MB, free: 4.094 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.3713, allocations: 9.531 kB / 392.8 MB, free: 4.094 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.3713, allocations: 0 / 392.8 MB, free: 4.094 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.3e-05/0.3714, allocations: 8.312 kB / 392.8 MB, free: 4.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008083/0.3722, allocations: 213.5 kB / 393 MB, free: 4.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.3722, allocations: 3.578 kB / 393 MB, free: 4.07 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003893/0.3726, allocations: 49.75 kB / 393.1 MB, free: 4.055 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-05/0.3726, allocations: 30.22 kB / 393.1 MB, free: 4.047 MB / 318.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.000232/0.3729, allocations: 187.5 kB / 393.3 MB, free: 3.879 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.54e-05/0.373, allocations: 56.41 kB / 393.3 MB, free: 3.852 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001544/0.3731, allocations: 77.17 kB / 393.4 MB, free: 3.781 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-05/0.3732, allocations: 13.03 kB / 393.4 MB, free: 3.777 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-05/0.3732, allocations: 2.344 kB / 393.4 MB, free: 3.777 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.471e-05/0.3732, allocations: 4.781 kB / 393.4 MB, free: 3.777 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003367/0.3766, allocations: 1.973 MB / 395.4 MB, free: 2.711 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.23e-05/0.3766, allocations: 6.062 kB / 395.4 MB, free: 2.711 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008686/0.3775, allocations: 203.9 kB / 395.6 MB, free: 2.691 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.73e-05/0.3775, allocations: 9.469 kB / 395.6 MB, free: 2.691 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.273e-05/0.3776, allocations: 28.58 kB / 395.6 MB, free: 2.676 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.586e-05/0.3776, allocations: 18.62 kB / 395.7 MB, free: 2.668 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/0.3776, allocations: 4.125 kB / 395.7 MB, free: 2.668 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00234/0.38, allocations: 1.379 MB / 397 MB, free: 1.926 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001491/0.3801, allocations: 125.8 kB / 397.2 MB, free: 1.805 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.521e-05/0.3802, allocations: 28.19 kB / 397.2 MB, free: 1.789 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003908/0.3806, allocations: 49.34 kB / 397.2 MB, free: 1.773 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001518/0.3808, allocations: 74.27 kB / 397.3 MB, free: 1.754 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.453e-05/0.3808, allocations: 39.14 kB / 397.3 MB, free: 1.742 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001824/0.381, allocations: 175.1 kB / 397.5 MB, free: 1.641 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.373e-06/0.381, allocations: 0 / 397.5 MB, free: 1.641 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006258/0.3817, allocations: 159.2 kB / 397.7 MB, free: 1.609 MB / 318.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.0001605/0.3818, allocations: 132.4 kB / 397.8 MB, free: 1.492 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001603/0.3834, allocations: 0.7302 MB / 398.5 MB, free: 1.266 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3835, allocations: 1.031 kB / 398.5 MB, free: 1.266 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008454/0.3843, allocations: 447.6 kB / 399 MB, free: 1.129 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008814/0.3852, allocations: 117.8 kB / 399.1 MB, free: 1.082 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002693/0.3879, allocations: 1.526 MB / 400.6 MB, free: 96 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006416/0.3886, allocations: 0.8653 MB / 401.5 MB, free: 15.38 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003874/0.389, allocations: 75.27 kB / 401.5 MB, free: 15.37 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002033/0.3892, allocations: 58.56 kB / 401.6 MB, free: 15.36 MB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3892, allocations: 0 / 401.6 MB, free: 15.36 MB / 334.1 MB Notification: Performance of Templates: time 0.01515/0.4043, allocations: 6.808 MB / 408.4 MB, free: 12.12 MB / 334.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.PreLoad.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1)