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.001127/0.001128, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001137/0.001137, allocations: 194.2 kB / 16.13 MB, free: 6.66 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.564/1.564, allocations: 205.1 MB / 222 MB, free: 4.742 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.001175/0.001175, allocations: 51.94 kB / 278.1 MB, free: 12.76 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.2568, allocations: 46.62 MB / 324.7 MB, free: 1.934 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.002994/0.2598, allocations: 2.626 MB / 327.3 MB, free: 15.86 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005959/0.2605, allocations: 381.5 kB / 327.7 MB, free: 15.54 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/0.2606, allocations: 7.688 kB / 327.7 MB, free: 15.54 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001408/0.2607, allocations: 41.03 kB / 327.7 MB, free: 15.5 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000143/0.2609, allocations: 79.16 kB / 327.8 MB, free: 15.43 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002396/0.2611, allocations: 73.56 kB / 327.9 MB, free: 15.37 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002882/0.2614, allocations: 363.9 kB / 328.2 MB, free: 15.16 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001883/0.2616, allocations: 97.31 kB / 328.3 MB, free: 15.1 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.2618, allocations: 122.9 kB / 328.4 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001564/0.2619, allocations: 165.7 kB / 328.6 MB, free: 14.93 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.011e-05/0.262, allocations: 19.03 kB / 328.6 MB, free: 14.93 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.998e-05/0.262, allocations: 20.25 kB / 328.6 MB, free: 14.93 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.159e-05/0.2621, allocations: 60.62 kB / 328.7 MB, free: 14.88 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000135/0.2622, allocations: 156.6 kB / 328.8 MB, free: 14.77 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002933/0.2625, allocations: 357.2 kB / 329.2 MB, free: 14.51 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.2626, allocations: 1.125 kB / 329.2 MB, free: 14.51 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2626, allocations: 0 / 329.2 MB, free: 14.51 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.805e-06/0.2626, allocations: 0 / 329.2 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.001013/0.2636, allocations: 0.6179 MB / 329.8 MB, free: 13.96 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.2636, allocations: 9.5 kB / 329.8 MB, free: 13.96 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.056e-05/0.2637, allocations: 33.41 kB / 329.9 MB, free: 13.95 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002777/0.264, allocations: 270.4 kB / 330.1 MB, free: 13.67 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.141e-05/0.264, allocations: 25.09 kB / 330.1 MB, free: 13.66 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.917e-05/0.2641, allocations: 30.56 kB / 330.2 MB, free: 13.65 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005271/0.2646, allocations: 273.9 kB / 330.4 MB, free: 13.48 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.2647, allocations: 9.391 kB / 330.5 MB, free: 13.47 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.836e-05/0.2647, allocations: 14.38 kB / 330.5 MB, free: 13.46 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-06/0.2647, allocations: 6.875 kB / 330.5 MB, free: 13.46 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005509/0.2653, allocations: 269.8 kB / 330.7 MB, free: 13.34 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0013/0.2666, allocations: 0.7921 MB / 331.5 MB, free: 12.69 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005745/0.2672, allocations: 349.2 kB / 331.9 MB, free: 12.51 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003374/0.2675, allocations: 202.3 kB / 332.1 MB, free: 12.41 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.376e-05/0.2675, allocations: 3.844 kB / 332.1 MB, free: 12.41 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.2676, allocations: 32.81 kB / 332.1 MB, free: 12.37 MB / 270.1 MB Notification: Performance of pre-optimization done (n=43): time 1.413e-06/0.2676, allocations: 1.188 kB / 332.1 MB, free: 12.37 MB / 270.1 MB Notification: Performance of matching and sorting (n=63): time 0.003942/0.2715, allocations: 1.973 MB / 334.1 MB, free: 10.49 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.38e-05/0.2716, allocations: 55.97 kB / 334.1 MB, free: 10.42 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/0.2717, allocations: 194.8 kB / 334.3 MB, free: 10.21 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.184e-05/0.2718, allocations: 41.69 kB / 334.4 MB, free: 10.17 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.16e-05/0.2719, allocations: 145 kB / 334.5 MB, free: 10.02 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001364/0.272, allocations: 224.7 kB / 334.7 MB, free: 9.797 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/0.2722, allocations: 90.23 kB / 334.8 MB, free: 9.703 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.2723, allocations: 346.8 kB / 335.2 MB, free: 9.355 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003091/0.2726, allocations: 161 kB / 335.3 MB, free: 9.199 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003005/0.2729, allocations: 172.9 kB / 335.5 MB, free: 9.027 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006274/0.2735, allocations: 380 kB / 335.8 MB, free: 8.656 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.2736, allocations: 0 / 335.8 MB, free: 8.656 MB / 270.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0007696/0.2743, allocations: 482.7 kB / 336.3 MB, free: 8.176 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.2744, allocations: 4 kB / 336.3 MB, free: 8.172 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.2744, allocations: 3.984 kB / 336.3 MB, free: 8.168 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.2744, allocations: 4 kB / 336.3 MB, free: 8.164 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004566/0.2748, allocations: 123.8 kB / 336.5 MB, free: 8.043 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.2749, allocations: 11.92 kB / 336.5 MB, free: 8.031 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001892/0.2751, allocations: 19.98 kB / 336.5 MB, free: 8.012 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.426e-05/0.2751, allocations: 23.94 kB / 336.5 MB, free: 7.988 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.0001679/0.2753, allocations: 161.7 kB / 336.7 MB, free: 7.82 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.153e-05/0.2753, allocations: 31.62 kB / 336.7 MB, free: 7.789 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001005/0.2755, allocations: 43.34 kB / 336.7 MB, free: 7.75 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/0.2755, allocations: 12 kB / 336.8 MB, free: 7.738 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.2755, allocations: 0 / 336.8 MB, free: 7.738 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.2755, allocations: 3.984 kB / 336.8 MB, free: 7.734 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00191/0.2774, allocations: 1.321 MB / 338.1 MB, free: 6.301 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.2774, allocations: 4 kB / 338.1 MB, free: 6.297 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004699/0.2779, allocations: 127.8 kB / 338.2 MB, free: 6.172 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-05/0.2779, allocations: 11.94 kB / 338.2 MB, free: 6.16 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.894e-05/0.278, allocations: 19.98 kB / 338.2 MB, free: 6.141 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.655e-06/0.278, allocations: 8 kB / 338.2 MB, free: 6.133 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.278, allocations: 7.938 kB / 338.3 MB, free: 6.125 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001218/0.2792, allocations: 0.8783 MB / 339.1 MB, free: 5.176 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.455e-05/0.2793, allocations: 112.7 kB / 339.2 MB, free: 5.047 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.962e-05/0.2794, allocations: 16 kB / 339.3 MB, free: 5.031 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002401/0.2796, allocations: 28.02 kB / 339.3 MB, free: 5.004 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.675e-05/0.2797, allocations: 51.83 kB / 339.3 MB, free: 4.953 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.932e-05/0.2797, allocations: 24 kB / 339.4 MB, free: 4.93 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001034/0.2798, allocations: 136.6 kB / 339.5 MB, free: 4.797 MB / 270.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2799, allocations: 0 / 339.5 MB, free: 4.797 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003998/0.2803, allocations: 100 kB / 339.6 MB, free: 4.699 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.0001286/0.2804, allocations: 119 kB / 339.7 MB, free: 4.574 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0007423/0.2811, allocations: 438.6 kB / 340.1 MB, free: 4.148 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.2812, allocations: 4 kB / 340.1 MB, free: 4.145 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003982/0.2816, allocations: 252.8 kB / 340.4 MB, free: 3.898 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006196/0.2822, allocations: 84.84 kB / 340.5 MB, free: 3.816 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001613/0.2838, allocations: 1.159 MB / 341.6 MB, free: 2.574 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003687/0.2842, allocations: 0.7935 MB / 342.4 MB, free: 1.758 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0002088/0.2844, allocations: 47.27 kB / 342.5 MB, free: 1.711 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.2845, allocations: 31.44 kB / 342.5 MB, free: 1.68 MB / 270.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2845, allocations: 4 kB / 342.5 MB, free: 1.676 MB / 270.1 MB Notification: Performance of Templates: time 0.007539/0.2921, allocations: 3.851 MB / 346.4 MB, free: 13.82 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)