Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Mechanics.Translational.Examples.ElastoGap") translateModel(Modelica.Mechanics.Translational.Examples.ElastoGap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.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.0008024/0.0008024, allocations: 92 kB / 15.06 MB, free: 1.098 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.0008597/0.0008597, allocations: 172.7 kB / 15.95 MB, free: 208 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.666/1.666, 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.0004817/0.0004818, allocations: 10.66 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.2986, allocations: 47.58 MB / 326.5 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.002496/0.3011, allocations: 2.177 MB / 328.6 MB, free: 15.67 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007175/0.3019, allocations: 359 kB / 329 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001491/0.302, allocations: 3.719 kB / 329 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001576/0.3022, allocations: 37.28 kB / 329 MB, free: 15.34 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001867/0.3024, allocations: 86.34 kB / 329.1 MB, free: 15.27 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00029/0.3027, allocations: 66.28 kB / 329.2 MB, free: 15.21 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003567/0.303, allocations: 347.9 kB / 329.5 MB, free: 15.01 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000213/0.3033, allocations: 92.59 kB / 329.6 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001636/0.3034, allocations: 113.2 kB / 329.7 MB, free: 14.89 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002081/0.3037, allocations: 144.9 kB / 329.9 MB, free: 14.8 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.466e-05/0.3037, allocations: 16.41 kB / 329.9 MB, free: 14.8 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.699e-05/0.3038, allocations: 19.69 kB / 329.9 MB, free: 14.8 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.326e-05/0.3038, allocations: 48.41 kB / 329.9 MB, free: 14.76 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.371e-05/0.3039, allocations: 83.86 kB / 330 MB, free: 14.7 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002547/0.3042, allocations: 256.5 kB / 330.3 MB, free: 14.51 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.3042, allocations: 1.281 kB / 330.3 MB, free: 14.51 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3042, allocations: 0 / 330.3 MB, free: 14.51 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.3042, allocations: 0 / 330.3 MB, free: 14.51 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.000993/0.3052, allocations: 0.5959 MB / 330.9 MB, free: 14 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.3053, allocations: 9.281 kB / 330.9 MB, free: 14 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.388e-05/0.3053, allocations: 37.25 kB / 330.9 MB, free: 13.98 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003025/0.3056, allocations: 260.7 kB / 331.2 MB, free: 13.71 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.314e-05/0.3057, allocations: 25.14 kB / 331.2 MB, free: 13.7 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.534e-05/0.3058, allocations: 25.56 kB / 331.2 MB, free: 13.69 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006056/0.3064, allocations: 290.8 kB / 331.5 MB, free: 13.51 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.224e-05/0.3064, allocations: 8.938 kB / 331.5 MB, free: 13.5 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.126e-05/0.3064, allocations: 11.06 kB / 331.5 MB, free: 13.5 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/0.3065, allocations: 6.375 kB / 331.5 MB, free: 13.5 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006163/0.3071, allocations: 283.2 kB / 331.8 MB, free: 13.37 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001314/0.3084, allocations: 0.7898 MB / 332.6 MB, free: 12.73 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006191/0.309, allocations: 372 kB / 333 MB, free: 12.53 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000359/0.3094, allocations: 203.5 kB / 333.2 MB, free: 12.43 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.708e-05/0.3095, allocations: 8.547 kB / 333.2 MB, free: 12.43 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.3095, allocations: 40.72 kB / 333.2 MB, free: 12.38 MB / 270.1 MB Notification: Performance of pre-optimization done (n=43): time 1.513e-06/0.3095, allocations: 1.031 kB / 333.2 MB, free: 12.38 MB / 270.1 MB Notification: Performance of matching and sorting (n=63): time 0.004122/0.3136, allocations: 2.038 MB / 335.3 MB, free: 10.45 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.3137, allocations: 55.97 kB / 335.3 MB, free: 10.38 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/0.3139, allocations: 202.7 kB / 335.5 MB, free: 10.17 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.189e-05/0.3139, allocations: 37.7 kB / 335.5 MB, free: 10.12 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.452e-05/0.314, allocations: 144.9 kB / 335.7 MB, free: 9.977 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001393/0.3142, allocations: 208.9 kB / 335.9 MB, free: 9.77 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.178e-05/0.3142, allocations: 12 kB / 335.9 MB, free: 9.758 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.3143, allocations: 350.7 kB / 336.2 MB, free: 9.406 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000312/0.3147, allocations: 169 kB / 336.4 MB, free: 9.242 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003008/0.315, allocations: 177 kB / 336.6 MB, free: 9.066 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003282/0.3153, allocations: 186.2 kB / 336.8 MB, free: 8.887 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.3153, allocations: 0 / 336.8 MB, free: 8.887 MB / 270.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008589/0.3162, allocations: 0.4909 MB / 337.3 MB, free: 8.391 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.3162, allocations: 4 kB / 337.3 MB, free: 8.387 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.3162, allocations: 0 / 337.3 MB, free: 8.387 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.3162, allocations: 4 kB / 337.3 MB, free: 8.383 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000455/0.3167, allocations: 123.8 kB / 337.4 MB, free: 8.262 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.3167, allocations: 11.92 kB / 337.4 MB, free: 8.25 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001812/0.3169, allocations: 35.94 kB / 337.4 MB, free: 8.215 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.825e-05/0.3169, allocations: 16 kB / 337.4 MB, free: 8.199 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.0001626/0.3171, allocations: 153.7 kB / 337.6 MB, free: 8.039 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.13e-05/0.3172, allocations: 35.62 kB / 337.6 MB, free: 8.004 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001172/0.3173, allocations: 51.33 kB / 337.7 MB, free: 7.957 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.3173, allocations: 8 kB / 337.7 MB, free: 7.949 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.3173, allocations: 4 kB / 337.7 MB, free: 7.945 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.3173, allocations: 3.984 kB / 337.7 MB, free: 7.941 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001897/0.3192, allocations: 1.325 MB / 339 MB, free: 6.504 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.3193, allocations: 4 kB / 339 MB, free: 6.5 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004659/0.3197, allocations: 127.8 kB / 339.1 MB, free: 6.375 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.265e-05/0.3198, allocations: 8.531 kB / 339.2 MB, free: 6.367 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.559e-05/0.3198, allocations: 19.95 kB / 339.2 MB, free: 6.348 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.679e-05/0.3198, allocations: 15.98 kB / 339.2 MB, free: 6.332 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.825e-06/0.3198, allocations: 7.938 kB / 339.2 MB, free: 6.324 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00136/0.3212, allocations: 0.8979 MB / 340.1 MB, free: 5.352 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.996e-05/0.3213, allocations: 112.8 kB / 340.2 MB, free: 5.223 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.546e-05/0.3214, allocations: 16 kB / 340.2 MB, free: 5.207 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002571/0.3216, allocations: 39.94 kB / 340.3 MB, free: 5.168 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.538e-05/0.3217, allocations: 43.88 kB / 340.3 MB, free: 5.125 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-05/0.3218, allocations: 20 kB / 340.3 MB, free: 5.105 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001287/0.3219, allocations: 144.6 kB / 340.5 MB, free: 4.965 MB / 270.1 MB Notification: Performance of sort global known variables: time 8.02e-07/0.3219, allocations: 4 kB / 340.5 MB, free: 4.961 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004382/0.3224, allocations: 96 kB / 340.6 MB, free: 4.867 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.0001813/0.3225, allocations: 116.1 kB / 340.7 MB, free: 4.746 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0008419/0.3234, allocations: 455.1 kB / 341.1 MB, free: 4.301 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3234, allocations: 0 / 341.1 MB, free: 4.301 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004411/0.3239, allocations: 268.4 kB / 341.4 MB, free: 4.039 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006407/0.3245, allocations: 75.89 kB / 341.5 MB, free: 3.965 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001719/0.3262, allocations: 1.209 MB / 342.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004191/0.3267, allocations: 0.7935 MB / 343.5 MB, free: 1.852 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001965/0.3269, allocations: 43.27 kB / 343.5 MB, free: 1.809 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.327, allocations: 43.38 kB / 343.5 MB, free: 1.766 MB / 270.1 MB Notification: Performance of SimCode: time 4.21e-07/0.327, allocations: 0 / 343.5 MB, free: 1.766 MB / 270.1 MB Notification: Performance of Templates: time 0.007545/0.3345, allocations: 3.654 MB / 347.2 MB, free: 14.11 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.ElastoGap.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.ElastoGap.sim & ./Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.ElastoGap -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe 2>&1)