Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.Translational.Examples.ElastoGap.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.ElastoGap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Translational.Examples.ElastoGap") translateModel(Modelica.Mechanics.Translational.Examples.ElastoGap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Translational.Examples.ElastoGap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 108 kB / 15.6 MB, free: 132 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.001364/0.001365, allocations: 199.7 kB / 16.54 MB, free: 6.672 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.636/1.636, allocations: 205.1 MB / 222.4 MB, free: 4.629 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.001448/0.001448, allocations: 55.92 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3014, allocations: 46.64 MB / 325.3 MB, free: 1.84 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.003857/0.3053, allocations: 2.585 MB / 327.9 MB, free: 15.79 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008236/0.3061, allocations: 384.7 kB / 328.3 MB, free: 15.46 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001411/0.3063, allocations: 3.594 kB / 328.3 MB, free: 15.46 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001721/0.3065, allocations: 52.38 kB / 328.3 MB, free: 15.42 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001711/0.3067, allocations: 98.81 kB / 328.4 MB, free: 15.33 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003309/0.307, allocations: 86.34 kB / 328.5 MB, free: 15.26 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004133/0.3074, allocations: 376.2 kB / 328.9 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002612/0.3077, allocations: 115.4 kB / 329 MB, free: 14.97 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001767/0.3079, allocations: 139.8 kB / 329.1 MB, free: 14.89 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002216/0.3081, allocations: 164.7 kB / 329.3 MB, free: 14.78 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.224e-05/0.3082, allocations: 30.44 kB / 329.3 MB, free: 14.78 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.541e-05/0.3083, allocations: 29.47 kB / 329.3 MB, free: 14.78 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.367e-05/0.3083, allocations: 69.84 kB / 329.4 MB, free: 14.72 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000188/0.3085, allocations: 164.7 kB / 329.6 MB, free: 14.61 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004126/0.3089, allocations: 370.6 kB / 329.9 MB, free: 14.34 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.309, allocations: 5.062 kB / 329.9 MB, free: 14.34 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.309, allocations: 0 / 329.9 MB, free: 14.34 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.076e-06/0.309, allocations: 0 / 329.9 MB, free: 14.34 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.001224/0.3102, allocations: 0.6263 MB / 330.6 MB, free: 13.79 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.3103, allocations: 8.875 kB / 330.6 MB, free: 13.79 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.639e-05/0.3104, allocations: 38.81 kB / 330.6 MB, free: 13.77 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003159/0.3107, allocations: 270.4 kB / 330.9 MB, free: 13.49 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.747e-05/0.3107, allocations: 19.84 kB / 330.9 MB, free: 13.48 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.632e-05/0.3108, allocations: 31.44 kB / 330.9 MB, free: 13.47 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006197/0.3114, allocations: 274.2 kB / 331.2 MB, free: 13.3 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/0.3115, allocations: 9.406 kB / 331.2 MB, free: 13.3 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.237e-05/0.3115, allocations: 13.31 kB / 331.2 MB, free: 13.29 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.3115, allocations: 7.188 kB / 331.2 MB, free: 13.29 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006473/0.3122, allocations: 264.7 kB / 331.5 MB, free: 13.16 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001373/0.3136, allocations: 0.7813 MB / 332.3 MB, free: 12.53 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007272/0.3143, allocations: 368.1 kB / 332.6 MB, free: 12.32 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004033/0.3147, allocations: 197.6 kB / 332.8 MB, free: 12.23 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.893e-05/0.3148, allocations: 4 kB / 332.8 MB, free: 12.22 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.3148, allocations: 34.56 kB / 332.8 MB, free: 12.18 MB / 270.1 MB Notification: Performance of pre-optimization done (n=43): time 2.154e-06/0.3148, allocations: 0 / 332.8 MB, free: 12.18 MB / 270.1 MB Notification: Performance of matching and sorting (n=63): time 0.004391/0.3192, allocations: 1.973 MB / 334.8 MB, free: 10.12 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.635e-05/0.3193, allocations: 55.97 kB / 334.9 MB, free: 10.05 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000345/0.3196, allocations: 202.8 kB / 335.1 MB, free: 9.844 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.997e-05/0.3197, allocations: 37.64 kB / 335.1 MB, free: 9.801 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.3198, allocations: 145 kB / 335.3 MB, free: 9.652 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000166/0.32, allocations: 216.8 kB / 335.5 MB, free: 9.438 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002257/0.3202, allocations: 94.23 kB / 335.6 MB, free: 9.336 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.3204, allocations: 346.8 kB / 335.9 MB, free: 8.988 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00036/0.3208, allocations: 161 kB / 336.1 MB, free: 8.832 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002994/0.3211, allocations: 169 kB / 336.2 MB, free: 8.668 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006462/0.3217, allocations: 380 kB / 336.6 MB, free: 8.293 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3218, allocations: 0 / 336.6 MB, free: 8.293 MB / 270.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009579/0.3227, allocations: 490.6 kB / 337.1 MB, free: 7.809 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.3228, allocations: 4 kB / 337.1 MB, free: 7.805 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.3228, allocations: 0 / 337.1 MB, free: 7.805 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.564e-05/0.3228, allocations: 4 kB / 337.1 MB, free: 7.801 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004619/0.3233, allocations: 123.8 kB / 337.2 MB, free: 7.68 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.3233, allocations: 4 kB / 337.2 MB, free: 7.676 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001986/0.3235, allocations: 19.98 kB / 337.2 MB, free: 7.656 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.487e-05/0.3235, allocations: 23.92 kB / 337.2 MB, free: 7.633 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (elastoGap2.contact,elastoGap1.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * 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.0001813/0.3237, allocations: 157.8 kB / 337.4 MB, free: 7.469 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.36e-05/0.3238, allocations: 31.62 kB / 337.4 MB, free: 7.438 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001146/0.3239, allocations: 47.34 kB / 337.5 MB, free: 7.395 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.3239, allocations: 8 kB / 337.5 MB, free: 7.387 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.3239, allocations: 0 / 337.5 MB, free: 7.387 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.797e-06/0.324, allocations: 3.984 kB / 337.5 MB, free: 7.383 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001942/0.3259, allocations: 1.317 MB / 338.8 MB, free: 5.949 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.3259, allocations: 8.062 kB / 338.8 MB, free: 5.941 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004565/0.3264, allocations: 123.8 kB / 338.9 MB, free: 5.82 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-05/0.3264, allocations: 15.92 kB / 338.9 MB, free: 5.805 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.317e-05/0.3264, allocations: 20 kB / 339 MB, free: 5.785 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.175e-06/0.3265, allocations: 11.94 kB / 339 MB, free: 5.773 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.3265, allocations: 4 kB / 339 MB, free: 5.77 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001414/0.3279, allocations: 0.89 MB / 339.9 MB, free: 4.809 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.493e-05/0.328, allocations: 108.7 kB / 340 MB, free: 4.684 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.538e-05/0.328, allocations: 20.03 kB / 340 MB, free: 4.664 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003639/0.3284, allocations: 23.98 kB / 340 MB, free: 4.641 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/0.3286, allocations: 55.83 kB / 340.1 MB, free: 4.586 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.587e-05/0.3286, allocations: 20 kB / 340.1 MB, free: 4.566 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001762/0.3288, allocations: 140.4 kB / 340.2 MB, free: 4.43 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3288, allocations: 0 / 340.2 MB, free: 4.43 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0005882/0.3294, allocations: 99.98 kB / 340.3 MB, free: 4.332 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 4 (springDamper2.s_rel,springDamper2.v_rel,elastoGap2.s_rel,elastoGap2.v_rel) * Number of discrete variables: 2 (elastoGap1.contact,elastoGap2.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 63 * 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.0001903/0.3296, allocations: 123 kB / 340.5 MB, free: 4.203 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001401/0.331, allocations: 466.6 kB / 340.9 MB, free: 3.746 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.3311, allocations: 3.938 kB / 340.9 MB, free: 3.742 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00059/0.3317, allocations: 253 kB / 341.2 MB, free: 3.496 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/0.3327, allocations: 83.88 kB / 341.2 MB, free: 3.414 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002457/0.3352, allocations: 1.018 MB / 342.3 MB, free: 2.312 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006183/0.3358, allocations: 0.7894 MB / 343 MB, free: 1.5 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0002811/0.3361, allocations: 47.25 kB / 343.1 MB, free: 1.453 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001381/0.3363, allocations: 43.42 kB / 343.1 MB, free: 1.41 MB / 270.1 MB Notification: Performance of SimCode: time 8.22e-07/0.3363, allocations: 0 / 343.1 MB, free: 1.41 MB / 270.1 MB Notification: Performance of Templates: time 0.01149/0.3478, allocations: 4.1 MB / 347.2 MB, free: 13.31 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.ElastoGap.makefile (rm -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Translational.Examples.ElastoGap.sim & ./Modelica_3.1_Modelica.Mechanics.Translational.Examples.ElastoGap -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe 2>&1)