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.001208/0.001208, allocations: 97.91 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.001332/0.001332, 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.669/1.669, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.000491/0.0004911, allocations: 10.81 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.3019, allocations: 47.58 MB / 326.4 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.002577/0.3046, allocations: 2.056 MB / 328.5 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008133/0.3054, allocations: 386.8 kB / 328.9 MB, free: 15.48 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001485/0.3056, allocations: 4.281 kB / 328.9 MB, free: 15.48 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001819/0.3058, allocations: 40.56 kB / 328.9 MB, free: 15.45 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003119/0.3061, allocations: 115.5 kB / 329 MB, free: 15.35 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003047/0.3064, allocations: 69.83 kB / 329.1 MB, free: 15.29 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003556/0.3068, allocations: 252.7 kB / 329.3 MB, free: 15.13 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002329/0.307, allocations: 85.14 kB / 329.4 MB, free: 15.08 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001778/0.3072, allocations: 118.2 kB / 329.5 MB, free: 15.02 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002133/0.3074, allocations: 137.4 kB / 329.7 MB, free: 14.93 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.171e-05/0.3075, allocations: 16 kB / 329.7 MB, free: 14.93 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.645e-05/0.3075, allocations: 16.5 kB / 329.7 MB, free: 14.93 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.997e-05/0.3076, allocations: 57.03 kB / 329.8 MB, free: 14.89 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.219e-05/0.3077, allocations: 79.23 kB / 329.8 MB, free: 14.83 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003149/0.308, allocations: 258.6 kB / 330.1 MB, free: 14.64 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.308, allocations: 4 kB / 330.1 MB, free: 14.64 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.3081, allocations: 0.9688 kB / 330.1 MB, free: 14.64 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.465e-06/0.3081, 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.001096/0.3092, allocations: 0.5915 MB / 330.7 MB, free: 14.12 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/0.3092, allocations: 13.05 kB / 330.7 MB, free: 14.12 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.081e-05/0.3093, allocations: 33.72 kB / 330.7 MB, free: 14.11 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004747/0.3098, allocations: 268.2 kB / 331 MB, free: 13.83 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.035e-05/0.3099, allocations: 24.52 kB / 331 MB, free: 13.82 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.657e-05/0.3099, allocations: 30.28 kB / 331.1 MB, free: 13.8 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006367/0.3106, allocations: 272.5 kB / 331.3 MB, free: 13.64 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.569e-05/0.3106, allocations: 4.969 kB / 331.3 MB, free: 13.64 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.563e-05/0.3107, allocations: 15.5 kB / 331.3 MB, free: 13.63 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.544e-05/0.3107, allocations: 10.28 kB / 331.4 MB, free: 13.62 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007128/0.3114, allocations: 282.8 kB / 331.6 MB, free: 13.5 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001435/0.3129, allocations: 0.7933 MB / 332.4 MB, free: 12.86 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007009/0.3136, allocations: 367.9 kB / 332.8 MB, free: 12.66 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.365e-05/0.3136, allocations: 5.531 kB / 332.8 MB, free: 12.66 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.555e-05/0.3137, allocations: 36.91 kB / 332.8 MB, free: 12.61 MB / 270.1 MB Notification: Performance of pre-optimization done (n=43): time 2.675e-06/0.3137, allocations: 0 / 332.8 MB, free: 12.61 MB / 270.1 MB Notification: Performance of matching and sorting (n=63): time 0.004422/0.3181, allocations: 2.035 MB / 334.9 MB, free: 10.83 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.3182, allocations: 55.97 kB / 334.9 MB, free: 10.77 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002471/0.3184, allocations: 206.7 kB / 335.1 MB, free: 10.55 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.041e-05/0.3185, allocations: 37.7 kB / 335.1 MB, free: 10.51 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.3186, allocations: 152.8 kB / 335.3 MB, free: 10.35 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001636/0.3188, allocations: 216.8 kB / 335.5 MB, free: 10.14 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.138e-05/0.3188, allocations: 8 kB / 335.5 MB, free: 10.13 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.319, allocations: 346.8 kB / 335.9 MB, free: 9.781 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003343/0.3193, allocations: 169 kB / 336 MB, free: 9.617 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003469/0.3197, allocations: 177 kB / 336.2 MB, free: 9.441 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000376/0.32, allocations: 182.2 kB / 336.4 MB, free: 9.266 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.3201, allocations: 0 / 336.4 MB, free: 9.266 MB / 270.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009308/0.321, allocations: 0.4908 MB / 336.9 MB, free: 8.77 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/0.321, allocations: 8 kB / 336.9 MB, free: 8.762 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.637e-06/0.321, allocations: 0 / 336.9 MB, free: 8.762 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.3211, allocations: 0 / 336.9 MB, free: 8.762 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004873/0.3216, allocations: 123.9 kB / 337 MB, free: 8.641 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.325e-05/0.3216, allocations: 3.938 kB / 337 MB, free: 8.637 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002017/0.3218, allocations: 35.97 kB / 337 MB, free: 8.602 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.701e-05/0.3218, allocations: 23.95 kB / 337.1 MB, free: 8.578 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.0002169/0.3221, allocations: 157.8 kB / 337.2 MB, free: 8.414 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.658e-05/0.3221, allocations: 31.62 kB / 337.2 MB, free: 8.383 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001057/0.3222, allocations: 51.33 kB / 337.3 MB, free: 8.336 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.3223, allocations: 4 kB / 337.3 MB, free: 8.332 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/0.3223, allocations: 0 / 337.3 MB, free: 8.332 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.3223, allocations: 3.984 kB / 337.3 MB, free: 8.328 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002012/0.3243, allocations: 1.333 MB / 338.6 MB, free: 6.883 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/0.3243, allocations: 4 kB / 338.6 MB, free: 6.879 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004661/0.3248, allocations: 127.8 kB / 338.8 MB, free: 6.754 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.023e-05/0.3248, allocations: 8 kB / 338.8 MB, free: 6.746 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.222e-05/0.3249, allocations: 16 kB / 338.8 MB, free: 6.73 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.179e-05/0.3249, allocations: 19.88 kB / 338.8 MB, free: 6.711 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.3249, allocations: 4 kB / 338.8 MB, free: 6.707 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001489/0.3264, allocations: 1.112 MB / 339.9 MB, free: 5.41 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.752e-05/0.3265, allocations: 112.8 kB / 340 MB, free: 5.281 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.589e-05/0.3266, allocations: 23.89 kB / 340.1 MB, free: 5.258 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002503/0.3268, allocations: 31.98 kB / 340.1 MB, free: 5.227 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.367e-05/0.3269, allocations: 51.89 kB / 340.1 MB, free: 5.176 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.11e-05/0.3269, allocations: 23.94 kB / 340.2 MB, free: 5.152 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.000121/0.3271, allocations: 144.3 kB / 340.3 MB, free: 5.012 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3271, allocations: 0 / 340.3 MB, free: 5.012 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003868/0.3275, allocations: 96 kB / 340.4 MB, free: 4.918 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.0001628/0.3276, allocations: 119.1 kB / 340.5 MB, free: 4.793 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.000829/0.3285, allocations: 455 kB / 341 MB, free: 4.348 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3285, allocations: 4 kB / 341 MB, free: 4.344 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004378/0.3289, allocations: 259.3 kB / 341.2 MB, free: 4.09 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005002/0.3294, allocations: 69.08 kB / 341.3 MB, free: 4.023 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001765/0.3312, allocations: 1.201 MB / 342.5 MB, free: 2.734 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003837/0.3316, allocations: 0.8013 MB / 343.3 MB, free: 1.91 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001797/0.3318, allocations: 47.27 kB / 343.3 MB, free: 1.863 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.3319, allocations: 31.44 kB / 343.4 MB, free: 1.832 MB / 270.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3319, allocations: 0 / 343.4 MB, free: 1.832 MB / 270.1 MB Notification: Performance of Templates: time 0.007137/0.3391, allocations: 3.647 MB / 347 MB, free: 14.19 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.ElastoGap.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: