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.0009429/0.0009431, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.008586/0.008587, allocations: 171.7 kB / 16.26 MB, free: 6.676 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.663/1.663, allocations: 205.4 MB / 222.5 MB, free: 5.555 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.0005187/0.0005187, allocations: 14.81 kB / 279.5 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2686/0.2691, allocations: 47.58 MB / 327 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.002285/0.2714, allocations: 2.265 MB / 329.3 MB, free: 15.59 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.000615/0.2721, allocations: 365 kB / 329.7 MB, free: 15.29 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.2722, allocations: 12.25 kB / 329.7 MB, free: 15.29 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001277/0.2723, allocations: 36.25 kB / 329.7 MB, free: 15.25 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001513/0.2725, allocations: 78.75 kB / 329.8 MB, free: 15.19 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002904/0.2728, allocations: 81.39 kB / 329.9 MB, free: 15.12 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003543/0.2732, allocations: 368.2 kB / 330.2 MB, free: 14.9 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002045/0.2734, allocations: 92.59 kB / 330.3 MB, free: 14.85 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001591/0.2735, allocations: 125.5 kB / 330.4 MB, free: 14.78 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000191/0.2737, allocations: 144.7 kB / 330.6 MB, free: 14.69 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.94e-05/0.2738, allocations: 20.06 kB / 330.6 MB, free: 14.68 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.537e-05/0.2738, allocations: 15.81 kB / 330.6 MB, free: 14.68 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.364e-05/0.2739, allocations: 52.98 kB / 330.7 MB, free: 14.64 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001601/0.2741, allocations: 177.9 kB / 330.8 MB, free: 14.51 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003137/0.2744, allocations: 345.3 kB / 331.2 MB, free: 14.26 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.2744, allocations: 0 / 331.2 MB, free: 14.26 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.2744, allocations: 1.219 kB / 331.2 MB, free: 14.26 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.2744, allocations: 0 / 331.2 MB, free: 14.26 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.001021/0.2755, allocations: 0.5894 MB / 331.8 MB, free: 13.74 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.2755, allocations: 9.781 kB / 331.8 MB, free: 13.74 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.846e-05/0.2756, allocations: 33.19 kB / 331.8 MB, free: 13.73 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002758/0.2759, allocations: 271.2 kB / 332.1 MB, free: 13.45 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.491e-05/0.2759, allocations: 19.78 kB / 332.1 MB, free: 13.44 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.679e-05/0.276, allocations: 34.91 kB / 332.1 MB, free: 13.43 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005798/0.2766, allocations: 281.8 kB / 332.4 MB, free: 13.26 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.2766, allocations: 5.391 kB / 332.4 MB, free: 13.25 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.316e-05/0.2766, allocations: 15.03 kB / 332.4 MB, free: 13.24 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.587e-05/0.2766, allocations: 6.594 kB / 332.4 MB, free: 13.24 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006542/0.2773, allocations: 283.9 kB / 332.7 MB, free: 13.12 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001278/0.2786, allocations: 0.7972 MB / 333.5 MB, free: 12.47 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006293/0.2792, allocations: 370 kB / 333.9 MB, free: 12.27 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003797/0.2796, allocations: 203.8 kB / 334.1 MB, free: 12.17 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.046e-05/0.2797, allocations: 8 kB / 334.1 MB, free: 12.16 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.2797, allocations: 38.5 kB / 334.1 MB, free: 12.12 MB / 270.1 MB Notification: Performance of pre-optimization done (n=43): time 1.983e-06/0.2797, allocations: 0 / 334.1 MB, free: 12.12 MB / 270.1 MB Notification: Performance of matching and sorting (n=63): time 0.004403/0.2841, allocations: 2.043 MB / 336.1 MB, free: 9.988 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.688e-05/0.2842, allocations: 55.97 kB / 336.2 MB, free: 9.918 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002069/0.2844, allocations: 210.7 kB / 336.4 MB, free: 9.699 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.033e-05/0.2844, allocations: 33.7 kB / 336.4 MB, free: 9.66 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.77e-05/0.2845, allocations: 145 kB / 336.6 MB, free: 9.512 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001754/0.2847, allocations: 208.9 kB / 336.8 MB, free: 9.305 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.549e-05/0.2848, allocations: 53.69 kB / 336.8 MB, free: 9.246 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.2849, allocations: 350.7 kB / 337.2 MB, free: 8.895 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003344/0.2853, allocations: 169 kB / 337.3 MB, free: 8.73 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003528/0.2857, allocations: 173 kB / 337.5 MB, free: 8.562 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007575/0.2864, allocations: 392 kB / 337.9 MB, free: 8.176 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.2864, allocations: 0 / 337.9 MB, free: 8.176 MB / 270.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008504/0.2873, allocations: 0.4986 MB / 338.4 MB, free: 7.672 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.2873, allocations: 4 kB / 338.4 MB, free: 7.668 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.2873, allocations: 4 kB / 338.4 MB, free: 7.664 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.2874, allocations: 0 / 338.4 MB, free: 7.664 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004908/0.2879, allocations: 127.9 kB / 338.5 MB, free: 7.539 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.2879, allocations: 4 kB / 338.5 MB, free: 7.535 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002246/0.2881, allocations: 39.84 kB / 338.6 MB, free: 7.496 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/0.2882, allocations: 19.94 kB / 338.6 MB, free: 7.477 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 (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.0002162/0.2884, allocations: 157.8 kB / 338.7 MB, free: 7.312 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.35e-05/0.2885, allocations: 35.53 kB / 338.8 MB, free: 7.277 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001252/0.2886, allocations: 51.33 kB / 338.8 MB, free: 7.23 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/0.2886, allocations: 8 kB / 338.8 MB, free: 7.223 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/0.2886, allocations: 0 / 338.8 MB, free: 7.223 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/0.2886, allocations: 3.984 kB / 338.8 MB, free: 7.219 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002089/0.2907, allocations: 1.333 MB / 340.2 MB, free: 5.77 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.2907, allocations: 4 kB / 340.2 MB, free: 5.766 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004716/0.2912, allocations: 132.4 kB / 340.3 MB, free: 5.637 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.478e-06/0.2912, allocations: 7.938 kB / 340.3 MB, free: 5.629 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.364e-05/0.2913, allocations: 24 kB / 340.3 MB, free: 5.605 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.377e-06/0.2913, allocations: 11.92 kB / 340.3 MB, free: 5.594 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/0.2913, allocations: 8 kB / 340.4 MB, free: 5.586 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001287/0.2926, allocations: 0.8941 MB / 341.2 MB, free: 4.621 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.085e-05/0.2927, allocations: 116.7 kB / 341.4 MB, free: 4.488 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.202e-05/0.2928, allocations: 16 kB / 341.4 MB, free: 4.473 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002519/0.293, allocations: 43.86 kB / 341.4 MB, free: 4.43 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.769e-05/0.2931, allocations: 43.89 kB / 341.5 MB, free: 4.387 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.22e-05/0.2932, allocations: 23.98 kB / 341.5 MB, free: 4.363 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001067/0.2933, allocations: 148.5 kB / 341.6 MB, free: 4.219 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2933, allocations: 0 / 341.6 MB, free: 4.219 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003967/0.2937, allocations: 92 kB / 341.7 MB, free: 4.129 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 (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.0001729/0.2939, allocations: 123.1 kB / 341.8 MB, free: 4 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0008807/0.2947, allocations: 450.7 kB / 342.3 MB, free: 3.562 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.2948, allocations: 0 / 342.3 MB, free: 3.562 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00045/0.2952, allocations: 265.1 kB / 342.5 MB, free: 3.305 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007894/0.296, allocations: 75.91 kB / 342.6 MB, free: 3.23 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001807/0.2978, allocations: 1.256 MB / 343.9 MB, free: 1.891 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003315/0.2982, allocations: 0.7896 MB / 344.7 MB, free: 1.078 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001932/0.2984, allocations: 43.27 kB / 344.7 MB, free: 1.035 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.2985, allocations: 39.42 kB / 344.7 MB, free: 0.9961 MB / 270.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2985, allocations: 0 / 344.7 MB, free: 0.9961 MB / 270.1 MB Notification: Performance of Templates: time 0.007962/0.3065, allocations: 3.811 MB / 348.6 MB, free: 13.19 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)