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.001006/0.001006, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.009144/0.009144, allocations: 174.9 kB / 16.27 MB, free: 6.613 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.765/1.765, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.0007614/0.0007616, allocations: 12 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3105, allocations: 47.59 MB / 327 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.002756/0.3133, allocations: 2.269 MB / 329.3 MB, free: 15.61 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001008/0.3143, allocations: 369 kB / 329.7 MB, free: 15.3 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002804/0.3146, allocations: 8.031 kB / 329.7 MB, free: 15.3 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002063/0.3148, allocations: 40.59 kB / 329.7 MB, free: 15.27 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003146/0.3152, allocations: 81.44 kB / 329.8 MB, free: 15.2 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003772/0.3156, allocations: 75.3 kB / 329.9 MB, free: 15.13 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004514/0.316, allocations: 364.2 kB / 330.2 MB, free: 14.92 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002525/0.3163, allocations: 96.36 kB / 330.3 MB, free: 14.86 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001691/0.3165, allocations: 121 kB / 330.4 MB, free: 14.8 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001914/0.3167, allocations: 148.4 kB / 330.6 MB, free: 14.7 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.048e-05/0.3167, allocations: 15.75 kB / 330.6 MB, free: 14.7 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.366e-05/0.3168, allocations: 16.72 kB / 330.6 MB, free: 14.7 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.474e-05/0.3168, allocations: 52.55 kB / 330.7 MB, free: 14.66 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001567/0.317, allocations: 177.4 kB / 330.8 MB, free: 14.53 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003519/0.3174, allocations: 345.5 kB / 331.2 MB, free: 14.28 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3174, allocations: 1.156 kB / 331.2 MB, free: 14.28 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3174, allocations: 0 / 331.2 MB, free: 14.28 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.3174, allocations: 0 / 331.2 MB, free: 14.28 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.001045/0.3184, allocations: 0.59 MB / 331.8 MB, free: 13.76 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.3185, allocations: 10.03 kB / 331.8 MB, free: 13.76 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.034e-05/0.3186, allocations: 32.91 kB / 331.8 MB, free: 13.75 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003201/0.3189, allocations: 271.1 kB / 332.1 MB, free: 13.47 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.604e-05/0.319, allocations: 24.66 kB / 332.1 MB, free: 13.46 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.177e-05/0.319, allocations: 30.66 kB / 332.1 MB, free: 13.45 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005949/0.3196, allocations: 281.7 kB / 332.4 MB, free: 13.28 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/0.3197, allocations: 1.188 kB / 332.4 MB, free: 13.28 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.706e-05/0.3197, allocations: 17.97 kB / 332.4 MB, free: 13.26 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.478e-05/0.3197, allocations: 7.062 kB / 332.4 MB, free: 13.26 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006467/0.3204, allocations: 280.2 kB / 332.7 MB, free: 13.14 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001391/0.3218, allocations: 0.8019 MB / 333.5 MB, free: 12.49 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006776/0.3225, allocations: 364.7 kB / 333.8 MB, free: 12.3 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004105/0.3229, allocations: 211.7 kB / 334.1 MB, free: 12.17 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.573e-05/0.3229, allocations: 11.92 kB / 334.1 MB, free: 12.16 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.323, allocations: 38.56 kB / 334.1 MB, free: 12.11 MB / 270.1 MB Notification: Performance of pre-optimization done (n=43): time 1.603e-06/0.323, allocations: 0 / 334.1 MB, free: 12.11 MB / 270.1 MB Notification: Performance of matching and sorting (n=63): time 0.004369/0.3273, allocations: 2.035 MB / 336.1 MB, free: 9.992 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/0.3274, allocations: 67.95 kB / 336.2 MB, free: 9.91 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/0.3276, allocations: 198.7 kB / 336.4 MB, free: 9.703 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000115/0.3277, allocations: 33.7 kB / 336.4 MB, free: 9.664 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.654e-05/0.3278, allocations: 145 kB / 336.6 MB, free: 9.516 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001526/0.328, allocations: 216.8 kB / 336.8 MB, free: 9.301 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.437e-05/0.3281, allocations: 49.69 kB / 336.8 MB, free: 9.246 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.3282, allocations: 346.8 kB / 337.2 MB, free: 8.898 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003338/0.3285, allocations: 173 kB / 337.3 MB, free: 8.73 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003216/0.3289, allocations: 173 kB / 337.5 MB, free: 8.562 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006931/0.3296, allocations: 396 kB / 337.9 MB, free: 8.172 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.3296, allocations: 0 / 337.9 MB, free: 8.172 MB / 270.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008472/0.3304, allocations: 0.4947 MB / 338.4 MB, free: 7.672 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.3305, allocations: 8 kB / 338.4 MB, free: 7.664 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.3305, allocations: 0 / 338.4 MB, free: 7.664 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.3305, allocations: 0 / 338.4 MB, free: 7.664 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000489/0.331, allocations: 131.8 kB / 338.5 MB, free: 7.535 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.331, allocations: 0 / 338.5 MB, free: 7.535 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002171/0.3312, allocations: 27.98 kB / 338.6 MB, free: 7.508 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.329e-05/0.3313, allocations: 27.86 kB / 338.6 MB, free: 7.48 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.0001749/0.3315, allocations: 161.8 kB / 338.7 MB, free: 7.312 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.232e-05/0.3315, allocations: 35.53 kB / 338.8 MB, free: 7.277 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001191/0.3317, allocations: 51.34 kB / 338.8 MB, free: 7.23 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.3317, allocations: 4 kB / 338.8 MB, free: 7.227 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.3317, allocations: 3.984 kB / 338.8 MB, free: 7.223 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.3317, allocations: 3.984 kB / 338.8 MB, free: 7.219 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001936/0.3336, allocations: 1.333 MB / 340.2 MB, free: 5.77 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.241e-06/0.3337, allocations: 4 kB / 340.2 MB, free: 5.766 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004696/0.3341, allocations: 136.4 kB / 340.3 MB, free: 5.633 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-05/0.3341, allocations: 11.94 kB / 340.3 MB, free: 5.621 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.149e-05/0.3342, allocations: 16 kB / 340.3 MB, free: 5.605 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.205e-06/0.3342, allocations: 7.938 kB / 340.3 MB, free: 5.598 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/0.3342, allocations: 8 kB / 340.4 MB, free: 5.59 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001338/0.3356, allocations: 0.9057 MB / 341.3 MB, free: 4.613 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.872e-05/0.3357, allocations: 112.7 kB / 341.4 MB, free: 4.484 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.949e-05/0.3357, allocations: 23.97 kB / 341.4 MB, free: 4.461 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002508/0.336, allocations: 31.98 kB / 341.4 MB, free: 4.43 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.86e-05/0.3361, allocations: 51.83 kB / 341.5 MB, free: 4.379 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.261e-05/0.3361, allocations: 23.98 kB / 341.5 MB, free: 4.355 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.000114/0.3362, allocations: 140.6 kB / 341.6 MB, free: 4.219 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3362, allocations: 0 / 341.6 MB, free: 4.219 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004305/0.3367, allocations: 96 kB / 341.7 MB, free: 4.125 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.0001617/0.3368, allocations: 119.1 kB / 341.8 MB, free: 4 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0008351/0.3377, allocations: 450.7 kB / 342.3 MB, free: 3.562 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.3377, allocations: 0 / 342.3 MB, free: 3.562 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004346/0.3381, allocations: 260.2 kB / 342.5 MB, free: 3.309 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007795/0.3389, allocations: 80.89 kB / 342.6 MB, free: 3.23 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001884/0.3408, allocations: 1.252 MB / 343.9 MB, free: 1.895 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003982/0.3412, allocations: 0.7896 MB / 344.7 MB, free: 1.082 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001914/0.3414, allocations: 47.2 kB / 344.7 MB, free: 1.035 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.3415, allocations: 39.42 kB / 344.7 MB, free: 0.9961 MB / 270.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3416, allocations: 0 / 344.7 MB, free: 0.9961 MB / 270.1 MB Notification: Performance of Templates: time 0.008074/0.3496, allocations: 3.807 MB / 348.5 MB, free: 13.19 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)