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.000984/0.0009844, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009641/0.0009641, allocations: 177.3 kB / 15.94 MB, free: 228 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.607/1.607, allocations: 205.4 MB / 222.1 MB, free: 5.672 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.0005488/0.0005489, allocations: 18.81 kB / 278.9 MB, free: 12.86 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3147/0.3153, allocations: 47.58 MB / 326.4 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.003258/0.3186, allocations: 2.823 MB / 329.3 MB, free: 15.21 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001788/0.3204, allocations: 0.9021 MB / 330.2 MB, free: 14.47 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002258/0.3207, allocations: 7.594 kB / 330.2 MB, free: 14.47 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001044/0.3208, allocations: 58.38 kB / 330.2 MB, free: 14.42 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003445/0.3211, allocations: 173.6 kB / 330.4 MB, free: 14.27 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004359/0.3216, allocations: 109.8 kB / 330.5 MB, free: 14.18 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005993/0.3222, allocations: 407 kB / 330.9 MB, free: 13.93 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003393/0.3225, allocations: 150.6 kB / 331.1 MB, free: 13.84 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003133/0.3229, allocations: 198.4 kB / 331.2 MB, free: 13.73 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003274/0.3232, allocations: 236.3 kB / 331.5 MB, free: 13.58 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.788e-05/0.3233, allocations: 27.31 kB / 331.5 MB, free: 13.58 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.126e-05/0.3234, allocations: 26.62 kB / 331.5 MB, free: 13.58 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.591e-05/0.3235, allocations: 91 kB / 331.6 MB, free: 13.5 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001297/0.3236, allocations: 115.7 kB / 331.7 MB, free: 13.43 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004768/0.3241, allocations: 429.5 kB / 332.1 MB, free: 13.11 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.3241, allocations: 4 kB / 332.2 MB, free: 13.11 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.3241, allocations: 1.094 kB / 332.2 MB, free: 13.11 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.105e-06/0.3241, allocations: 0 / 332.2 MB, free: 13.11 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.001712/0.3258, allocations: 0.8008 MB / 333 MB, free: 12.48 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.3259, allocations: 9.594 kB / 333 MB, free: 12.48 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001266/0.326, allocations: 55.41 kB / 333 MB, free: 12.45 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004608/0.3265, allocations: 315.4 kB / 333.3 MB, free: 12.14 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.493e-05/0.3266, allocations: 40.42 kB / 333.4 MB, free: 12.12 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.772e-05/0.3267, allocations: 46.34 kB / 333.4 MB, free: 12.1 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009675/0.3276, allocations: 464.7 kB / 333.9 MB, free: 11.84 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.773e-05/0.3277, allocations: 6.156 kB / 333.9 MB, free: 11.84 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.679e-05/0.3277, allocations: 20.78 kB / 333.9 MB, free: 11.82 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.639e-05/0.3278, allocations: 10.12 kB / 333.9 MB, free: 11.82 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00105/0.3288, allocations: 495.6 kB / 334.4 MB, free: 11.45 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002303/0.3311, allocations: 1.39 MB / 335.8 MB, free: 9.996 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000986/0.3321, allocations: 0.5596 MB / 336.3 MB, free: 9.43 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.156e-05/0.3322, allocations: 12.52 kB / 336.3 MB, free: 9.418 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.3322, allocations: 39.12 kB / 336.4 MB, free: 9.371 MB / 270.1 MB Notification: Performance of pre-optimization done (n=67): time 2.295e-06/0.3322, allocations: 0 / 336.4 MB, free: 9.371 MB / 270.1 MB Notification: Performance of matching and sorting (n=103): time 0.007214/0.3395, allocations: 3.282 MB / 339.7 MB, free: 6.004 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/0.3395, allocations: 64.41 kB / 339.7 MB, free: 5.93 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002429/0.3398, allocations: 243 kB / 340 MB, free: 5.684 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.822e-05/0.3398, allocations: 45.7 kB / 340 MB, free: 5.633 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.34, allocations: 201.2 kB / 340.2 MB, free: 5.43 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002353/0.3402, allocations: 346.9 kB / 340.5 MB, free: 5.086 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.34e-05/0.3403, allocations: 16 kB / 340.6 MB, free: 5.07 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.3404, allocations: 370.8 kB / 340.9 MB, free: 4.699 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005658/0.341, allocations: 277.9 kB / 341.2 MB, free: 4.426 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006132/0.3416, allocations: 365.4 kB / 341.6 MB, free: 4.062 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006549/0.3423, allocations: 314.9 kB / 341.9 MB, free: 3.758 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.3423, allocations: 0 / 341.9 MB, free: 3.758 MB / 270.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001439/0.3437, allocations: 0.8093 MB / 342.7 MB, free: 2.938 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.3438, allocations: 11.98 kB / 342.7 MB, free: 2.926 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.3438, allocations: 0 / 342.7 MB, free: 2.926 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.3438, allocations: 4 kB / 342.7 MB, free: 2.922 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007905/0.3446, allocations: 215.7 kB / 342.9 MB, free: 2.711 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.461e-05/0.3446, allocations: 15.92 kB / 342.9 MB, free: 2.695 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003679/0.345, allocations: 51.97 kB / 343 MB, free: 2.645 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.08e-05/0.3451, allocations: 35.92 kB / 343 MB, free: 2.609 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.00025/0.3453, allocations: 189.7 kB / 343.2 MB, free: 2.414 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.964e-05/0.3454, allocations: 51.44 kB / 343.2 MB, free: 2.363 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001556/0.3456, allocations: 73.39 kB / 343.3 MB, free: 2.293 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.3456, allocations: 8 kB / 343.3 MB, free: 2.285 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.457e-05/0.3457, allocations: 3.953 kB / 343.3 MB, free: 2.281 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.3457, allocations: 7.984 kB / 343.3 MB, free: 2.273 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003061/0.3487, allocations: 2.025 MB / 345.3 MB, free: 136 kB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.3488, allocations: 4 kB / 345.4 MB, free: 132 kB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007806/0.3495, allocations: 212.3 kB / 345.6 MB, free: 15.92 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.201e-05/0.3496, allocations: 12 kB / 345.6 MB, free: 15.91 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.972e-05/0.3496, allocations: 27.98 kB / 345.6 MB, free: 15.88 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.499e-05/0.3497, allocations: 11.94 kB / 345.6 MB, free: 15.87 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/0.3497, allocations: 8 kB / 345.6 MB, free: 15.86 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002283/0.352, allocations: 1.642 MB / 347.3 MB, free: 14.03 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.3521, allocations: 124.5 kB / 347.4 MB, free: 13.89 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.072e-05/0.3521, allocations: 20.06 kB / 347.4 MB, free: 13.87 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004044/0.3526, allocations: 75.84 kB / 347.5 MB, free: 13.8 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.3527, allocations: 72.8 kB / 347.5 MB, free: 13.73 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-05/0.3527, allocations: 32 kB / 347.6 MB, free: 13.7 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001491/0.3529, allocations: 174 kB / 347.7 MB, free: 13.52 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3529, allocations: 0 / 347.7 MB, free: 13.52 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004884/0.3534, allocations: 160 kB / 347.9 MB, free: 13.37 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.0001701/0.3536, allocations: 131 kB / 348 MB, free: 13.23 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001357/0.3549, allocations: 0.7504 MB / 348.8 MB, free: 12.47 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.355, allocations: 0 / 348.8 MB, free: 12.47 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007602/0.3557, allocations: 462.6 kB / 349.2 MB, free: 12.02 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006393/0.3564, allocations: 96.11 kB / 349.3 MB, free: 11.93 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002703/0.3591, allocations: 1.84 MB / 351.2 MB, free: 10.01 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004375/0.3595, allocations: 0.8774 MB / 352 MB, free: 9.105 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002925/0.3598, allocations: 80.97 kB / 352.1 MB, free: 9.023 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000156/0.36, allocations: 55.42 kB / 352.2 MB, free: 8.969 MB / 286.1 MB Notification: Performance of SimCode: time 3.71e-07/0.36, allocations: 0 / 352.2 MB, free: 8.969 MB / 286.1 MB Notification: Performance of Templates: time 0.0108/0.3708, allocations: 5.726 MB / 357.9 MB, free: 3.238 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.PreLoad.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: