Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Mechanics.Translational.Examples.ElastoGap") translateModel(Modelica.Mechanics.Translational.Examples.ElastoGap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001107/0.001107, allocations: 107.4 kB / 17.06 MB, free: 5.82 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.001257/0.001257, allocations: 195.9 kB / 18 MB, free: 4.965 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.533/1.533, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.001156/0.001156, allocations: 51.94 kB / 327.9 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1151, allocations: 46.61 MB / 374.5 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.003974/0.1191, allocations: 2.591 MB / 377.1 MB, free: 1.977 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008597/0.12, allocations: 370.8 kB / 377.4 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000146/0.1201, allocations: 7.938 kB / 377.4 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002062/0.1204, allocations: 43.52 kB / 377.5 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001821/0.1206, allocations: 99.12 kB / 377.6 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003891/0.121, allocations: 91.81 kB / 377.7 MB, free: 1.375 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004276/0.1214, allocations: 378.3 kB / 378 MB, free: 1.004 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002921/0.1217, allocations: 115.1 kB / 378.1 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001848/0.1219, allocations: 139.5 kB / 378.3 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002349/0.1221, allocations: 159.3 kB / 378.4 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.197e-05/0.1222, allocations: 32 kB / 378.5 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.46e-05/0.1223, allocations: 28 kB / 378.5 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.064e-05/0.1224, allocations: 75.77 kB / 378.6 MB, free: 476 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001919/0.1225, allocations: 171.1 kB / 378.7 MB, free: 304 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.26/0.3825, allocations: 367.5 kB / 379.1 MB, free: 10.56 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.3826, allocations: 0.875 kB / 379.1 MB, free: 10.56 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3826, allocations: 0 / 379.1 MB, free: 10.56 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.799e-05/0.3826, allocations: 0 / 379.1 MB, free: 10.56 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.001394/0.384, allocations: 0.632 MB / 379.7 MB, free: 10.11 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.844e-05/0.3841, allocations: 10.28 kB / 379.7 MB, free: 10.11 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001007/0.3842, allocations: 38.17 kB / 379.8 MB, free: 10.09 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004463/0.3847, allocations: 277.6 kB / 380 MB, free: 9.855 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.799e-05/0.3847, allocations: 21.62 kB / 380.1 MB, free: 9.855 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.531e-05/0.3848, allocations: 34.53 kB / 380.1 MB, free: 9.852 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000626/0.3854, allocations: 272.9 kB / 380.4 MB, free: 9.816 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.383e-05/0.3855, allocations: 1.562 kB / 380.4 MB, free: 9.816 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.41e-05/0.3855, allocations: 15.47 kB / 380.4 MB, free: 9.812 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.3855, allocations: 6.875 kB / 380.4 MB, free: 9.812 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006524/0.3862, allocations: 270.6 kB / 380.7 MB, free: 9.809 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001376/0.3876, allocations: 0.7933 MB / 381.5 MB, free: 9.5 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007042/0.3883, allocations: 355.3 kB / 381.8 MB, free: 9.473 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004374/0.3888, allocations: 200.1 kB / 382 MB, free: 9.461 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.841e-05/0.3888, allocations: 9.328 kB / 382 MB, free: 9.461 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.3888, allocations: 36.72 kB / 382 MB, free: 9.422 MB / 318.1 MB Notification: Performance of pre-optimization done (n=43): time 1.783e-06/0.3888, allocations: 0.5 kB / 382 MB, free: 9.422 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.004071/0.3929, allocations: 1.979 MB / 384 MB, free: 8.715 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.393, allocations: 57.91 kB / 384.1 MB, free: 8.652 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002355/0.3932, allocations: 197.3 kB / 384.3 MB, free: 8.527 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.266e-05/0.3933, allocations: 35.92 kB / 384.3 MB, free: 8.488 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.3934, allocations: 149.1 kB / 384.4 MB, free: 8.355 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001608/0.3935, allocations: 230.1 kB / 384.7 MB, free: 8.176 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001431/0.3937, allocations: 90.78 kB / 384.8 MB, free: 8.125 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.3938, allocations: 349.5 kB / 385.1 MB, free: 7.793 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003776/0.3942, allocations: 163.1 kB / 385.3 MB, free: 7.734 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003776/0.3946, allocations: 166.8 kB / 385.4 MB, free: 7.68 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007429/0.3954, allocations: 375 kB / 385.8 MB, free: 7.516 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.3954, allocations: 4 kB / 385.8 MB, free: 7.512 MB / 318.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008244/0.3962, allocations: 485.7 kB / 386.3 MB, free: 7.316 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.3962, allocations: 6.328 kB / 386.3 MB, free: 7.316 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.3962, allocations: 0 / 386.3 MB, free: 7.316 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.3963, allocations: 2.719 kB / 386.3 MB, free: 7.316 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004597/0.3967, allocations: 125 kB / 386.4 MB, free: 7.309 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.447e-06/0.3967, allocations: 2.312 kB / 386.4 MB, free: 7.309 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001776/0.3969, allocations: 27.31 kB / 386.4 MB, free: 7.297 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.344e-05/0.397, allocations: 20.3 kB / 386.4 MB, free: 7.289 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.000137/0.3971, allocations: 156.8 kB / 386.6 MB, free: 7.148 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.616e-05/0.3972, allocations: 36.75 kB / 386.6 MB, free: 7.133 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001055/0.3973, allocations: 46.27 kB / 386.7 MB, free: 7.09 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.3973, allocations: 10.42 kB / 386.7 MB, free: 7.09 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/0.3973, allocations: 0 / 386.7 MB, free: 7.09 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.259e-05/0.3973, allocations: 4.359 kB / 386.7 MB, free: 7.09 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001877/0.3992, allocations: 1.318 MB / 388 MB, free: 6.305 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.487e-06/0.3992, allocations: 4.594 kB / 388 MB, free: 6.305 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004837/0.3997, allocations: 127.5 kB / 388.1 MB, free: 6.301 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.268e-06/0.3997, allocations: 9.844 kB / 388.2 MB, free: 6.297 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.435e-05/0.3998, allocations: 21.78 kB / 388.2 MB, free: 6.285 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.086e-05/0.3998, allocations: 11 kB / 388.2 MB, free: 6.285 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/0.3998, allocations: 8.625 kB / 388.2 MB, free: 6.285 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001216/0.401, allocations: 0.8768 MB / 389.1 MB, free: 5.746 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.749e-05/0.4011, allocations: 119.4 kB / 389.2 MB, free: 5.629 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.866e-05/0.4012, allocations: 17.22 kB / 389.2 MB, free: 5.621 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000238/0.4014, allocations: 26.31 kB / 389.2 MB, free: 5.613 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.4015, allocations: 52.78 kB / 389.3 MB, free: 5.598 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.271e-05/0.4016, allocations: 25.02 kB / 389.3 MB, free: 5.594 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001144/0.4017, allocations: 146.7 kB / 389.4 MB, free: 5.496 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4017, allocations: 0 / 389.4 MB, free: 5.496 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003868/0.4021, allocations: 94.31 kB / 389.5 MB, free: 5.48 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.0001581/0.4022, allocations: 121.2 kB / 389.7 MB, free: 5.379 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007982/0.403, allocations: 439.2 kB / 390.1 MB, free: 5.258 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4031, allocations: 0 / 390.1 MB, free: 5.258 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004169/0.4035, allocations: 259.5 kB / 390.3 MB, free: 5.191 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005917/0.4041, allocations: 81.23 kB / 390.4 MB, free: 5.164 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001419/0.4055, allocations: 1.022 MB / 391.4 MB, free: 4.461 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002414/0.4058, allocations: 0.7955 MB / 392.2 MB, free: 3.758 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001868/0.406, allocations: 49.33 kB / 392.3 MB, free: 3.754 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.4061, allocations: 35.77 kB / 392.3 MB, free: 3.746 MB / 318.1 MB Notification: Performance of SimCode: time 1.91e-07/0.4061, allocations: 0 / 392.3 MB, free: 3.746 MB / 318.1 MB Notification: Performance of Templates: time 0.008872/0.415, allocations: 4.196 MB / 396.5 MB, free: 3.43 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.ElastoGap.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.ElastoGap.sim & ./Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.ElastoGap -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe 2>&1)