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.001055/0.001055, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 198 kB / 16.54 MB, free: 6.672 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.455/1.455, allocations: 205.1 MB / 222.4 MB, free: 4.633 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.00137/0.001371, allocations: 47.94 kB / 278.7 MB, free: 12.38 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.257, allocations: 46.64 MB / 325.3 MB, free: 1.848 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.003499/0.2606, allocations: 2.585 MB / 327.9 MB, free: 15.79 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008783/0.2615, allocations: 376.2 kB / 328.3 MB, free: 15.48 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000198/0.2617, allocations: 13.12 kB / 328.3 MB, free: 15.47 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002224/0.262, allocations: 47.39 kB / 328.3 MB, free: 15.43 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001767/0.2621, allocations: 98.45 kB / 328.4 MB, free: 15.34 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000303/0.2625, allocations: 90.95 kB / 328.5 MB, free: 15.27 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003668/0.2628, allocations: 383.2 kB / 328.9 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002409/0.2631, allocations: 103.5 kB / 329 MB, free: 14.98 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001702/0.2633, allocations: 139.6 kB / 329.1 MB, free: 14.91 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003182/0.2636, allocations: 174 kB / 329.3 MB, free: 14.79 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.892e-05/0.2637, allocations: 33.56 kB / 329.3 MB, free: 14.78 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.599e-05/0.2638, allocations: 30.38 kB / 329.3 MB, free: 14.78 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.178e-05/0.2639, allocations: 68.55 kB / 329.4 MB, free: 14.72 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001934/0.2641, allocations: 169 kB / 329.6 MB, free: 14.61 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003964/0.2645, allocations: 371.3 kB / 329.9 MB, free: 14.34 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.2645, allocations: 1.156 kB / 329.9 MB, free: 14.34 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2645, allocations: 0 / 329.9 MB, free: 14.34 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.2645, allocations: 0 / 329.9 MB, free: 14.34 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.001241/0.2658, allocations: 0.622 MB / 330.6 MB, free: 13.79 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.2658, allocations: 8.656 kB / 330.6 MB, free: 13.79 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.46e-05/0.2659, allocations: 38.38 kB / 330.6 MB, free: 13.77 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004187/0.2664, allocations: 270.4 kB / 330.9 MB, free: 13.49 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.691e-05/0.2664, allocations: 24.16 kB / 330.9 MB, free: 13.48 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.961e-05/0.2665, allocations: 31.5 kB / 330.9 MB, free: 13.47 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005834/0.2671, allocations: 273.4 kB / 331.2 MB, free: 13.3 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/0.2671, allocations: 6.219 kB / 331.2 MB, free: 13.3 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.36e-05/0.2671, allocations: 14.28 kB / 331.2 MB, free: 13.29 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.2672, allocations: 10.77 kB / 331.2 MB, free: 13.29 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006374/0.2678, allocations: 264.8 kB / 331.5 MB, free: 13.16 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001435/0.2692, allocations: 0.7928 MB / 332.3 MB, free: 12.52 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007/0.27, allocations: 343.6 kB / 332.6 MB, free: 12.34 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003749/0.2704, allocations: 198.5 kB / 332.8 MB, free: 12.24 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.87e-05/0.2704, allocations: 12.59 kB / 332.8 MB, free: 12.23 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.2704, allocations: 33.97 kB / 332.9 MB, free: 12.19 MB / 270.1 MB Notification: Performance of pre-optimization done (n=43): time 2.715e-06/0.2704, allocations: 3.938 kB / 332.9 MB, free: 12.19 MB / 270.1 MB Notification: Performance of matching and sorting (n=63): time 0.004852/0.2753, allocations: 1.964 MB / 334.8 MB, free: 10.15 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.2754, allocations: 59.97 kB / 334.9 MB, free: 10.08 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002091/0.2756, allocations: 198.8 kB / 335.1 MB, free: 9.871 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.283e-05/0.2756, allocations: 33.7 kB / 335.1 MB, free: 9.832 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.2757, allocations: 149 kB / 335.3 MB, free: 9.68 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001521/0.2759, allocations: 212.8 kB / 335.5 MB, free: 9.469 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000139/0.2761, allocations: 90.25 kB / 335.5 MB, free: 9.371 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.2762, allocations: 350.7 kB / 335.9 MB, free: 9.02 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003275/0.2765, allocations: 165 kB / 336.1 MB, free: 8.859 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004168/0.277, allocations: 173 kB / 336.2 MB, free: 8.691 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007948/0.2778, allocations: 376 kB / 336.6 MB, free: 8.32 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.2778, allocations: 0 / 336.6 MB, free: 8.32 MB / 270.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008526/0.2787, allocations: 490.6 kB / 337.1 MB, free: 7.836 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.2787, allocations: 4 kB / 337.1 MB, free: 7.832 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.2787, allocations: 0 / 337.1 MB, free: 7.832 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.2787, allocations: 7.984 kB / 337.1 MB, free: 7.824 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004864/0.2792, allocations: 123.8 kB / 337.2 MB, free: 7.703 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.2792, allocations: 4 kB / 337.2 MB, free: 7.699 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002099/0.2795, allocations: 19.98 kB / 337.2 MB, free: 7.68 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.59e-05/0.2795, allocations: 27.94 kB / 337.2 MB, free: 7.652 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.0001608/0.2797, allocations: 157.7 kB / 337.4 MB, free: 7.488 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.546e-05/0.2797, allocations: 31.62 kB / 337.4 MB, free: 7.457 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001023/0.2798, allocations: 51.33 kB / 337.5 MB, free: 7.41 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.2799, allocations: 4 kB / 337.5 MB, free: 7.406 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.2799, allocations: 0 / 337.5 MB, free: 7.406 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/0.2799, allocations: 3.984 kB / 337.5 MB, free: 7.402 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002038/0.2819, allocations: 1.325 MB / 338.8 MB, free: 5.961 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/0.2819, allocations: 4 kB / 338.8 MB, free: 5.957 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004974/0.2825, allocations: 119.8 kB / 338.9 MB, free: 5.84 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.642e-05/0.2825, allocations: 11.94 kB / 338.9 MB, free: 5.828 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.202e-05/0.2825, allocations: 24.55 kB / 339 MB, free: 5.805 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.776e-06/0.2825, allocations: 12 kB / 339 MB, free: 5.793 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.844e-06/0.2826, allocations: 7.938 kB / 339 MB, free: 5.785 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001392/0.284, allocations: 0.8745 MB / 339.9 MB, free: 4.84 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.859e-05/0.2841, allocations: 112.7 kB / 340 MB, free: 4.711 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.693e-05/0.2841, allocations: 16 kB / 340 MB, free: 4.695 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002945/0.2844, allocations: 27.98 kB / 340 MB, free: 4.668 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.2846, allocations: 55.81 kB / 340.1 MB, free: 4.613 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-05/0.2846, allocations: 20 kB / 340.1 MB, free: 4.594 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.00012/0.2847, allocations: 140.4 kB / 340.2 MB, free: 4.457 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2847, allocations: 4 kB / 340.2 MB, free: 4.453 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004118/0.2851, allocations: 100 kB / 340.3 MB, free: 4.355 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.0001471/0.2853, allocations: 119.1 kB / 340.4 MB, free: 4.23 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001016/0.2863, allocations: 466.5 kB / 340.9 MB, free: 3.773 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.2863, allocations: 4 kB / 340.9 MB, free: 3.77 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004543/0.2868, allocations: 248 kB / 341.2 MB, free: 3.527 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007474/0.2876, allocations: 93.03 kB / 341.2 MB, free: 3.438 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001834/0.2894, allocations: 1.018 MB / 342.3 MB, free: 2.336 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003436/0.2898, allocations: 0.7894 MB / 343 MB, free: 1.523 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001954/0.29, allocations: 43.27 kB / 343.1 MB, free: 1.48 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.2901, allocations: 43.36 kB / 343.1 MB, free: 1.438 MB / 270.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2901, allocations: 0 / 343.1 MB, free: 1.438 MB / 270.1 MB Notification: Performance of Templates: time 0.008879/0.299, allocations: 4.1 MB / 347.2 MB, free: 13.34 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)