Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Mechanics.Translational.Examples.PreLoad") translateModel(Modelica.Mechanics.Translational.Examples.PreLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.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.0009462/0.0009462, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.007054/0.007054, allocations: 170 kB / 16.27 MB, free: 6.652 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.647/1.647, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.0004457/0.0004458, allocations: 8 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3089, allocations: 47.6 MB / 327 MB, free: 1.371 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.003542/0.3125, allocations: 3.152 MB / 330.2 MB, free: 14.87 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003083/0.3156, allocations: 0.893 MB / 331.1 MB, free: 14.12 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004529/0.3161, allocations: 11.72 kB / 331.1 MB, free: 14.12 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002965/0.3164, allocations: 55.39 kB / 331.1 MB, free: 14.07 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003902/0.3168, allocations: 127.8 kB / 331.3 MB, free: 13.96 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005346/0.3173, allocations: 137 kB / 331.4 MB, free: 13.85 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006587/0.318, allocations: 0.5758 MB / 332 MB, free: 13.51 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003346/0.3183, allocations: 152.6 kB / 332.1 MB, free: 13.42 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003105/0.3187, allocations: 209.5 kB / 332.3 MB, free: 13.3 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003158/0.319, allocations: 244.5 kB / 332.6 MB, free: 13.14 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.741e-05/0.3191, allocations: 26.66 kB / 332.6 MB, free: 13.14 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.583e-05/0.3192, allocations: 27.19 kB / 332.6 MB, free: 13.14 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001036/0.3193, allocations: 89.91 kB / 332.7 MB, free: 13.07 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002396/0.3195, allocations: 266.8 kB / 333 MB, free: 12.88 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006607/0.3202, allocations: 0.5508 MB / 333.5 MB, free: 12.47 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.558e-06/0.3202, allocations: 0 / 333.5 MB, free: 12.47 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.767e-06/0.3202, allocations: 1.375 kB / 333.5 MB, free: 12.47 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.437e-05/0.3202, allocations: 0 / 333.5 MB, free: 12.47 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.001958/0.3222, allocations: 0.8013 MB / 334.3 MB, free: 11.84 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.622e-05/0.3223, allocations: 9.219 kB / 334.3 MB, free: 11.84 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001419/0.3224, allocations: 56.25 kB / 334.4 MB, free: 11.81 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004291/0.3229, allocations: 325 kB / 334.7 MB, free: 11.49 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.678e-05/0.323, allocations: 40.56 kB / 334.7 MB, free: 11.47 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.091e-05/0.3231, allocations: 50.5 kB / 334.8 MB, free: 11.45 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009591/0.324, allocations: 478.5 kB / 335.3 MB, free: 11.02 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.3241, allocations: 0 / 335.3 MB, free: 11.02 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.626e-05/0.3241, allocations: 20 kB / 335.3 MB, free: 11 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/0.3241, allocations: 12 kB / 335.3 MB, free: 10.98 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001058/0.3252, allocations: 495.7 kB / 335.8 MB, free: 10.5 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002331/0.3275, allocations: 1.401 MB / 337.2 MB, free: 9.035 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009809/0.3285, allocations: 0.5636 MB / 337.7 MB, free: 8.461 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007905/0.3293, allocations: 382.9 kB / 338.1 MB, free: 8.086 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.544e-05/0.3294, allocations: 12.56 kB / 338.1 MB, free: 8.074 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/0.3294, allocations: 39.12 kB / 338.2 MB, free: 8.027 MB / 270.1 MB Notification: Performance of pre-optimization done (n=67): time 2.444e-06/0.3294, allocations: 0 / 338.2 MB, free: 8.027 MB / 270.1 MB Notification: Performance of matching and sorting (n=103): time 0.007395/0.3368, allocations: 3.303 MB / 341.5 MB, free: 4.637 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.3369, allocations: 60.41 kB / 341.5 MB, free: 4.566 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002508/0.3372, allocations: 247 kB / 341.8 MB, free: 4.312 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 5.537e-05/0.3372, allocations: 49.7 kB / 341.8 MB, free: 4.258 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/0.3374, allocations: 201.2 kB / 342 MB, free: 4.055 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002333/0.3376, allocations: 350.8 kB / 342.4 MB, free: 3.707 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.304e-05/0.3377, allocations: 81.61 kB / 342.4 MB, free: 3.621 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.3379, allocations: 358.8 kB / 342.8 MB, free: 3.262 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005997/0.3385, allocations: 293.8 kB / 343.1 MB, free: 2.977 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006608/0.3391, allocations: 369.4 kB / 343.4 MB, free: 2.605 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001219/0.3404, allocations: 0.6586 MB / 344.1 MB, free: 1.941 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3404, allocations: 0 / 344.1 MB, free: 1.941 MB / 270.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001465/0.3419, allocations: 0.8211 MB / 344.9 MB, free: 1.109 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.3419, allocations: 8 kB / 344.9 MB, free: 1.102 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.3419, allocations: 0 / 344.9 MB, free: 1.102 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.3419, allocations: 7.938 kB / 344.9 MB, free: 1.094 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000782/0.3427, allocations: 223.7 kB / 345.2 MB, free: 0.875 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.3427, allocations: 4 kB / 345.2 MB, free: 0.8711 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003826/0.3431, allocations: 59.95 kB / 345.2 MB, free: 0.8125 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.626e-05/0.3432, allocations: 28 kB / 345.2 MB, free: 0.7852 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.0002417/0.3434, allocations: 189.7 kB / 345.4 MB, free: 0.5898 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.888e-05/0.3435, allocations: 51.44 kB / 345.5 MB, free: 0.5391 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001769/0.3437, allocations: 77.33 kB / 345.6 MB, free: 476 kB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.3437, allocations: 8 kB / 345.6 MB, free: 468 kB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.445e-06/0.3437, allocations: 8 kB / 345.6 MB, free: 460 kB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.3437, allocations: 7.969 kB / 345.6 MB, free: 452 kB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00301/0.3468, allocations: 2.037 MB / 347.6 MB, free: 14.29 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.3468, allocations: 8.094 kB / 347.6 MB, free: 14.28 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008017/0.3476, allocations: 215.7 kB / 347.8 MB, free: 14.07 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.087e-06/0.3476, allocations: 8 kB / 347.8 MB, free: 14.06 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.004e-05/0.3477, allocations: 27.92 kB / 347.9 MB, free: 14.04 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.717e-06/0.3477, allocations: 8 kB / 347.9 MB, free: 14.03 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.3477, allocations: 11.94 kB / 347.9 MB, free: 14.02 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002258/0.3499, allocations: 1.426 MB / 349.3 MB, free: 12.52 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.3501, allocations: 120.5 kB / 349.4 MB, free: 12.38 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.268e-05/0.3501, allocations: 31.98 kB / 349.5 MB, free: 12.35 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003966/0.3505, allocations: 63.91 kB / 349.5 MB, free: 12.29 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/0.3507, allocations: 76.78 kB / 349.6 MB, free: 12.21 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.597e-05/0.3507, allocations: 35.98 kB / 349.6 MB, free: 12.18 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001574/0.3509, allocations: 174 kB / 349.8 MB, free: 12.01 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3509, allocations: 0 / 349.8 MB, free: 12.01 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005126/0.3514, allocations: 156 kB / 350 MB, free: 11.86 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.0001826/0.3516, allocations: 135 kB / 350.1 MB, free: 11.71 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001449/0.3531, allocations: 0.766 MB / 350.9 MB, free: 10.95 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.3531, allocations: 0 / 350.9 MB, free: 10.95 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007981/0.3539, allocations: 466.7 kB / 351.3 MB, free: 10.49 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009444/0.3548, allocations: 108.8 kB / 351.4 MB, free: 10.38 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002533/0.3574, allocations: 1.895 MB / 353.3 MB, free: 8.402 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004267/0.3578, allocations: 0.8726 MB / 354.2 MB, free: 7.504 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0003157/0.3582, allocations: 68.98 kB / 354.2 MB, free: 7.434 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001674/0.3583, allocations: 67.41 kB / 354.3 MB, free: 7.367 MB / 286.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3583, allocations: 0 / 354.3 MB, free: 7.367 MB / 286.1 MB Notification: Performance of Templates: time 0.01092/0.3693, allocations: 5.979 MB / 360.3 MB, free: 1.387 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.PreLoad.makefile (rm -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_3.1_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1)