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.001274/0.001274, allocations: 108 kB / 15.61 MB, free: 152 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.001413/0.001413, allocations: 193.1 kB / 16.53 MB, free: 6.664 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.605/1.605, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.001607/0.001608, allocations: 51.92 kB / 278.7 MB, free: 12.35 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3266, allocations: 46.63 MB / 325.3 MB, free: 2.098 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.005514/0.3322, allocations: 3.523 MB / 328.8 MB, free: 15.3 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002223/0.3345, allocations: 0.9081 MB / 329.7 MB, free: 14.54 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004255/0.3349, allocations: 11.88 kB / 329.7 MB, free: 14.54 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002806/0.3352, allocations: 83.06 kB / 329.8 MB, free: 14.46 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000467/0.3357, allocations: 142.5 kB / 330 MB, free: 14.34 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006691/0.3364, allocations: 157.5 kB / 330.1 MB, free: 14.2 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00103/0.3374, allocations: 0.5967 MB / 330.7 MB, free: 13.85 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004226/0.3379, allocations: 187.8 kB / 330.9 MB, free: 13.75 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003334/0.3382, allocations: 234.9 kB / 331.1 MB, free: 13.61 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003238/0.3385, allocations: 272.6 kB / 331.4 MB, free: 13.43 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 9.218e-05/0.3386, allocations: 50.66 kB / 331.4 MB, free: 13.43 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.3388, allocations: 50.97 kB / 331.5 MB, free: 13.43 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001188/0.3389, allocations: 119.1 kB / 331.6 MB, free: 13.32 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002782/0.3392, allocations: 274.7 kB / 331.9 MB, free: 13.14 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006619/0.3398, allocations: 0.5896 MB / 332.5 MB, free: 12.69 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.3399, allocations: 1.094 kB / 332.5 MB, free: 12.69 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3399, allocations: 0 / 332.5 MB, free: 12.69 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.3399, allocations: 4 kB / 332.5 MB, free: 12.69 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.001749/0.3416, allocations: 0.8443 MB / 333.3 MB, free: 11.99 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/0.3417, allocations: 12.03 kB / 333.3 MB, free: 11.98 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001223/0.3418, allocations: 56.28 kB / 333.4 MB, free: 11.92 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004344/0.3423, allocations: 323.2 kB / 333.7 MB, free: 11.57 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.638e-05/0.3423, allocations: 37.38 kB / 333.7 MB, free: 11.53 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.048e-05/0.3424, allocations: 56.27 kB / 333.8 MB, free: 11.48 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009578/0.3434, allocations: 454.7 kB / 334.2 MB, free: 11.03 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.496e-05/0.3434, allocations: 3.984 kB / 334.2 MB, free: 11.02 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.153e-05/0.3435, allocations: 16 kB / 334.3 MB, free: 11.01 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.66e-05/0.3435, allocations: 12 kB / 334.3 MB, free: 11 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/0.3445, allocations: 459.7 kB / 334.7 MB, free: 10.54 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002272/0.3468, allocations: 1.386 MB / 336.1 MB, free: 9.094 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009219/0.3477, allocations: 0.5401 MB / 336.6 MB, free: 8.543 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007692/0.3485, allocations: 370.9 kB / 337 MB, free: 8.18 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.523e-05/0.3486, allocations: 16.53 kB / 337 MB, free: 8.164 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/0.3486, allocations: 39.12 kB / 337.1 MB, free: 8.117 MB / 270.1 MB Notification: Performance of pre-optimization done (n=67): time 2.004e-06/0.3486, allocations: 0 / 337.1 MB, free: 8.117 MB / 270.1 MB Notification: Performance of matching and sorting (n=103): time 0.007151/0.3558, allocations: 3.135 MB / 340.2 MB, free: 4.895 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.21e-05/0.3559, allocations: 60.41 kB / 340.3 MB, free: 4.82 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002622/0.3561, allocations: 250.9 kB / 340.5 MB, free: 4.566 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.876e-05/0.3562, allocations: 49.7 kB / 340.5 MB, free: 4.512 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.3563, allocations: 197.3 kB / 340.7 MB, free: 4.312 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002509/0.3566, allocations: 358.7 kB / 341.1 MB, free: 3.957 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001824/0.3568, allocations: 138.7 kB / 341.2 MB, free: 3.816 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.3569, allocations: 362.8 kB / 341.6 MB, free: 3.453 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005757/0.3575, allocations: 273.8 kB / 341.8 MB, free: 3.188 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006121/0.3582, allocations: 349.4 kB / 342.2 MB, free: 2.836 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/0.3593, allocations: 0.6273 MB / 342.8 MB, free: 2.203 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.3593, allocations: 0 / 342.8 MB, free: 2.203 MB / 270.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001387/0.3607, allocations: 0.7781 MB / 343.6 MB, free: 1.418 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.019e-05/0.3608, allocations: 7.984 kB / 343.6 MB, free: 1.41 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/0.3608, allocations: 0 / 343.6 MB, free: 1.41 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.385e-05/0.3608, allocations: 7.938 kB / 343.6 MB, free: 1.402 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007764/0.3616, allocations: 211.7 kB / 343.8 MB, free: 1.195 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.476e-05/0.3616, allocations: 4 kB / 343.8 MB, free: 1.191 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003446/0.362, allocations: 43.97 kB / 343.9 MB, free: 1.148 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.836e-05/0.362, allocations: 31.98 kB / 343.9 MB, free: 1.117 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.0002503/0.3623, allocations: 193.7 kB / 344.1 MB, free: 0.918 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.322e-05/0.3624, allocations: 51.34 kB / 344.1 MB, free: 0.8672 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001548/0.3625, allocations: 81.33 kB / 344.2 MB, free: 0.7891 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/0.3625, allocations: 12 kB / 344.2 MB, free: 0.7773 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.487e-06/0.3626, allocations: 0 / 344.2 MB, free: 0.7773 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.3626, allocations: 7.984 kB / 344.2 MB, free: 0.7695 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002858/0.3654, allocations: 1.998 MB / 346.2 MB, free: 14.65 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/0.3655, allocations: 12 kB / 346.2 MB, free: 14.64 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007632/0.3662, allocations: 208.3 kB / 346.4 MB, free: 14.44 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.488e-06/0.3663, allocations: 8 kB / 346.5 MB, free: 14.43 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.812e-05/0.3663, allocations: 27.94 kB / 346.5 MB, free: 14.4 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.977e-06/0.3663, allocations: 11.98 kB / 346.5 MB, free: 14.39 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.3663, allocations: 7.938 kB / 346.5 MB, free: 14.38 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002076/0.3684, allocations: 1.368 MB / 347.9 MB, free: 12.94 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.481e-05/0.3685, allocations: 124.5 kB / 348 MB, free: 12.8 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.658e-05/0.3686, allocations: 31.98 kB / 348 MB, free: 12.77 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003845/0.369, allocations: 47.97 kB / 348.1 MB, free: 12.72 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/0.3691, allocations: 76.78 kB / 348.1 MB, free: 12.65 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.189e-05/0.3692, allocations: 28 kB / 348.2 MB, free: 12.62 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001554/0.3693, allocations: 186 kB / 348.4 MB, free: 12.44 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3694, allocations: 0 / 348.4 MB, free: 12.44 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004844/0.3698, allocations: 152 kB / 348.5 MB, free: 12.29 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.0001545/0.37, allocations: 127.1 kB / 348.6 MB, free: 12.16 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001753/0.3718, allocations: 0.7697 MB / 349.4 MB, free: 11.39 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3718, allocations: 0 / 349.4 MB, free: 11.39 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007234/0.3725, allocations: 454.6 kB / 349.8 MB, free: 10.95 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000842/0.3734, allocations: 119.8 kB / 350 MB, free: 10.83 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002365/0.3757, allocations: 1.533 MB / 351.5 MB, free: 9.215 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003509/0.3761, allocations: 0.8723 MB / 352.4 MB, free: 8.316 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002875/0.3764, allocations: 76.97 kB / 352.4 MB, free: 8.238 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001475/0.3765, allocations: 59.42 kB / 352.5 MB, free: 8.18 MB / 286.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3766, allocations: 0 / 352.5 MB, free: 8.18 MB / 286.1 MB Notification: Performance of Templates: time 0.01147/0.388, allocations: 6.507 MB / 359 MB, free: 1.668 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)