Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Mechanics.Translational.Examples.ElastoGap") translateModel(Modelica.Mechanics.Translational.Examples.ElastoGap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.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.001153/0.001153, 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.001335/0.001336, 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.545/1.545, allocations: 205.1 MB / 222 MB, free: 4.758 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.001203/0.001203, allocations: 51.94 kB / 278 MB, free: 12.76 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.2898, allocations: 46.62 MB / 324.7 MB, free: 1.93 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.004237/0.2941, allocations: 2.635 MB / 327.3 MB, free: 15.84 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.000924/0.2951, allocations: 367.7 kB / 327.7 MB, free: 15.54 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001967/0.2953, allocations: 13.66 kB / 327.7 MB, free: 15.53 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002911/0.2957, allocations: 32.8 kB / 327.7 MB, free: 15.5 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002633/0.296, allocations: 85.02 kB / 327.8 MB, free: 15.43 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004097/0.2964, allocations: 74.81 kB / 327.9 MB, free: 15.37 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004297/0.2968, allocations: 368.5 kB / 328.2 MB, free: 15.15 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002848/0.2971, allocations: 96.64 kB / 328.3 MB, free: 15.09 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002249/0.2973, allocations: 126.6 kB / 328.4 MB, free: 15.03 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002476/0.2976, allocations: 161.1 kB / 328.6 MB, free: 14.92 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.742e-05/0.2977, allocations: 20.44 kB / 328.6 MB, free: 14.92 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.211e-05/0.2977, allocations: 23.03 kB / 328.6 MB, free: 14.91 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.109e-05/0.2978, allocations: 57.08 kB / 328.7 MB, free: 14.87 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001853/0.298, allocations: 156.7 kB / 328.9 MB, free: 14.77 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003774/0.2984, allocations: 358.4 kB / 329.2 MB, free: 14.5 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.2984, allocations: 0 / 329.2 MB, free: 14.5 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2984, allocations: 0 / 329.2 MB, free: 14.5 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.802e-06/0.2984, allocations: 0 / 329.2 MB, free: 14.5 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.001126/0.2995, allocations: 0.6221 MB / 329.8 MB, free: 13.95 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.2996, allocations: 9.125 kB / 329.8 MB, free: 13.95 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.5e-05/0.2997, allocations: 33.72 kB / 329.9 MB, free: 13.94 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003027/0.3, allocations: 270.8 kB / 330.1 MB, free: 13.66 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.464e-05/0.3001, allocations: 24.31 kB / 330.2 MB, free: 13.65 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.292e-05/0.3001, allocations: 35.75 kB / 330.2 MB, free: 13.63 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005733/0.3007, allocations: 269.2 kB / 330.5 MB, free: 13.47 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/0.3007, allocations: 5.438 kB / 330.5 MB, free: 13.46 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.259e-05/0.3008, allocations: 18.22 kB / 330.5 MB, free: 13.45 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.3008, allocations: 7.75 kB / 330.5 MB, free: 13.45 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006022/0.3014, allocations: 260.2 kB / 330.7 MB, free: 13.34 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001361/0.3028, allocations: 0.8002 MB / 331.5 MB, free: 12.68 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006471/0.3034, allocations: 348.8 kB / 331.9 MB, free: 12.5 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003594/0.3038, allocations: 198.8 kB / 332.1 MB, free: 12.4 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.766e-05/0.3039, allocations: 16.48 kB / 332.1 MB, free: 12.39 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.3039, allocations: 37.09 kB / 332.1 MB, free: 12.34 MB / 270.1 MB Notification: Performance of pre-optimization done (n=43): time 1.974e-06/0.3039, allocations: 0 / 332.1 MB, free: 12.34 MB / 270.1 MB Notification: Performance of matching and sorting (n=63): time 0.004285/0.3082, allocations: 1.962 MB / 334.1 MB, free: 10.48 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/0.3083, allocations: 59.95 kB / 334.1 MB, free: 10.4 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001701/0.3084, allocations: 194.8 kB / 334.3 MB, free: 10.2 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.081e-05/0.3085, allocations: 37.7 kB / 334.4 MB, free: 10.16 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.438e-05/0.3086, allocations: 145 kB / 334.5 MB, free: 10.01 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001255/0.3087, allocations: 220.8 kB / 334.7 MB, free: 9.789 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001289/0.3088, allocations: 94.25 kB / 334.8 MB, free: 9.691 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.3089, allocations: 346.7 kB / 335.2 MB, free: 9.344 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000313/0.3093, allocations: 157 kB / 335.3 MB, free: 9.191 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003275/0.3096, allocations: 173 kB / 335.5 MB, free: 9.02 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006648/0.3103, allocations: 380 kB / 335.9 MB, free: 8.648 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3103, allocations: 0 / 335.9 MB, free: 8.648 MB / 270.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008662/0.3111, allocations: 486.6 kB / 336.3 MB, free: 8.164 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/0.3112, allocations: 4 kB / 336.3 MB, free: 8.16 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.3112, allocations: 0 / 336.3 MB, free: 8.16 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-05/0.3112, allocations: 4 kB / 336.3 MB, free: 8.156 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005018/0.3117, allocations: 119.9 kB / 336.5 MB, free: 8.039 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/0.3118, allocations: 8 kB / 336.5 MB, free: 8.031 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002224/0.312, allocations: 27.92 kB / 336.5 MB, free: 8.004 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.481e-05/0.312, allocations: 19.94 kB / 336.5 MB, free: 7.984 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.0001996/0.3122, allocations: 157.7 kB / 336.7 MB, free: 7.82 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.525e-05/0.3123, allocations: 31.62 kB / 336.7 MB, free: 7.789 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001132/0.3124, allocations: 47.33 kB / 336.7 MB, free: 7.746 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.3124, allocations: 8 kB / 336.7 MB, free: 7.738 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.677e-05/0.3125, allocations: 0 / 336.7 MB, free: 7.738 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.3125, allocations: 7.984 kB / 336.8 MB, free: 7.73 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001988/0.3145, allocations: 1.321 MB / 338.1 MB, free: 6.297 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.3145, allocations: 4 kB / 338.1 MB, free: 6.293 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000483/0.315, allocations: 124.4 kB / 338.2 MB, free: 6.172 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.055e-05/0.315, allocations: 11.94 kB / 338.2 MB, free: 6.16 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.364e-05/0.315, allocations: 19.98 kB / 338.2 MB, free: 6.141 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.286e-06/0.3151, allocations: 11.94 kB / 338.2 MB, free: 6.129 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.3151, allocations: 8 kB / 338.3 MB, free: 6.121 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00121/0.3163, allocations: 0.8745 MB / 339.1 MB, free: 5.176 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.024e-05/0.3164, allocations: 116.7 kB / 339.2 MB, free: 5.043 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.252e-05/0.3164, allocations: 23.94 kB / 339.3 MB, free: 5.02 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002492/0.3167, allocations: 23.98 kB / 339.3 MB, free: 4.996 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.976e-05/0.3168, allocations: 51.81 kB / 339.3 MB, free: 4.945 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.531e-05/0.3168, allocations: 24 kB / 339.4 MB, free: 4.922 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001172/0.3169, allocations: 140.6 kB / 339.5 MB, free: 4.785 MB / 270.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.317, allocations: 0 / 339.5 MB, free: 4.785 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004208/0.3174, allocations: 96 kB / 339.6 MB, free: 4.691 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.0001418/0.3175, allocations: 115.1 kB / 339.7 MB, free: 4.57 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0008067/0.3183, allocations: 446.6 kB / 340.1 MB, free: 4.137 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.3184, allocations: 4 kB / 340.1 MB, free: 4.133 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004212/0.3188, allocations: 245.1 kB / 340.4 MB, free: 3.895 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006559/0.3194, allocations: 84.03 kB / 340.5 MB, free: 3.812 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001691/0.3211, allocations: 1.159 MB / 341.6 MB, free: 2.57 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003988/0.3216, allocations: 0.7896 MB / 342.4 MB, free: 1.758 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.00019/0.3218, 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.0001069/0.3219, allocations: 35.42 kB / 342.5 MB, free: 1.676 MB / 270.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3219, allocations: 4 kB / 342.5 MB, free: 1.672 MB / 270.1 MB Notification: Performance of Templates: time 0.00777/0.3297, allocations: 3.855 MB / 346.4 MB, free: 13.82 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.ElastoGap.makefile (rm -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Translational.Examples.ElastoGap.sim & ./Modelica_3.1_Modelica.Mechanics.Translational.Examples.ElastoGap -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe 2>&1)