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.001305/0.001306, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001355/0.001355, allocations: 193 kB / 16.25 MB, free: 6.625 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.51/1.51, allocations: 205.1 MB / 222.1 MB, free: 4.738 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.001126/0.001126, allocations: 51.94 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2949/0.2961, allocations: 46.62 MB / 324.8 MB, free: 1.945 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.003379/0.2995, allocations: 2.64 MB / 327.5 MB, free: 15.86 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006526/0.3001, allocations: 371.2 kB / 327.8 MB, free: 15.55 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001242/0.3003, allocations: 8.938 kB / 327.9 MB, free: 15.54 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001536/0.3005, allocations: 36.84 kB / 327.9 MB, free: 15.51 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001747/0.3006, allocations: 85.66 kB / 328 MB, free: 15.44 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002948/0.3009, allocations: 78.64 kB / 328 MB, free: 15.37 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000426/0.3014, allocations: 372.5 kB / 328.4 MB, free: 15.16 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002772/0.3017, allocations: 122.6 kB / 328.5 MB, free: 15.08 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002121/0.3019, allocations: 140.2 kB / 328.7 MB, free: 15 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001997/0.3021, allocations: 165.1 kB / 328.8 MB, free: 14.89 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.789e-05/0.3022, allocations: 30.59 kB / 328.9 MB, free: 14.89 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.792e-05/0.3022, allocations: 29.94 kB / 328.9 MB, free: 14.89 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.948e-05/0.3023, allocations: 69.36 kB / 329 MB, free: 14.83 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001617/0.3025, allocations: 160.1 kB / 329.1 MB, free: 14.73 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003721/0.3028, allocations: 376.2 kB / 329.5 MB, free: 14.45 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3028, allocations: 0 / 329.5 MB, free: 14.45 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3029, allocations: 0 / 329.5 MB, free: 14.45 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.3029, allocations: 0 / 329.5 MB, free: 14.45 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.001277/0.3042, allocations: 0.6295 MB / 330.1 MB, free: 13.89 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.3042, allocations: 9.781 kB / 330.1 MB, free: 13.89 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.678e-05/0.3043, allocations: 34.19 kB / 330.2 MB, free: 13.88 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000333/0.3046, allocations: 262.1 kB / 330.4 MB, free: 13.61 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.948e-05/0.3047, allocations: 25.16 kB / 330.4 MB, free: 13.6 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.726e-05/0.3048, allocations: 26.84 kB / 330.5 MB, free: 13.59 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006107/0.3054, allocations: 277.6 kB / 330.7 MB, free: 13.42 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.639e-05/0.3054, allocations: 13.22 kB / 330.7 MB, free: 13.41 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.306e-05/0.3055, allocations: 14.62 kB / 330.8 MB, free: 13.4 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.3055, allocations: 6.625 kB / 330.8 MB, free: 13.4 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006797/0.3062, allocations: 264.9 kB / 331 MB, free: 13.28 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001389/0.3076, allocations: 0.7927 MB / 331.8 MB, free: 12.63 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006517/0.3082, allocations: 360.9 kB / 332.2 MB, free: 12.43 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003559/0.3086, allocations: 193.7 kB / 332.4 MB, free: 12.34 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.231e-05/0.3086, allocations: 5.031 kB / 332.4 MB, free: 12.34 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.3087, allocations: 36.44 kB / 332.4 MB, free: 12.3 MB / 270.1 MB Notification: Performance of pre-optimization done (n=43): time 4.599e-06/0.3087, allocations: 4 kB / 332.4 MB, free: 12.29 MB / 270.1 MB Notification: Performance of matching and sorting (n=63): time 0.004262/0.313, allocations: 1.962 MB / 334.4 MB, free: 10.33 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.313, allocations: 59.97 kB / 334.4 MB, free: 10.26 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001898/0.3132, allocations: 198.8 kB / 334.6 MB, free: 10.05 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.508e-05/0.3133, allocations: 33.7 kB / 334.6 MB, free: 10.01 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.3134, allocations: 157 kB / 334.8 MB, free: 9.852 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001591/0.3135, allocations: 212.8 kB / 335 MB, free: 9.641 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001377/0.3137, allocations: 94.23 kB / 335.1 MB, free: 9.539 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002622/0.314, allocations: 342.8 kB / 335.4 MB, free: 9.195 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003066/0.3143, allocations: 165 kB / 335.6 MB, free: 9.035 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002995/0.3146, allocations: 165 kB / 335.8 MB, free: 8.875 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006928/0.3153, allocations: 387.9 kB / 336.1 MB, free: 8.492 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3153, allocations: 0 / 336.1 MB, free: 8.492 MB / 270.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0007789/0.3161, allocations: 486.6 kB / 336.6 MB, free: 8.012 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.3161, allocations: 4 kB / 336.6 MB, free: 8.008 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.3161, allocations: 0 / 336.6 MB, free: 8.008 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.3161, allocations: 8 kB / 336.6 MB, free: 8 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000452/0.3166, allocations: 123.8 kB / 336.7 MB, free: 7.879 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.3166, allocations: 4 kB / 336.7 MB, free: 7.875 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001936/0.3168, allocations: 19.98 kB / 336.8 MB, free: 7.855 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.14e-05/0.3169, allocations: 19.94 kB / 336.8 MB, free: 7.836 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.0001692/0.317, allocations: 157.8 kB / 336.9 MB, free: 7.672 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.748e-05/0.3171, allocations: 31.62 kB / 337 MB, free: 7.641 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001002/0.3172, allocations: 51.34 kB / 337 MB, free: 7.594 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.3172, allocations: 4 kB / 337 MB, free: 7.59 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.3172, allocations: 0 / 337 MB, free: 7.59 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.3172, allocations: 3.984 kB / 337 MB, free: 7.586 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001955/0.3192, allocations: 1.329 MB / 338.4 MB, free: 6.141 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.3192, allocations: 4 kB / 338.4 MB, free: 6.137 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004747/0.3197, allocations: 123.8 kB / 338.5 MB, free: 6.016 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.818e-06/0.3197, allocations: 11.94 kB / 338.5 MB, free: 6.004 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.452e-05/0.3198, allocations: 16 kB / 338.5 MB, free: 5.988 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.717e-06/0.3198, allocations: 11.94 kB / 338.5 MB, free: 5.977 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.112e-06/0.3198, allocations: 4 kB / 338.5 MB, free: 5.973 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00127/0.3211, allocations: 0.8901 MB / 339.4 MB, free: 5.012 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.18e-05/0.3212, allocations: 112.7 kB / 339.5 MB, free: 4.883 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.538e-05/0.3212, allocations: 20.03 kB / 339.5 MB, free: 4.863 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002457/0.3215, allocations: 23.98 kB / 339.6 MB, free: 4.84 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.158e-05/0.3216, allocations: 51.83 kB / 339.6 MB, free: 4.789 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.832e-05/0.3216, allocations: 20 kB / 339.6 MB, free: 4.77 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001174/0.3217, allocations: 140.6 kB / 339.8 MB, free: 4.633 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3217, allocations: 0 / 339.8 MB, free: 4.633 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003856/0.3221, allocations: 96 kB / 339.9 MB, free: 4.539 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.0001658/0.3223, allocations: 119 kB / 340 MB, free: 4.414 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.000909/0.3232, allocations: 470.6 kB / 340.4 MB, free: 3.957 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3232, allocations: 3.938 kB / 340.5 MB, free: 3.953 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004028/0.3237, allocations: 257 kB / 340.7 MB, free: 3.703 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007132/0.3244, allocations: 79.88 kB / 340.8 MB, free: 3.625 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001836/0.3262, allocations: 1.162 MB / 341.9 MB, free: 2.379 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003855/0.3266, allocations: 0.7894 MB / 342.7 MB, free: 1.566 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.000207/0.3268, allocations: 51.25 kB / 342.8 MB, free: 1.516 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.3269, allocations: 39.42 kB / 342.8 MB, free: 1.477 MB / 270.1 MB Notification: Performance of SimCode: time 4.91e-07/0.327, allocations: 4 kB / 342.8 MB, free: 1.473 MB / 270.1 MB Notification: Performance of Templates: time 0.007641/0.3346, allocations: 4.042 MB / 346.9 MB, free: 13.43 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)