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.00123/0.00123, allocations: 94.59 kB / 16.3 MB, free: 5.996 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.0009331/0.0009332, allocations: 187.2 kB / 17.2 MB, free: 5.91 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.654/1.654, allocations: 205.4 MB / 223.4 MB, free: 5.527 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.0004801/0.0004803, allocations: 12 kB / 280.1 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2677/0.2682, allocations: 47.58 MB / 327.7 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.002417/0.2706, allocations: 2.06 MB / 329.8 MB, free: 15.81 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007102/0.2713, allocations: 384.4 kB / 330.1 MB, free: 15.5 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001312/0.2715, allocations: 7.969 kB / 330.1 MB, free: 15.49 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 6.775e-05/0.2716, allocations: 31.44 kB / 330.2 MB, free: 15.46 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002359/0.2718, allocations: 117.1 kB / 330.3 MB, free: 15.37 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002656/0.2721, allocations: 68.39 kB / 330.4 MB, free: 15.31 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003327/0.2724, allocations: 258.2 kB / 330.6 MB, free: 15.15 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002152/0.2726, allocations: 81.11 kB / 330.7 MB, free: 15.1 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001669/0.2728, allocations: 109.8 kB / 330.8 MB, free: 15.05 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002307/0.2731, allocations: 149.3 kB / 330.9 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.794e-05/0.2731, allocations: 15.22 kB / 331 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.663e-05/0.2732, allocations: 15.88 kB / 331 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.728e-05/0.2733, allocations: 57.5 kB / 331 MB, free: 14.9 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.283e-05/0.2734, allocations: 75.39 kB / 331.1 MB, free: 14.85 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003142/0.2737, allocations: 258.9 kB / 331.3 MB, free: 14.66 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.2737, allocations: 3.938 kB / 331.4 MB, free: 14.66 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2737, allocations: 1.156 kB / 331.4 MB, free: 14.66 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.141e-05/0.2737, allocations: 0 / 331.4 MB, free: 14.66 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.001028/0.2747, allocations: 0.5952 MB / 331.9 MB, free: 14.14 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.2748, allocations: 9.219 kB / 332 MB, free: 14.14 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.899e-05/0.2749, allocations: 37.7 kB / 332 MB, free: 14.12 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003481/0.2752, allocations: 260.8 kB / 332.3 MB, free: 13.85 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.148e-05/0.2753, allocations: 24.17 kB / 332.3 MB, free: 13.84 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.936e-05/0.2754, allocations: 26.38 kB / 332.3 MB, free: 13.83 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006039/0.276, allocations: 281 kB / 332.6 MB, free: 13.66 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/0.276, allocations: 5.062 kB / 332.6 MB, free: 13.66 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3e-05/0.2761, allocations: 14.38 kB / 332.6 MB, free: 13.65 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/0.2761, allocations: 6.438 kB / 332.6 MB, free: 13.65 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006443/0.2767, allocations: 286.6 kB / 332.9 MB, free: 13.52 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00137/0.2781, allocations: 0.7942 MB / 333.7 MB, free: 12.88 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006614/0.2788, allocations: 367.5 kB / 334 MB, free: 12.68 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.391e-05/0.2788, allocations: 5.125 kB / 334 MB, free: 12.68 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.2789, allocations: 36.91 kB / 334.1 MB, free: 12.63 MB / 270.1 MB Notification: Performance of pre-optimization done (n=43): time 1.714e-06/0.2789, allocations: 4 kB / 334.1 MB, free: 12.63 MB / 270.1 MB Notification: Performance of matching and sorting (n=63): time 0.004139/0.283, allocations: 2.04 MB / 336.1 MB, free: 10.84 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/0.2831, allocations: 55.97 kB / 336.2 MB, free: 10.77 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001851/0.2833, allocations: 198.7 kB / 336.4 MB, free: 10.56 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.313e-05/0.2833, allocations: 37.7 kB / 336.4 MB, free: 10.52 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.2834, allocations: 152.9 kB / 336.6 MB, free: 10.36 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001464/0.2836, allocations: 220.8 kB / 336.8 MB, free: 10.14 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.026e-05/0.2836, allocations: 8 kB / 336.8 MB, free: 10.14 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.2837, allocations: 342.8 kB / 337.1 MB, free: 9.793 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003178/0.2841, allocations: 165 kB / 337.3 MB, free: 9.633 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003022/0.2844, allocations: 177 kB / 337.4 MB, free: 9.457 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003265/0.2847, allocations: 186.2 kB / 337.6 MB, free: 9.277 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.2847, allocations: 0 / 337.6 MB, free: 9.277 MB / 270.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0007752/0.2855, allocations: 498.6 kB / 338.1 MB, free: 8.785 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.2855, allocations: 4 kB / 338.1 MB, free: 8.781 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.2855, allocations: 4 kB / 338.1 MB, free: 8.777 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.2856, allocations: 0 / 338.1 MB, free: 8.777 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000462/0.286, allocations: 131.8 kB / 338.2 MB, free: 8.648 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.286, allocations: 0 / 338.2 MB, free: 8.648 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/0.2862, allocations: 35.97 kB / 338.3 MB, free: 8.613 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.379e-05/0.2863, allocations: 23.94 kB / 338.3 MB, free: 8.59 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 (elastoGap1.contact,elastoGap2.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001763/0.2865, allocations: 157.8 kB / 338.5 MB, free: 8.426 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.912e-05/0.2865, allocations: 31.62 kB / 338.5 MB, free: 8.395 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.486e-05/0.2866, allocations: 47.33 kB / 338.5 MB, free: 8.352 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.2866, allocations: 8 kB / 338.5 MB, free: 8.344 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.2867, allocations: 0 / 338.5 MB, free: 8.344 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/0.2867, allocations: 0 / 338.5 MB, free: 8.344 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001831/0.2885, allocations: 1.325 MB / 339.9 MB, free: 6.906 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.2885, allocations: 8 kB / 339.9 MB, free: 6.898 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004693/0.289, allocations: 132.4 kB / 340 MB, free: 6.77 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.826e-06/0.289, allocations: 8 kB / 340 MB, free: 6.762 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.172e-05/0.2891, allocations: 20 kB / 340 MB, free: 6.742 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-05/0.2891, allocations: 19.88 kB / 340.1 MB, free: 6.723 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.698e-06/0.2891, allocations: 4 kB / 340.1 MB, free: 6.719 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00137/0.2905, allocations: 1.111 MB / 341.2 MB, free: 5.422 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.373e-05/0.2906, allocations: 108.8 kB / 341.3 MB, free: 5.297 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.173e-05/0.2906, allocations: 23.95 kB / 341.3 MB, free: 5.273 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002541/0.2909, allocations: 31.98 kB / 341.3 MB, free: 5.242 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.417e-05/0.291, allocations: 51.83 kB / 341.4 MB, free: 5.191 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.788e-05/0.291, allocations: 23.94 kB / 341.4 MB, free: 5.168 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001089/0.2911, allocations: 144.4 kB / 341.5 MB, free: 5.027 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2911, allocations: 4 kB / 341.6 MB, free: 5.023 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003903/0.2915, allocations: 96 kB / 341.6 MB, free: 4.93 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000142/0.2917, allocations: 123 kB / 341.8 MB, free: 4.801 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0007844/0.2924, allocations: 447.1 kB / 342.2 MB, free: 4.363 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.2925, allocations: 4 kB / 342.2 MB, free: 4.359 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004175/0.2929, allocations: 260.5 kB / 342.5 MB, free: 4.105 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004983/0.2934, allocations: 72.03 kB / 342.5 MB, free: 4.035 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001851/0.2953, allocations: 1.193 MB / 343.7 MB, free: 2.754 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003867/0.2957, allocations: 0.8013 MB / 344.5 MB, free: 1.93 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001793/0.2958, allocations: 47.25 kB / 344.6 MB, free: 1.883 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.296, allocations: 39.38 kB / 344.6 MB, free: 1.844 MB / 270.1 MB Notification: Performance of SimCode: time 2.41e-07/0.296, allocations: 0 / 344.6 MB, free: 1.844 MB / 270.1 MB Notification: Performance of Templates: time 0.007501/0.3035, allocations: 3.647 MB / 348.3 MB, free: 14.2 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.ElastoGap.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: