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.01057/0.01057, allocations: 102 kB / 15.73 MB, free: 6.039 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.00191/0.00191, allocations: 194.5 kB / 16.67 MB, free: 5.961 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.558/1.558, allocations: 205.1 MB / 222.5 MB, free: 12.21 MB / 190.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.001391/0.001391, allocations: 51.94 kB / 326.5 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1197, allocations: 46.62 MB / 373.1 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.005577/0.1254, allocations: 2.598 MB / 375.7 MB, free: 1.953 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001322/0.1267, allocations: 362.8 kB / 376.1 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003739/0.1271, allocations: 7.938 kB / 376.1 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002496/0.1274, allocations: 51.5 kB / 376.2 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003084/0.1277, allocations: 99.12 kB / 376.3 MB, free: 1.441 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005921/0.1283, allocations: 87.81 kB / 376.3 MB, free: 1.355 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006742/0.129, allocations: 374.4 kB / 376.7 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000361/0.1294, allocations: 119 kB / 376.8 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003924/0.1298, allocations: 147.5 kB / 377 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002968/0.1301, allocations: 159.3 kB / 377.1 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.617e-05/0.1302, allocations: 28 kB / 377.1 MB, free: 0.543 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.302e-05/0.1303, allocations: 35.94 kB / 377.2 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001424/0.1304, allocations: 71.75 kB / 377.3 MB, free: 448 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002108/0.1306, allocations: 171.2 kB / 377.4 MB, free: 276 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2447/0.3754, allocations: 366.4 kB / 377.8 MB, free: 10.52 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.3754, allocations: 0 / 377.8 MB, free: 10.52 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3754, allocations: 1.344 kB / 377.8 MB, free: 10.52 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.287e-05/0.3755, allocations: 0 / 377.8 MB, free: 10.52 MB / 318.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.001237/0.3767, allocations: 0.624 MB / 378.4 MB, free: 10.09 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/0.3768, allocations: 8.406 kB / 378.4 MB, free: 10.09 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.3769, allocations: 34.44 kB / 378.4 MB, free: 10.07 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004512/0.3773, allocations: 269.8 kB / 378.7 MB, free: 9.848 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.035e-05/0.3774, allocations: 21.94 kB / 378.7 MB, free: 9.848 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.94e-05/0.3775, allocations: 35.84 kB / 378.8 MB, free: 9.844 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007202/0.3782, allocations: 273.6 kB / 379 MB, free: 9.809 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.415e-05/0.3782, allocations: 1.562 kB / 379 MB, free: 9.809 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.629e-05/0.3783, allocations: 17.03 kB / 379.1 MB, free: 9.805 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.3783, allocations: 8.516 kB / 379.1 MB, free: 9.805 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007964/0.3791, allocations: 265.6 kB / 379.3 MB, free: 9.801 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001711/0.3808, allocations: 0.795 MB / 380.1 MB, free: 9.492 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009622/0.3818, allocations: 360.5 kB / 380.5 MB, free: 9.457 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006252/0.3825, allocations: 196.2 kB / 380.7 MB, free: 9.445 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.646e-05/0.3825, allocations: 7.469 kB / 380.7 MB, free: 9.445 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.527e-05/0.3826, allocations: 39.19 kB / 380.7 MB, free: 9.406 MB / 318.1 MB Notification: Performance of pre-optimization done (n=43): time 2.765e-06/0.3826, allocations: 0 / 380.7 MB, free: 9.406 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.005773/0.3884, allocations: 1.966 MB / 382.7 MB, free: 8.73 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.3884, allocations: 59.56 kB / 382.7 MB, free: 8.668 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002206/0.3887, allocations: 197.8 kB / 382.9 MB, free: 8.535 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.345e-05/0.3887, allocations: 36.58 kB / 383 MB, free: 8.496 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.055e-05/0.3888, allocations: 143.8 kB / 383.1 MB, free: 8.367 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001594/0.389, allocations: 222.4 kB / 383.3 MB, free: 8.195 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001643/0.3892, allocations: 91.91 kB / 383.4 MB, free: 8.145 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.632e-05/0.3893, allocations: 348.8 kB / 383.7 MB, free: 7.812 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004424/0.3897, allocations: 158 kB / 383.9 MB, free: 7.758 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004522/0.3902, allocations: 170.6 kB / 384.1 MB, free: 7.699 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009311/0.3911, allocations: 375 kB / 384.4 MB, free: 7.535 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3911, allocations: 7.562 kB / 384.4 MB, free: 7.531 MB / 318.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0012/0.3923, allocations: 485.4 kB / 384.9 MB, free: 7.336 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.3924, allocations: 5.25 kB / 384.9 MB, free: 7.336 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.3924, allocations: 0 / 384.9 MB, free: 7.336 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.3924, allocations: 2.547 kB / 384.9 MB, free: 7.336 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000689/0.3931, allocations: 120.9 kB / 385 MB, free: 7.332 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/0.3931, allocations: 2.438 kB / 385 MB, free: 7.332 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002858/0.3934, allocations: 33.48 kB / 385.1 MB, free: 7.316 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-05/0.3935, allocations: 21.34 kB / 385.1 MB, free: 7.309 MB / 318.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.0001857/0.3937, allocations: 156 kB / 385.2 MB, free: 7.168 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.081e-05/0.3938, allocations: 34.7 kB / 385.3 MB, free: 7.152 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001246/0.3939, allocations: 49.48 kB / 385.3 MB, free: 7.109 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/0.3939, allocations: 6.5 kB / 385.3 MB, free: 7.109 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.746e-05/0.394, allocations: 1.906 kB / 385.3 MB, free: 7.109 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.268e-05/0.394, allocations: 2.578 kB / 385.3 MB, free: 7.109 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002669/0.3967, allocations: 1.319 MB / 386.7 MB, free: 6.328 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.848e-06/0.3967, allocations: 4.375 kB / 386.7 MB, free: 6.328 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006949/0.3974, allocations: 125.7 kB / 386.8 MB, free: 6.324 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.609e-05/0.3974, allocations: 10.5 kB / 386.8 MB, free: 6.32 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.847e-05/0.3975, allocations: 18.42 kB / 386.8 MB, free: 6.312 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.42e-05/0.3975, allocations: 11.22 kB / 386.8 MB, free: 6.312 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.885e-06/0.3975, allocations: 5.344 kB / 386.8 MB, free: 6.312 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001522/0.3991, allocations: 0.8779 MB / 387.7 MB, free: 5.777 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.827e-05/0.3991, allocations: 123.9 kB / 387.8 MB, free: 5.656 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.198e-05/0.3992, allocations: 17.89 kB / 387.8 MB, free: 5.648 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002476/0.3995, allocations: 24.86 kB / 387.9 MB, free: 5.641 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.943e-05/0.3996, allocations: 54.53 kB / 387.9 MB, free: 5.625 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.014e-05/0.3996, allocations: 22.09 kB / 387.9 MB, free: 5.621 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001142/0.3997, allocations: 146 kB / 388.1 MB, free: 5.523 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.3997, allocations: 3.938 kB / 388.1 MB, free: 5.52 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004241/0.4002, allocations: 94.62 kB / 388.2 MB, free: 5.504 MB / 318.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.0001142/0.4003, allocations: 119.4 kB / 388.3 MB, free: 5.406 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008073/0.4011, allocations: 441 kB / 388.7 MB, free: 5.281 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.4011, allocations: 0 / 388.7 MB, free: 5.281 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004097/0.4015, allocations: 258.9 kB / 389 MB, free: 5.215 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008567/0.4024, allocations: 77.95 kB / 389.1 MB, free: 5.191 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002433/0.4048, allocations: 1.004 MB / 390.1 MB, free: 4.508 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004364/0.4053, allocations: 0.7918 MB / 390.9 MB, free: 3.809 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002807/0.4056, allocations: 48.19 kB / 390.9 MB, free: 3.805 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001547/0.4058, allocations: 40.8 kB / 390.9 MB, free: 3.793 MB / 318.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4058, allocations: 0 / 390.9 MB, free: 3.793 MB / 318.1 MB Notification: Performance of Templates: time 0.01313/0.4189, allocations: 4.29 MB / 395.2 MB, free: 3.441 MB / 318.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)