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.0008684/0.0008684, allocations: 99.47 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.0008814/0.0008815, allocations: 177.3 kB / 15.95 MB, free: 216 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.675/1.675, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.0005279/0.0005281, allocations: 8 kB / 278.9 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2825/0.283, allocations: 47.59 MB / 326.4 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.002768/0.2858, allocations: 2.055 MB / 328.5 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007496/0.2866, allocations: 383.2 kB / 328.9 MB, free: 15.49 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001799/0.2868, allocations: 8.938 kB / 328.9 MB, free: 15.48 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 7.15e-05/0.2869, allocations: 32.19 kB / 328.9 MB, free: 15.46 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000269/0.2872, allocations: 115.2 kB / 329 MB, free: 15.36 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003057/0.2875, allocations: 66.08 kB / 329.1 MB, free: 15.3 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003788/0.2879, allocations: 256.8 kB / 329.3 MB, free: 15.14 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002579/0.2881, allocations: 89.12 kB / 329.4 MB, free: 15.09 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002228/0.2884, allocations: 119.1 kB / 329.5 MB, free: 15.03 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003362/0.2887, allocations: 145.4 kB / 329.7 MB, free: 14.93 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.894e-05/0.2888, allocations: 14.56 kB / 329.7 MB, free: 14.93 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.777e-05/0.2889, allocations: 16.78 kB / 329.7 MB, free: 14.93 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.174e-05/0.2889, allocations: 52.73 kB / 329.8 MB, free: 14.89 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001212/0.2891, allocations: 82.86 kB / 329.8 MB, free: 14.83 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004054/0.2895, allocations: 259 kB / 330.1 MB, free: 14.64 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.2895, allocations: 1.156 kB / 330.1 MB, free: 14.64 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.2895, allocations: 0 / 330.1 MB, free: 14.64 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.838e-06/0.2895, allocations: 0 / 330.1 MB, free: 14.64 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.001472/0.291, allocations: 0.5965 MB / 330.7 MB, free: 14.12 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.241e-05/0.2911, allocations: 8.75 kB / 330.7 MB, free: 14.12 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001049/0.2912, allocations: 33.06 kB / 330.7 MB, free: 14.11 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004362/0.2916, allocations: 265.1 kB / 331 MB, free: 13.84 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.604e-05/0.2917, allocations: 23.52 kB / 331 MB, free: 13.82 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.819e-05/0.2918, allocations: 34.7 kB / 331.1 MB, free: 13.81 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007391/0.2925, allocations: 276.6 kB / 331.3 MB, free: 13.64 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.353e-05/0.2926, allocations: 5.188 kB / 331.3 MB, free: 13.64 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.741e-05/0.2926, allocations: 10.44 kB / 331.3 MB, free: 13.63 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.571e-05/0.2926, allocations: 11.03 kB / 331.4 MB, free: 13.63 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006553/0.2933, allocations: 286.1 kB / 331.6 MB, free: 13.5 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001552/0.2949, allocations: 0.7905 MB / 332.4 MB, free: 12.86 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000813/0.2957, allocations: 367.8 kB / 332.8 MB, free: 12.66 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.038e-05/0.2958, allocations: 8.266 kB / 332.8 MB, free: 12.66 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.909e-05/0.2958, allocations: 36.81 kB / 332.8 MB, free: 12.61 MB / 270.1 MB Notification: Performance of pre-optimization done (n=43): time 2.144e-06/0.2958, allocations: 0 / 332.8 MB, free: 12.61 MB / 270.1 MB Notification: Performance of matching and sorting (n=63): time 0.004773/0.3006, allocations: 2.044 MB / 334.9 MB, free: 10.83 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.205e-05/0.3007, allocations: 55.97 kB / 334.9 MB, free: 10.77 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002059/0.3009, allocations: 198.8 kB / 335.1 MB, free: 10.56 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.767e-05/0.3009, allocations: 37.7 kB / 335.2 MB, free: 10.52 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.301, allocations: 148.9 kB / 335.3 MB, free: 10.36 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001816/0.3012, allocations: 216.8 kB / 335.5 MB, free: 10.15 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.085e-05/0.3013, allocations: 8 kB / 335.5 MB, free: 10.14 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0003064/0.3016, allocations: 346.8 kB / 335.9 MB, free: 9.793 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003995/0.302, allocations: 165 kB / 336 MB, free: 9.633 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003094/0.3023, allocations: 173 kB / 336.2 MB, free: 9.461 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003425/0.3026, allocations: 190.2 kB / 336.4 MB, free: 9.277 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.3027, allocations: 0 / 336.4 MB, free: 9.277 MB / 270.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008126/0.3035, allocations: 0.4908 MB / 336.9 MB, free: 8.781 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.3035, allocations: 7.938 kB / 336.9 MB, free: 8.773 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.3035, allocations: 4 kB / 336.9 MB, free: 8.77 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.3035, allocations: 0 / 336.9 MB, free: 8.77 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004648/0.304, allocations: 127.8 kB / 337 MB, free: 8.645 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.304, allocations: 0 / 337 MB, free: 8.645 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001854/0.3042, allocations: 31.98 kB / 337 MB, free: 8.613 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.424e-05/0.3043, allocations: 23.94 kB / 337.1 MB, free: 8.59 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 (elastoGap1.contact,elastoGap2.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001947/0.3045, allocations: 153.8 kB / 337.2 MB, free: 8.43 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.307e-05/0.3045, allocations: 31.62 kB / 337.2 MB, free: 8.398 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001126/0.3047, allocations: 47.34 kB / 337.3 MB, free: 8.355 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.3047, allocations: 12 kB / 337.3 MB, free: 8.344 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.218e-05/0.3047, allocations: 3.984 kB / 337.3 MB, free: 8.34 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.3047, allocations: 0 / 337.3 MB, free: 8.34 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002437/0.3072, allocations: 1.325 MB / 338.6 MB, free: 6.902 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.3072, allocations: 8 kB / 338.6 MB, free: 6.895 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004849/0.3077, allocations: 127.8 kB / 338.8 MB, free: 6.77 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.009e-05/0.3077, allocations: 8 kB / 338.8 MB, free: 6.762 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.569e-05/0.3077, allocations: 16.5 kB / 338.8 MB, free: 6.746 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.169e-05/0.3078, allocations: 19.89 kB / 338.8 MB, free: 6.727 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.3078, allocations: 8 kB / 338.8 MB, free: 6.719 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001505/0.3093, allocations: 1.119 MB / 339.9 MB, free: 5.414 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.795e-05/0.3094, allocations: 112.8 kB / 340 MB, free: 5.285 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.42e-05/0.3094, allocations: 19.95 kB / 340.1 MB, free: 5.266 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002465/0.3097, allocations: 31.98 kB / 340.1 MB, free: 5.234 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.369e-05/0.3098, allocations: 51.83 kB / 340.1 MB, free: 5.184 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-05/0.3098, allocations: 20 kB / 340.2 MB, free: 5.164 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001353/0.31, allocations: 148.3 kB / 340.3 MB, free: 5.02 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.31, allocations: 0 / 340.3 MB, free: 5.02 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003825/0.3104, allocations: 96 kB / 340.4 MB, free: 4.926 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 (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.000156/0.3105, allocations: 123.1 kB / 340.5 MB, free: 4.797 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0008503/0.3114, allocations: 451.1 kB / 341 MB, free: 4.355 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.3114, allocations: 4 kB / 341 MB, free: 4.352 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004242/0.3118, allocations: 256.5 kB / 341.2 MB, free: 4.102 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005298/0.3124, allocations: 71.89 kB / 341.3 MB, free: 4.031 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001781/0.3142, allocations: 1.193 MB / 342.5 MB, free: 2.75 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005292/0.3147, allocations: 0.8013 MB / 343.3 MB, free: 1.926 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001899/0.3149, allocations: 51.19 kB / 343.3 MB, free: 1.875 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.315, allocations: 39.44 kB / 343.4 MB, free: 1.836 MB / 270.1 MB Notification: Performance of SimCode: time 2.5e-07/0.315, allocations: 0 / 343.4 MB, free: 1.836 MB / 270.1 MB Notification: Performance of Templates: time 0.00733/0.3224, allocations: 3.631 MB / 347 MB, free: 14.21 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.ElastoGap.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: